java.lang.Object
com.yahoo.config.model.producer.AbstractConfigProducer<CHILD>
com.yahoo.vespa.model.container.component.Component<Component<?,?>,com.yahoo.osgi.provider.model.ComponentModel>
com.yahoo.vespa.model.container.component.Handler
All Implemented Interfaces:
com.yahoo.config.ConfigInstance.Producer, ConfigProducer, Serializable, Comparable<Component<?,?>>
Direct Known Subclasses:
FileStatusHandlerComponent, MbusClient, ProcessingHandler

public class Handler extends Component<Component<?,?>,com.yahoo.osgi.provider.model.ComponentModel>
Models a jdisc RequestHandler (including ClientProvider). RequestHandlers always have at least one server binding, while ClientProviders have at least one client binding.
Author:
gjoranv
See Also:
  • Field Details

    • hasCustomThreadPool

      public final boolean hasCustomThreadPool
  • Constructor Details

    • Handler

      public Handler(com.yahoo.osgi.provider.model.ComponentModel model)
    • Handler

      public Handler(com.yahoo.osgi.provider.model.ComponentModel model, ContainerThreadpool threadpool)
  • Method Details

    • fromClassName

      public static Handler fromClassName(String className)
    • addServerBindings

      public void addServerBindings(BindingPattern... bindings)
    • removeServerBinding

      public void removeServerBinding(BindingPattern binding)
    • addClientBindings

      public void addClientBindings(BindingPattern... bindings)
    • getServerBindings

      public final Set<BindingPattern> getServerBindings()
    • getClientBindings

      public final List<BindingPattern> getClientBindings()