Class HttpPlugin
java.lang.Object
ecmwf.common.technical.ThreadService.ConfigurableRunnable
ecmwf.common.plugin.PluginThread
ecmwf.ecpds.mover.plugin.http.HttpPlugin
- All Implemented Interfaces:
MBeanService, Runnable
The Class HttpPlugin.
-
Field Summary
Fields inherited from class PluginThread
_params -
Constructor Summary
ConstructorsConstructorDescriptionHttpPlugin(String ref, Map<String, String> params) Instantiates a new http plugin. -
Method Summary
Modifier and TypeMethodDescriptiongetAttribute(String attributeName) Gets the attribute.Gets the MBean info.Gets the plugin name.Gets the version.Invoke.booleanstart()Start.voidstop()Stop.Methods inherited from class PluginThread
callerBack, callerGone, configurableRun, getCaller, getParam, getPluginContainer, getRef, handle, handle, setAttribute, setCaller, setPluginContainer, subscribe, unSubscribeMethods inherited from class ThreadService.ConfigurableRunnable
execute, execute, execute, getContextClassLoader, getPriority, getThreadName, interrupt, interrupted, isAlive, isStarted, join, join, run, setContextClassLoader, setForceCookie, setInheritCookie, setPriority, setThreadNameAndCookie
-
Constructor Details
-
HttpPlugin
-
-
Method Details
-
getPluginName
Gets the plugin name. Gets the plugin name.- Specified by:
getPluginNamein classPluginThread- Returns:
- the plugin name
-
getVersion
Gets the version. Gets the version.- Specified by:
getVersionin classPluginThread- Returns:
- the version
-
start
public boolean start()Start. Start.- Specified by:
startin classPluginThread- Returns:
- true, if successful
-
stop
-
getAttribute
Gets the attribute. Gets the attribute. Gets the attribute.- Specified by:
getAttributein interfaceMBeanService- Overrides:
getAttributein classPluginThread- Parameters:
attributeName- the attribute name- Returns:
- the attribute
- Throws:
AttributeNotFoundException- the attribute not found exceptionMBeanException- the MBean exception
-
getMBeanInfo
Gets the MBean info. Gets the MBean info. Gets the MBean info.- Specified by:
getMBeanInfoin interfaceMBeanService- Overrides:
getMBeanInfoin classPluginThread- Returns:
- the MBean info
-
invoke
public Object invoke(String operationName, Object[] params, String[] signature) throws NoSuchMethodException, MBeanException Invoke. Invoke. Invoke.- Specified by:
invokein interfaceMBeanService- Overrides:
invokein classPluginThread- Parameters:
operationName- the operation nameparams- the paramssignature- the signature- Returns:
- the object
- Throws:
NoSuchMethodException- the no such method exceptionMBeanException- the MBean exception
-