Interface ManagedThreadFactory

All Superinterfaces:
com.sun.enterprise.config.serverbeans.BindableResource, ConcurrencyResource, org.jvnet.hk2.config.ConfigBeanProxy, jakarta.validation.Payload, org.jvnet.hk2.config.types.PropertyBag, com.sun.enterprise.config.serverbeans.Resource

@ResourceConfigCreator(commandName="create-managed-thread-factory") @ResourceTypeOrder(deploymentOrder=MANAGED_THREAD_FACTORY) @ReferenceConstraint(skipDuringCreation=true, payload=ManagedThreadFactory.class) @UniqueResourceNameConstraint(message="{resourcename.isnot.unique}", payload=ManagedThreadFactory.class) public interface ManagedThreadFactory extends org.jvnet.hk2.config.ConfigBeanProxy, com.sun.enterprise.config.serverbeans.Resource, com.sun.enterprise.config.serverbeans.BindableResource, ConcurrencyResource, jakarta.validation.Payload
Concurrency managed thread factory resource definition.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static class 
     
  • Field Summary

    Fields inherited from interface com.sun.enterprise.config.serverbeans.BindableResource

    PATTERN_JNDI

    Fields inherited from interface com.sun.enterprise.config.serverbeans.Resource

    OBJECT_TYPES
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the value of the context property.
    default String
     
    @Min(0L) String
    Gets the value of the threadPriority property.
    void
    setContext(String context)
    Sets the value of the context property.
    void
    setThreadPriority(String threadPriority)
    Sets the value of the threadPriority property.

    Methods inherited from interface com.sun.enterprise.config.serverbeans.BindableResource

    getEnabled, getJndiName, setEnabled, setJndiName

    Methods inherited from interface org.jvnet.hk2.config.ConfigBeanProxy

    createChild, deepCopy, getParent, getParent

    Methods inherited from interface org.jvnet.hk2.config.types.PropertyBag

    addProperty, getProperty, getPropertyValue, getPropertyValue, lookupProperty, removeProperty, removeProperty

    Methods inherited from interface com.sun.enterprise.config.serverbeans.Resource

    getDeploymentOrder, getObjectType, setDeploymentOrder, setObjectType
  • Method Details

    • getThreadPriority

      @Min(0L) @Min(0L) String getThreadPriority()
      Gets the value of the threadPriority property.
      Returns:
      possible object is String
    • setThreadPriority

      void setThreadPriority(String threadPriority) throws PropertyVetoException
      Sets the value of the threadPriority property.
      Parameters:
      threadPriority - allowed object is String
      Throws:
      PropertyVetoException
    • getContext

      String getContext()
      Gets the value of the context property.
      Returns:
      possible object is String
    • setContext

      void setContext(String context) throws PropertyVetoException
      Sets the value of the context property.
      Parameters:
      context - allowed object is String
      Throws:
      PropertyVetoException
    • getIdentity

      default String getIdentity()
      Specified by:
      getIdentity in interface com.sun.enterprise.config.serverbeans.BindableResource
      Specified by:
      getIdentity in interface com.sun.enterprise.config.serverbeans.Resource