org.oddjob.jmx.general
Class SimpleMBeanSession

java.lang.Object
  extended by org.oddjob.jmx.general.SimpleMBeanSession
All Implemented Interfaces:
MBeanSession

public class SimpleMBeanSession
extends Object
implements MBeanSession

A simple implementation of an MBeanSession.

Author:
rob

Constructor Summary
SimpleMBeanSession(ArooaSession arooaSession, MBeanServerConnection mBeanServer)
           
 
Method Summary
 ArooaSession getArooaSession()
          Get the current Oddjob ArooaSession.
 MBeanCache getMBeanCache()
          Get the current MBeanCache.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleMBeanSession

public SimpleMBeanSession(ArooaSession arooaSession,
                          MBeanServerConnection mBeanServer)
Method Detail

getArooaSession

public ArooaSession getArooaSession()
Description copied from interface: MBeanSession
Get the current Oddjob ArooaSession.

Specified by:
getArooaSession in interface MBeanSession
Returns:
The session. Never null.

getMBeanCache

public MBeanCache getMBeanCache()
Description copied from interface: MBeanSession
Get the current MBeanCache.

Specified by:
getMBeanCache in interface MBeanSession
Returns:
The cache. Never null.