public interface ServerSession extends RemoteIdMappings
Modifier and Type | Method and Description |
---|---|
long |
createMBeanFor(java.lang.Object child,
ServerContext childContext)
Create an MBean.
|
void |
destroy(long childId)
Destroy a server MBean.
|
ArooaSession |
getArooaSession()
Get the session used by the server.
|
idFor, objectFor
long createMBeanFor(java.lang.Object child, ServerContext childContext) throws javax.management.JMException
child
- The Oddjob component.childContext
- The context.javax.management.JMException
void destroy(long childId) throws javax.management.JMException
childId
- The child name.javax.management.JMException
ArooaSession getArooaSession()