|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
MBean interface.
Method Summary | |
ServerInvocationHandler |
addInvocationHandler(java.lang.String subsystem,
javax.management.ObjectName handlerObjectName)
Adds a handler to the connector via OjbectName. |
ServerInvocationHandler |
addInvocationHandler(java.lang.String subsystem,
ServerInvocationHandler handler)
Adds an invocation handler for the named subsystem to the invoker we manage, and sets the mbean server on the invocation handler. |
void |
create()
Creates the connector. |
void |
destroy()
Destroys the connector. |
org.w3c.dom.Element |
getConfiguration()
Configuration is an xml element indicating subsystems to be registered with the ServerInvoker we wrap. |
java.lang.String |
getInvokerLocator()
Returns the invoker locator. |
InvokerLocator |
getLocator()
Returns the locator to the connector. |
void |
removeInvocationHandler(java.lang.String subsystem)
Removes an invocation handler for the supplied subsystem from the invoker we manage, and unsets the MBeanServer on the handler. |
void |
setConfiguration(org.w3c.dom.Element xml)
Configuration is an xml element indicating subsystems to be registered with the ServerInvoker we wrap. |
void |
setInvokerLocator(java.lang.String locator)
Sets the invoker locator. |
void |
start()
Starts the connector. |
void |
start(boolean runAsNewThread)
Starts the connector. |
void |
stop()
Stops the connector. |
Method Detail |
public void start() throws java.lang.Exception
java.lang.Exception
public void start(boolean runAsNewThread) throws java.lang.Exception
runAsNewThread
- indicates if should be started on new thread or the current one
java.lang.Exception
public void stop()
public void create() throws java.lang.Exception
java.lang.Exception
public void destroy()
public InvokerLocator getLocator()
public void setInvokerLocator(java.lang.String locator) throws java.lang.Exception
java.lang.Exception
public java.lang.String getInvokerLocator() throws java.lang.Exception
java.lang.Exception
public void setConfiguration(org.w3c.dom.Element xml) throws java.lang.Exception
java.lang.Exception
public org.w3c.dom.Element getConfiguration()
public ServerInvocationHandler addInvocationHandler(java.lang.String subsystem, javax.management.ObjectName handlerObjectName) throws java.lang.Exception
subsystem
- handlerObjectName
-
java.lang.Exception
public ServerInvocationHandler addInvocationHandler(java.lang.String subsystem, ServerInvocationHandler handler) throws java.lang.Exception
java.lang.Exception
public void removeInvocationHandler(java.lang.String subsystem) throws java.lang.Exception
java.lang.Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |