org.oddjob.jmx.server
Interface ServerSession

All Superinterfaces:
ObjectNames
All Known Implementing Classes:
OddjobMBeanFactory

public interface ServerSession
extends ObjectNames

Provide useful things to the interface handlers on the server side.

Author:
rob

Method Summary
 ObjectName createMBeanFor(Object child, ServerContext childContext)
          Create an MBean.
 void destroy(ObjectName childName)
          Destroy a server MBean.
 ArooaSession getArooaSession()
          Get the session used by the server.
 
Methods inherited from interface org.oddjob.jmx.ObjectNames
nameFor, objectFor
 

Method Detail

createMBeanFor

ObjectName createMBeanFor(Object child,
                          ServerContext childContext)
                          throws JMException
Create an MBean.

Parameters:
child - The Oddjob component.
childContext - The context.
Returns:
The object name for the created MBean.
Throws:
JMException

destroy

void destroy(ObjectName childName)
             throws JMException
Destroy a server MBean.

Parameters:
childName - The child name.
Throws:
JMException

getArooaSession

ArooaSession getArooaSession()
Get the session used by the server.

Returns:
The session.