Class ContextServiceManager

  • All Implemented Interfaces:
    org.glassfish.resources.admin.cli.ResourceManager

    @Service(name="context-service")
    public class ContextServiceManager
    extends Object
    implements org.glassfish.resources.admin.cli.ResourceManager
    The context service manager allows you to create and delete the context-service config element
    • Constructor Detail

      • ContextServiceManager

        public ContextServiceManager()
    • Method Detail

      • getResourceType

        public String getResourceType()
        Specified by:
        getResourceType in interface org.glassfish.resources.admin.cli.ResourceManager
      • create

        public org.glassfish.resourcebase.resources.api.ResourceStatus create​(com.sun.enterprise.config.serverbeans.Resources resources,
                                                                              HashMap attributes,
                                                                              Properties properties,
                                                                              String target)
                                                                       throws Exception
        Specified by:
        create in interface org.glassfish.resources.admin.cli.ResourceManager
        Throws:
        Exception
      • createConfigBean

        public com.sun.enterprise.config.serverbeans.Resource createConfigBean​(com.sun.enterprise.config.serverbeans.Resources resources,
                                                                               HashMap attributes,
                                                                               Properties properties,
                                                                               boolean validate)
                                                                        throws Exception
        Specified by:
        createConfigBean in interface org.glassfish.resources.admin.cli.ResourceManager
        Throws:
        Exception
      • delete

        public org.glassfish.resourcebase.resources.api.ResourceStatus delete​(com.sun.enterprise.config.serverbeans.Resources resources,
                                                                              String jndiName,
                                                                              String target)
                                                                       throws Exception
        Throws:
        Exception