org.norther.tammi.core.base
Interface MBeanReference

All Known Subinterfaces:
FilterMBeanReference
All Known Implementing Classes:
ActorNotification, AdaptableNotification, DomainCacheNotification, FilterMBeanHandle, MBeanHandle, MBeanInstance, ModificationNotification, ReferableNotification, RegistrationNotification, RelationNotification, RoleNotification

public interface MBeanReference

An interface to MBean references.

Author:
Ilkka Priha

Method Summary
 Object get()
          Gets the referent.
 String getClassName()
          Gets the class name.
 MBeanServer getMBeanServer()
          Gets the MBean server.
 ObjectName getObjectName()
          Gets the object name.
 boolean isRegistered()
          Checks whether registered, already unregistered or unregistration is just going on.
 

Method Detail

get

Object get()
Gets the referent.

Returns:
the referent or null if not available.

getObjectName

ObjectName getObjectName()
Gets the object name.

Returns:
the object name or null if not available.

getClassName

String getClassName()
Gets the class name.

Returns:
the class name or null if not available.

isRegistered

boolean isRegistered()
Checks whether registered, already unregistered or unregistration is just going on.

Returns:
true if still registered, otherwise false.

getMBeanServer

MBeanServer getMBeanServer()
Gets the MBean server.

Returns:
the MBean server or null if never registered.


Copyright © 2004 The Norther Organization. All rights reserved.