Class BinderService

java.lang.Object
org.jboss.as.naming.service.BinderService
All Implemented Interfaces:
Service, Service<ManagedReferenceFactory>, Value<ManagedReferenceFactory>
Direct Known Subclasses:
ExternalContextBinderService

public class BinderService extends Object implements Service<ManagedReferenceFactory>
Service responsible for binding and unbinding an entry into a naming context. This service can be used as a dependency for any service that needs to retrieve this entry from the context.
Author:
John E. Bailey, Eduardo Martins
  • Constructor Details

    • BinderService

      public BinderService(String name, Object source, boolean shared)
      Construct new instance.
      Parameters:
      name - The JNDI name to use for binding. May be either an absolute or relative name
      source -
      shared - indicates if the bind may be shared among multiple deployments, if true the service tracks references indicated through acquire(), and automatically stops once all deployments unreference it through release()
    • BinderService

      public BinderService(String name, Object source)
      Construct new instance.
      Parameters:
      name - The JNDI name to use for binding. May be either an absolute or relative name
    • BinderService

      public BinderService(String name)
  • Method Details