Class ContextServiceDefinitionDeployer

java.lang.Object
org.glassfish.concurrent.runtime.deployer.ContextServiceDefinitionDeployer
All Implemented Interfaces:
org.glassfish.resourcebase.resources.api.ResourceDeployer<com.sun.enterprise.deployment.ContextServiceDefinitionDescriptor>

@Service public class ContextServiceDefinitionDeployer extends Object implements org.glassfish.resourcebase.resources.api.ResourceDeployer<com.sun.enterprise.deployment.ContextServiceDefinitionDescriptor>
Author:
David Matejcek
  • Constructor Details

    • ContextServiceDefinitionDeployer

      public ContextServiceDefinitionDeployer()
  • Method Details

    • deployResource

      public void deployResource(com.sun.enterprise.deployment.ContextServiceDefinitionDescriptor resource) throws Exception
      Specified by:
      deployResource in interface org.glassfish.resourcebase.resources.api.ResourceDeployer<com.sun.enterprise.deployment.ContextServiceDefinitionDescriptor>
      Throws:
      Exception
    • deployResource

      public void deployResource(com.sun.enterprise.deployment.ContextServiceDefinitionDescriptor resource, String applicationName, String moduleName) throws Exception
      Specified by:
      deployResource in interface org.glassfish.resourcebase.resources.api.ResourceDeployer<com.sun.enterprise.deployment.ContextServiceDefinitionDescriptor>
      Throws:
      Exception
    • undeployResource

      public void undeployResource(com.sun.enterprise.deployment.ContextServiceDefinitionDescriptor resource) throws Exception
      Specified by:
      undeployResource in interface org.glassfish.resourcebase.resources.api.ResourceDeployer<com.sun.enterprise.deployment.ContextServiceDefinitionDescriptor>
      Throws:
      Exception
    • undeployResource

      public void undeployResource(com.sun.enterprise.deployment.ContextServiceDefinitionDescriptor resource, String applicationName, String moduleName) throws Exception
      Specified by:
      undeployResource in interface org.glassfish.resourcebase.resources.api.ResourceDeployer<com.sun.enterprise.deployment.ContextServiceDefinitionDescriptor>
      Throws:
      Exception
    • redeployResource

      public void redeployResource(com.sun.enterprise.deployment.ContextServiceDefinitionDescriptor resource) throws Exception
      Specified by:
      redeployResource in interface org.glassfish.resourcebase.resources.api.ResourceDeployer<com.sun.enterprise.deployment.ContextServiceDefinitionDescriptor>
      Throws:
      Exception
    • enableResource

      public void enableResource(com.sun.enterprise.deployment.ContextServiceDefinitionDescriptor resource) throws Exception
      Specified by:
      enableResource in interface org.glassfish.resourcebase.resources.api.ResourceDeployer<com.sun.enterprise.deployment.ContextServiceDefinitionDescriptor>
      Throws:
      Exception
    • disableResource

      public void disableResource(com.sun.enterprise.deployment.ContextServiceDefinitionDescriptor resource) throws Exception
      Specified by:
      disableResource in interface org.glassfish.resourcebase.resources.api.ResourceDeployer<com.sun.enterprise.deployment.ContextServiceDefinitionDescriptor>
      Throws:
      Exception
    • handles

      public boolean handles(Object resource)
      Specified by:
      handles in interface org.glassfish.resourcebase.resources.api.ResourceDeployer<com.sun.enterprise.deployment.ContextServiceDefinitionDescriptor>
    • supportsDynamicReconfiguration

      public boolean supportsDynamicReconfiguration()
      Specified by:
      supportsDynamicReconfiguration in interface org.glassfish.resourcebase.resources.api.ResourceDeployer<com.sun.enterprise.deployment.ContextServiceDefinitionDescriptor>
    • getProxyClassesForDynamicReconfiguration

      public Class<?>[] getProxyClassesForDynamicReconfiguration()
      Specified by:
      getProxyClassesForDynamicReconfiguration in interface org.glassfish.resourcebase.resources.api.ResourceDeployer<com.sun.enterprise.deployment.ContextServiceDefinitionDescriptor>
    • validatePreservedResource

      public void validatePreservedResource(com.sun.enterprise.config.serverbeans.Application oldApp, com.sun.enterprise.config.serverbeans.Application newApp, com.sun.enterprise.config.serverbeans.Resource resource, com.sun.enterprise.config.serverbeans.Resources allResources) throws org.glassfish.resourcebase.resources.api.ResourceConflictException
      Specified by:
      validatePreservedResource in interface org.glassfish.resourcebase.resources.api.ResourceDeployer<com.sun.enterprise.deployment.ContextServiceDefinitionDescriptor>
      Throws:
      org.glassfish.resourcebase.resources.api.ResourceConflictException