Class Handler<CHILD extends AbstractConfigProducer<?>>
java.lang.Object
com.yahoo.config.model.producer.AbstractConfigProducer<CHILD>
com.yahoo.vespa.model.container.component.Component<CHILD,com.yahoo.osgi.provider.model.ComponentModel>
com.yahoo.vespa.model.container.component.Handler<CHILD>
- All Implemented Interfaces:
com.yahoo.config.ConfigInstance.Producer
,ConfigProducer
,Serializable
,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:
-
Field Summary
Fields inherited from class com.yahoo.config.model.producer.AbstractConfigProducer
log
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addClientBindings
(BindingPattern... bindings) void
addServerBindings
(BindingPattern... bindings) static Handler<AbstractConfigProducer<?>>
fromClassName
(String className) final List<BindingPattern>
final Set<BindingPattern>
void
removeServerBinding
(BindingPattern binding) Methods inherited from class com.yahoo.vespa.model.container.component.Component
addComponent, compareTo, fromClassAndBundle, getClassId, getComponentId, getGlobalComponentId, getInjectedComponentIds, inject, injectForName, toString
Methods inherited from class com.yahoo.config.model.producer.AbstractConfigProducer
addChild, addConfigId, addDescendantService, addUserConfig, cascadeConfig, dump, getChildren, getChildrenByTypeRecursive, getConfigClassLoader, getConfigId, getDescendantServices, getMonitoringService, getParent, getRoot, getSubId, getUserConfigs, hostSystem, mergeUserConfigs, remove, removeChild, setParent, setUserConfigs, stateIsHosted, validate
-
Constructor Details
-
Handler
public Handler(com.yahoo.osgi.provider.model.ComponentModel model)
-
-
Method Details
-
fromClassName
-
addServerBindings
-
removeServerBinding
-
addClientBindings
-
getServerBindings
-
getClientBindings
-