|
Java EE 5 SDK | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sun.appserv.management.helper.RefHelper
public class RefHelper
Helper routines for references. This class should only be used in EE builds.
| Method Summary | ||
|---|---|---|
static Set<ClusterRefConfig> |
findAllClusterRefConfigs(QueryMgr queryMgr)
Find all ClusterRefConfig. |
|
static Set<DeployedItemRefConfig> |
findAllDeployedItemRefConfigs(QueryMgr queryMgr)
Find all DeployedItemRefConfig. |
|
static Set<ClusterRefConfig> |
findAllRefConfigs(ClusterRefConfigReferent referent)
Find all ClusterRefConfig that reference
the specified item. |
|
static Set<DeployedItemRefConfig> |
findAllRefConfigs(DeployedItemRefConfigReferent referent)
Find all DeployedItemRefConfig that reference
the specified item. |
|
static
|
findAllRefConfigs(QueryMgr queryMgr)
Find all ref configs of any j2EEType |
|
static
|
findAllRefConfigs(RefConfigReferent referent)
Find all RefConfig that reference the specified j2eeType/name
combo. |
|
static
|
findAllRefConfigs(RefConfigReferent referent,
String refJ2EEType)
Find all RefConfig that reference the specified j2eeType/name
combo. |
|
static Set<ResourceRefConfig> |
findAllRefConfigs(ResourceRefConfigReferent referent)
Find all ResourceRefConfig that reference
the specified item. |
|
static Set<ServerRefConfig> |
findAllRefConfigs(ServerRefConfigReferent referent)
Find all ServerRefConfig that reference
the specified item. |
|
static
|
findAllRefConfigsByJ2EEType(QueryMgr queryMgr,
String refJ2EEType)
Find all ref configs of the specified j2EEType |
|
static
|
findAllRefConfigsWithName(QueryMgr queryMgr,
String refJ2EEType,
String name)
Find all RefConfig of the specified j2EEType having
the specified name. |
|
static Set<ResourceRefConfig> |
findAllResourceRefConfigs(QueryMgr queryMgr)
Find all ResourceRefConfig. |
|
static Set<ServerRefConfig> |
findAllServerRefConfigs(QueryMgr queryMgr)
Find all ServerRefConfig. |
|
static Set<String> |
getReferentJ2EETypes()
|
|
static String |
getReferentRefJ2EEType(RefConfigReferent referent)
|
|
static
|
removeAllRefsTo(RefConfigReferent item,
boolean allowSingleFailure)
|
|
static
|
removeRefConfigs(Set<T> refs)
Remove all specified references (that are possible). |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static <T extends RefConfig> Set<T> findAllRefConfigs(QueryMgr queryMgr)
RefConfig found.
public static <T extends RefConfig> Set<T> findAllRefConfigsByJ2EEType(QueryMgr queryMgr,
String refJ2EEType)
RefConfig found.public static Set<ResourceRefConfig> findAllResourceRefConfigs(QueryMgr queryMgr)
ResourceRefConfig.
ResourceRefConfig found.public static Set<DeployedItemRefConfig> findAllDeployedItemRefConfigs(QueryMgr queryMgr)
DeployedItemRefConfig.
DeployedItemRefConfig found.public static Set<ServerRefConfig> findAllServerRefConfigs(QueryMgr queryMgr)
ServerRefConfig.
ServerRefConfig found.public static Set<ClusterRefConfig> findAllClusterRefConfigs(QueryMgr queryMgr)
ClusterRefConfig.
ClusterRefConfig found.
public static <T extends RefConfig> Set<T> findAllRefConfigsWithName(QueryMgr queryMgr,
String refJ2EEType,
String name)
RefConfig of the specified j2EEType having
the specified name.
RefConfig found with the specified name.public static String getReferentRefJ2EEType(RefConfigReferent referent)
public static Set<String> getReferentJ2EETypes()
public static <T extends RefConfig> Set<T> findAllRefConfigs(RefConfigReferent referent)
RefConfig that reference the specified j2eeType/name
combo.
public static <T extends RefConfig> Set<T> findAllRefConfigs(RefConfigReferent referent,
String refJ2EEType)
RefConfig that reference the specified j2eeType/name
combo.
public static Set<DeployedItemRefConfig> findAllRefConfigs(DeployedItemRefConfigReferent referent)
DeployedItemRefConfig that reference
the specified item.
public static Set<ResourceRefConfig> findAllRefConfigs(ResourceRefConfigReferent referent)
ResourceRefConfig that reference
the specified item.
public static Set<ServerRefConfig> findAllRefConfigs(ServerRefConfigReferent referent)
ServerRefConfig that reference
the specified item.
public static Set<ClusterRefConfig> findAllRefConfigs(ClusterRefConfigReferent referent)
ClusterRefConfig that reference
the specified item.
public static <T extends RefConfig> Set<T> removeAllRefsTo(RefConfigReferent item,
boolean allowSingleFailure)
public static <T extends RefConfig> Set<T> removeRefConfigs(Set<T> refs)
|
Java EE 5 SDK | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright 2006 Sun Microsystems, Inc. All rights reserved.