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 classstatic 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 the context property.@Min(0L) StringGets the value of the threadPriority property.voidsetContext(String value) Sets the value of the context property.voidsetThreadPriority(String value) Sets the value of the threadPriority property.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 the threadPriority property.- Returns:
- possible object is
String
-
setThreadPriority
Sets the value of the threadPriority property.- Parameters:
value- allowed object isString- Throws:
PropertyVetoException
-
getContext
String getContext()Gets the value of the context property.- Returns:
- possible object is
String
-
setContext
Sets the value of the context property.- Parameters:
value- allowed object isString- Throws:
PropertyVetoException
-
getIdentity
- Specified by:
getIdentityin interfacecom.sun.enterprise.config.serverbeans.BindableResource- Specified by:
getIdentityin interfacecom.sun.enterprise.config.serverbeans.Resource
-