Class Handler
java.lang.Object
com.yahoo.config.model.producer.AnyConfigProducer
com.yahoo.config.model.producer.TreeConfigProducer<CCHILD>
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
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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThe default threadpool for all handlers, except those that declare their own, e.g. -
Field Summary
FieldsFields inherited from class com.yahoo.config.model.producer.AnyConfigProducer
log -
Constructor Summary
ConstructorsConstructorDescriptionHandler(com.yahoo.osgi.provider.model.ComponentModel model) Handler(com.yahoo.osgi.provider.model.ComponentModel model, ContainerThreadpool threadpool) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddClientBindings(BindingPattern... bindings) voidaddServerBindings(BindingPattern... bindings) voidstatic HandlerfromClassName(String className) final List<BindingPattern>final Collection<BindingPattern>voidremoveServerBinding(BindingPattern binding) Methods inherited from class com.yahoo.vespa.model.container.component.Component
addComponent, compareTo, fromClassAndBundle, getClassId, getComponentId, getGlobalComponentId, getInjectedComponentIds, inject, injectForName, toStringMethods inherited from class com.yahoo.config.model.producer.TreeConfigProducer
addChild, addDescendantService, getChildren, getChildrenByTypeRecursive, getConfigClassLoader, getDescendantServices, removeChild, validateMethods inherited from class com.yahoo.config.model.producer.AnyConfigProducer
addConfigId, addUserConfig, cascadeConfig, currentConfigId, findInheritedClassLoader, getConfigId, getMonitoringService, getParent, getRoot, getSubId, getUserConfigs, hostSystem, mergeUserConfigs, remove, setParent, setUserConfigs, stateIsHostedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.yahoo.vespa.model.ConfigProducer
dump
-
Field Details
-
hasCustomThreadPool
public final boolean hasCustomThreadPool
-
-
Constructor Details
-
Handler
public Handler(com.yahoo.osgi.provider.model.ComponentModel model) -
Handler
-
-
Method Details
-
fromClassName
-
addServerBindings
-
addServerBindings
-
removeServerBinding
-
addClientBindings
-
getServerBindings
-
getClientBindings
-