Package org.jboss.as.naming.deployment
Class ContextNames.BindInfo
java.lang.Object
org.jboss.as.naming.deployment.ContextNames.BindInfo
- Enclosing class:
- ContextNames
-
Method Summary
Modifier and TypeMethodDescriptionReturns the absolute jndi name of thisContextNames.BindInfo.org.jboss.msc.service.ServiceNameThe service name for binderThe name for the bindingorg.jboss.msc.service.ServiceNameThe service name for the target namespace the binding will occur.voidsetupLookupInjection(org.jboss.msc.service.ServiceBuilder<?> serviceBuilder, org.jboss.msc.inject.Injector<ManagedReferenceFactory> targetInjector, org.jboss.as.server.deployment.DeploymentUnit deploymentUnit, boolean optional) Setup a lookup with respect tojavax.annotation.Resourceinjection.toString()
-
Method Details
-
getParentContextServiceName
public org.jboss.msc.service.ServiceName getParentContextServiceName()The service name for the target namespace the binding will occur.- Returns:
- The target service name
-
getBinderServiceName
public org.jboss.msc.service.ServiceName getBinderServiceName()The service name for binder- Returns:
- the binder service name
-
getBindName
The name for the binding- Returns:
- The binding name
-
getAbsoluteJndiName
Returns the absolute jndi name of thisContextNames.BindInfo. The absolute jndi name is inclusive of the jndi namespace- Returns:
-
toString
-
setupLookupInjection
public void setupLookupInjection(org.jboss.msc.service.ServiceBuilder<?> serviceBuilder, org.jboss.msc.inject.Injector<ManagedReferenceFactory> targetInjector, org.jboss.as.server.deployment.DeploymentUnit deploymentUnit, boolean optional) Setup a lookup with respect tojavax.annotation.Resourceinjection.- Parameters:
serviceBuilder- the builder that should depend on the lookuptargetInjector- the injector which will receive the lookup result once the builded service starts
-