public class ResourcesUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Domain |
domain |
protected Resources |
resources |
public Resources getGlobalResources()
public Resources getResources(ResourceInfo resourceInfo)
public String getApplicationDeployLocation(String appName)
appName - application namepublic boolean belongToStandAloneRar(String resourceAdapterName)
public static ResourcesUtil createInstance()
public DeferredResourceConfig getDeferredResourceConfig(Object resource, Object pool, String resType, String raName) throws ConnectorRuntimeException
ConnectorRuntimeExceptionprotected String getCorrespondingCmpResourceName(ResourceInfo resourceInfo)
public boolean isReferenced(ResourceInfo resourceInfo)
resourceInfo - the name of the resourcepublic boolean isEnabled(Application application)
public boolean isEnabled(Resource resource)
public boolean isEnabled(ResourcePool pool)
public boolean isEnabled(BindableResource br, ResourceInfo resourceInfo)
public boolean isEnabled(BindableResource br)
public Collection<AdminObjectResource> getEnabledAdminObjectResources(String raName)
public Collection<AdminObjectResource> getEnabledAdminObjectResources(String raName, Resources resources)
public String getResourceType(ConfigBeanProxy cb)
jndiName - the jndi name of the JDBC resource to lookupcheckReference - if true, returns this JDBC resource only if it is referenced in
this server. If false, returns the JDBC resource irrespective of
whether it is referenced or not.public ConnectorDescriptor getConnectorDescriptorFromUri(String rarName, String raLoc)
public boolean isPoolReferredInServerInstance(PoolInfo poolInfo)
poolInfo - pool-namepublic ResourcePool getPoolConfig(PoolInfo poolInfo)
public ConnectorConnectionPool getConnectorConnectionPoolOfResource(ResourceInfo resourceInfo)
public boolean isRARResource(Resource resource)
public Resource getResource(ResourceInfo resourceInfo, Class resourceType)
public Resource getResource(String jndiName, String appName, String moduleName, Class resourceType)
public Collection<Resource> filterConnectorResources(Resources allResources, String moduleName, boolean includePools)
Copyright © 2020. All rights reserved.