Class ExternalContextBinderService

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

public class ExternalContextBinderService extends BinderService
A binder service for external contexts.
Author:
Eduardo Martins
  • Constructor Details

    • ExternalContextBinderService

      public ExternalContextBinderService(String name, Object source)
      Parameters:
      name -
      source -
  • Method Details

    • getExternalContextsInjector

      public org.jboss.msc.value.InjectedValue<ExternalContexts> getExternalContextsInjector()
    • start

      public void start(org.jboss.msc.service.StartContext context) throws org.jboss.msc.service.StartException
      Description copied from class: BinderService
      Bind the entry into the injected context.
      Specified by:
      start in interface org.jboss.msc.Service
      Overrides:
      start in class BinderService
      Parameters:
      context - The start context
      Throws:
      org.jboss.msc.service.StartException - If the entity can not be bound
    • stop

      public void stop(org.jboss.msc.service.StopContext context)
      Description copied from class: BinderService
      Unbind the entry from the injected context.
      Specified by:
      stop in interface org.jboss.msc.Service
      Overrides:
      stop in class BinderService
      Parameters:
      context - The stop context