Class ContextNames.BindInfo

    • 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 this ContextNames.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 to javax.annotation.Resource injection.
        Parameters:
        serviceBuilder - the builder that should depend on the lookup
        targetInjector - the injector which will receive the lookup result once the builded service starts