public static Cluster getClusterScope ( Config config , boolean create ) throws PageException { if ( cluster == null && create ) { cluster = ( ( ConfigImpl ) config ) . createClusterScope ( ) ; } return cluster ; }
Returns the current Cluster Scope if there is no current Cluster Scope and create is true returns a new Cluster Scope . If create is false and the request has no valid Cluster Scope this method returns null .