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.The service name for binderThe name for the bindingThe service name for the target namespace the binding will occur.voidsetupLookupInjection(ServiceBuilder<?> serviceBuilder, Injector<ManagedReferenceFactory> targetInjector, org.jboss.as.server.deployment.DeploymentUnit deploymentUnit, boolean optional) Setup a lookup with respect toResourceinjection.toString()
-
Method Details
-
getParentContextServiceName
The service name for the target namespace the binding will occur.- Returns:
- The target service name
-
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(ServiceBuilder<?> serviceBuilder, Injector<ManagedReferenceFactory> targetInjector, org.jboss.as.server.deployment.DeploymentUnit deploymentUnit, boolean optional) Setup a lookup with respect toResourceinjection.- Parameters:
serviceBuilder- the builder that should depend on the lookuptargetInjector- the injector which will receive the lookup result once the builded service starts
-