Class ManagedThreadFactoryDefinitionInjectionSource
- java.lang.Object
-
- org.jboss.as.ee.component.InjectionSource
-
- org.jboss.as.ee.resource.definition.ResourceDefinitionInjectionSource
-
- org.jboss.as.ee.concurrent.resource.definition.ManagedThreadFactoryDefinitionInjectionSource
-
public class ManagedThreadFactoryDefinitionInjectionSource extends ResourceDefinitionInjectionSource
TheResourceDefinitionInjectionSourceforManagedThreadFactoryDefinition.- Author:
- emmartins
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.jboss.as.ee.component.InjectionSource
InjectionSource.ResolutionContext
-
-
Field Summary
Fields Modifier and Type Field Description static StringCONTEXT_PROPstatic StringPRIORITY_PROP-
Fields inherited from class org.jboss.as.ee.resource.definition.ResourceDefinitionInjectionSource
jndiName, properties
-
-
Constructor Summary
Constructors Constructor Description ManagedThreadFactoryDefinitionInjectionSource(String jndiName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetContextServiceRef()intgetPriority()voidgetResourceValue(InjectionSource.ResolutionContext context, org.jboss.msc.service.ServiceBuilder<?> serviceBuilder, org.jboss.as.server.deployment.DeploymentPhaseContext phaseContext, org.jboss.msc.inject.Injector<ManagedReferenceFactory> injector)Get the value to use as the injection source.voidsetContextServiceRef(String contextServiceRef)voidsetPriority(int priority)-
Methods inherited from class org.jboss.as.ee.resource.definition.ResourceDefinitionInjectionSource
addProperties, addProperties, addProperties, equals, getJndiName, hashCode, uniqueName
-
-
-
-
Field Detail
-
CONTEXT_PROP
public static final String CONTEXT_PROP
- See Also:
- Constant Field Values
-
PRIORITY_PROP
public static final String PRIORITY_PROP
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ManagedThreadFactoryDefinitionInjectionSource
public ManagedThreadFactoryDefinitionInjectionSource(String jndiName)
-
-
Method Detail
-
getResourceValue
public void getResourceValue(InjectionSource.ResolutionContext context, org.jboss.msc.service.ServiceBuilder<?> serviceBuilder, org.jboss.as.server.deployment.DeploymentPhaseContext phaseContext, org.jboss.msc.inject.Injector<ManagedReferenceFactory> injector) throws org.jboss.as.server.deployment.DeploymentUnitProcessingException
Description copied from class:InjectionSourceGet the value to use as the injection source. The value will be yield an injectable which is dereferenced once for every time the reference source is injected. The given binder service builder may be used to apply any dependencies for this binding (i.e. the source for the binding's value).- Specified by:
getResourceValuein classInjectionSource- Parameters:
context- the resolution context to useserviceBuilder- the builder for the binder servicephaseContext- the deployment phase contextinjector- the injector into which the value should be placed- Throws:
org.jboss.as.server.deployment.DeploymentUnitProcessingException- if an error occurs
-
getContextServiceRef
public String getContextServiceRef()
-
setContextServiceRef
public void setContextServiceRef(String contextServiceRef)
-
getPriority
public int getPriority()
-
setPriority
public void setPriority(int priority)
-
-