Class ConnectorWorkSecurityMapDeployer
- java.lang.Object
-
- org.glassfish.resources.api.GlobalResourceDeployer
-
- com.sun.enterprise.resource.deployer.AbstractConnectorResourceDeployer
-
- com.sun.enterprise.resource.deployer.ConnectorWorkSecurityMapDeployer
-
- All Implemented Interfaces:
ResourceDeployer
@Service @Singleton public class ConnectorWorkSecurityMapDeployer extends AbstractConnectorResourceDeployer
-
-
Constructor Summary
Constructors Constructor Description ConnectorWorkSecurityMapDeployer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
deployResource(Object resoure)
Deploy the resource into the server's runtime naming contextvoid
deployResource(Object resource, String applicationName, String moduleName)
Deploy the resource into the server's runtime naming context This API is used in cases where the "config" bean is not yet persisted in domain.xml and is part of the "config" transaction.void
disableResource(Object resoure)
Disable the resource in the server's runtime naming contextvoid
enableResource(Object resoure)
Enable the resource in the server's runtime naming contextClass[]
getProxyClassesForDynamicReconfiguration()
List of classes which need to be proxied for dynamic-reconfigurationboolean
handles(Object resource)
Indicates whether a particular resource deployer can handle the resource in questionvoid
redeployResource(Object resource)
Redeploy the resource into the server's runtime naming contextboolean
supportsDynamicReconfiguration()
Indicates whether the resource deployer can handle transparent-dynamic-reconfiguration of resourcevoid
undeployResource(Object resoure)
Undeploy the resource from the server's runtime naming contextvoid
undeployResource(Object resource, String applicationName, String moduleName)
Undeploy the resource from the server's runtime naming context-
Methods inherited from class com.sun.enterprise.resource.deployer.AbstractConnectorResourceDeployer
canDeploy, validatePreservedResource, validateResourcesForStaleReference
-
-
-
-
Method Detail
-
deployResource
public void deployResource(Object resource, String applicationName, String moduleName) throws Exception
Description copied from interface:ResourceDeployer
Deploy the resource into the server's runtime naming context This API is used in cases where the "config" bean is not yet persisted in domain.xml and is part of the "config" transaction.- Parameters:
resource
- a resource object (eg. JmsResource)applicationName
- application-namemoduleName
- module-name- Throws:
Exception
- thrown if fail
-
deployResource
public void deployResource(Object resoure) throws Exception
Description copied from interface:ResourceDeployer
Deploy the resource into the server's runtime naming context- Parameters:
resoure
- a resource object (eg. JmsResource)- Throws:
Exception
- thrown if fail
-
undeployResource
public void undeployResource(Object resoure) throws Exception
Description copied from interface:ResourceDeployer
Undeploy the resource from the server's runtime naming context- Parameters:
resoure
- a resource object (eg. JmsResource)- Throws:
Exception
- thrown if fail
-
undeployResource
public void undeployResource(Object resource, String applicationName, String moduleName) throws Exception
Description copied from interface:ResourceDeployer
Undeploy the resource from the server's runtime naming context- Parameters:
resource
- a resource object (eg. JmsResource)applicationName
- application-namemoduleName
- module-name- Throws:
Exception
- thrown if fail
-
redeployResource
public void redeployResource(Object resource) throws Exception
Description copied from interface:ResourceDeployer
Redeploy the resource into the server's runtime naming context- Parameters:
resource
- a resource object- Throws:
Exception
- thrown if fail
-
enableResource
public void enableResource(Object resoure) throws Exception
Description copied from interface:ResourceDeployer
Enable the resource in the server's runtime naming context- Parameters:
resoure
- a resource object (eg. JmsResource)- Throws:
Exception
- thrown if fail
-
disableResource
public void disableResource(Object resoure) throws Exception
Description copied from interface:ResourceDeployer
Disable the resource in the server's runtime naming context- Parameters:
resoure
- a resource object (eg. JmsResource)- Throws:
Exception
- thrown if fail
-
handles
public boolean handles(Object resource)
Description copied from interface:ResourceDeployer
Indicates whether a particular resource deployer can handle the resource in question- Parameters:
resource
- resource that need to be handled- Returns:
- boolean
-
supportsDynamicReconfiguration
public boolean supportsDynamicReconfiguration()
Description copied from interface:ResourceDeployer
Indicates whether the resource deployer can handle transparent-dynamic-reconfiguration of resource- Returns:
- boolean indicating whether transparent-dynamic-reconfiguration is supported.
-
getProxyClassesForDynamicReconfiguration
public Class[] getProxyClassesForDynamicReconfiguration()
Description copied from interface:ResourceDeployer
List of classes which need to be proxied for dynamic-reconfiguration- Returns:
- list of classes
-
-