Package org.glassfish.concurrent.config
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 ClassesModifier and TypeInterfaceDescriptionstatic class -
Field Summary
Fields inherited from interface com.sun.enterprise.config.serverbeans.BindableResource
PATTERN_JNDIFields inherited from interface com.sun.enterprise.config.serverbeans.Resource
OBJECT_TYPES -
Method Summary
Modifier and TypeMethodDescriptionGets the value of thecontextproperty.default String@Min(0L) StringGets the value of thethreadPriorityproperty.voidsetContext(String context) Sets the value of thecontextproperty.voidsetThreadPriority(String threadPriority) Sets the value of thethreadPriorityproperty.Methods inherited from interface com.sun.enterprise.config.serverbeans.BindableResource
getEnabled, getJndiName, setEnabled, setJndiNameMethods inherited from interface org.glassfish.concurrent.config.ConcurrencyResource
getContextInfo, getContextInfoEnabled, getDescription, getProperty, setContextInfo, setContextInfoEnabled, setDescriptionMethods inherited from interface org.jvnet.hk2.config.ConfigBeanProxy
createChild, deepCopy, getParent, getParentMethods inherited from interface org.jvnet.hk2.config.types.PropertyBag
addProperty, getProperty, getPropertyValue, getPropertyValue, lookupProperty, removeProperty, removePropertyMethods inherited from interface com.sun.enterprise.config.serverbeans.Resource
getDeploymentOrder, getObjectType, setDeploymentOrder, setObjectType
-
Method Details
-
getThreadPriority
Gets the value of thethreadPriorityproperty.- Returns:
- possible object is
String
-
setThreadPriority
Sets the value of thethreadPriorityproperty.- Parameters:
threadPriority- allowed object isString- Throws:
PropertyVetoException
-
getContext
String getContext()Gets the value of thecontextproperty.- Returns:
- possible object is
String
-
setContext
Sets the value of thecontextproperty.- Parameters:
context- allowed object isString- Throws:
PropertyVetoException
-
getIdentity
- Specified by:
getIdentityin interfacecom.sun.enterprise.config.serverbeans.BindableResource- Specified by:
getIdentityin interfacecom.sun.enterprise.config.serverbeans.Resource
-