Class MessageDestinationInjectionSource
java.lang.Object
org.jboss.as.ee.component.InjectionSource
org.jboss.as.ee.component.deployers.MessageDestinationInjectionSource
Implementation of
InjectionSource responsible for finding a message destination- Author:
- Stuart Douglas
-
Nested Class Summary
Nested classes/interfaces inherited from class org.jboss.as.ee.component.InjectionSource
InjectionSource.ResolutionContext -
Constructor Summary
ConstructorsConstructorDescriptionMessageDestinationInjectionSource(String messageDestinationName, String bindingName) -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidgetResourceValue(InjectionSource.ResolutionContext resolutionContext, 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.inthashCode()voidresolve(org.jboss.as.server.deployment.DeploymentPhaseContext phaseContext)
-
Constructor Details
-
MessageDestinationInjectionSource
-
-
Method Details
-
getResourceValue
public void getResourceValue(InjectionSource.ResolutionContext resolutionContext, 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:
resolutionContext- 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
-
resolve
public void resolve(org.jboss.as.server.deployment.DeploymentPhaseContext phaseContext) throws org.jboss.as.server.deployment.DeploymentUnitProcessingException - Throws:
org.jboss.as.server.deployment.DeploymentUnitProcessingException
-
equals
-
hashCode
public int hashCode()
-