Package org.jboss.as.naming.deployment
Class ContextNames.BindInfo
- java.lang.Object
-
- org.jboss.as.naming.deployment.ContextNames.BindInfo
-
- Enclosing class:
- ContextNames
public static class ContextNames.BindInfo extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAbsoluteJndiName()Returns the absolute jndi name of thisContextNames.BindInfo.org.jboss.msc.service.ServiceNamegetBinderServiceName()The service name for binderStringgetBindName()The name for the bindingorg.jboss.msc.service.ServiceNamegetParentContextServiceName()The 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.StringtoString()
-
-
-
Method Detail
-
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
public String getBindName()
The name for the binding- Returns:
- The binding name
-
getAbsoluteJndiName
public String getAbsoluteJndiName()
Returns the absolute jndi name of thisContextNames.BindInfo. The absolute jndi name is inclusive of the jndi namespace- Returns:
-
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
-
-