Class EJBClientConfiguratorService

java.lang.Object
org.jboss.as.ejb3.subsystem.EJBClientConfiguratorService
All Implemented Interfaces:
Consumer<org.jboss.ejb.client.EJBClientContext.Builder>, org.jboss.msc.Service, org.jboss.msc.service.Service<EJBClientConfiguratorService>, org.jboss.msc.value.Value<EJBClientConfiguratorService>

public final class EJBClientConfiguratorService extends Object implements Consumer<org.jboss.ejb.client.EJBClientContext.Builder>, org.jboss.msc.service.Service<EJBClientConfiguratorService>
A service to configure an EJBClientContext with any information defined in the subsystem model.
Author:
David M. Lloyd
  • Field Details

    • SERVICE_NAME

      public static final org.jboss.msc.service.ServiceName SERVICE_NAME
  • Constructor Details

    • EJBClientConfiguratorService

      public EJBClientConfiguratorService()
  • Method Details

    • start

      public void start(org.jboss.msc.service.StartContext context) throws org.jboss.msc.service.StartException
      Specified by:
      start in interface org.jboss.msc.Service
      Throws:
      org.jboss.msc.service.StartException
    • stop

      public void stop(org.jboss.msc.service.StopContext context)
      Specified by:
      stop in interface org.jboss.msc.Service
    • getValue

      Specified by:
      getValue in interface org.jboss.msc.value.Value<EJBClientConfiguratorService>
      Throws:
      IllegalStateException
      IllegalArgumentException
    • accept

      public void accept(org.jboss.ejb.client.EJBClientContext.Builder builder)
      Perform the configuration of the transport provider.
      Specified by:
      accept in interface Consumer<org.jboss.ejb.client.EJBClientContext.Builder>
      Parameters:
      builder - the EJB client context builder (not null)
    • getEndpointInjector

      public org.jboss.msc.value.InjectedValue<org.jboss.remoting3.Endpoint> getEndpointInjector()
      Get the endpoint injector. This is populated only when the Remoting subsystem is present.
      Returns:
      the endpoint injector