Class Handler<CHILD extends AbstractConfigProducer<?>>

  • All Implemented Interfaces:
    com.yahoo.config.ConfigInstance.Producer, ConfigProducer, java.io.Serializable, java.lang.Comparable<Component<?,​?>>
    Direct Known Subclasses:
    FileStatusHandlerComponent, GUIHandler, MbusClient, ProcessingHandler

    public class Handler<CHILD extends AbstractConfigProducer<?>>
    extends Component<CHILD,​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.

    Note that this is also used to model vespa handlers (which do not have any bindings)

    Author:
    gjoranv
    See Also:
    Serialized Form
    • Constructor Detail

      • Handler

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

      • addServerBindings

        public void addServerBindings​(java.lang.String... bindings)
      • removeServerBinding

        public void removeServerBinding​(java.lang.String binding)
      • addClientBindings

        public void addClientBindings​(java.lang.String... bindings)
      • getServerBindings

        public final java.util.Set<java.lang.String> getServerBindings()
      • getClientBindings

        public final java.util.List<java.lang.String> getClientBindings()