org.norther.tammi.core.base
Interface ReferableMBean

All Known Subinterfaces:
AdaptableMBean, AdaptableWidgetMBean, ChapterMBean, LoaderMBean, ReferableCounterMBean, RelationMBean, RelationServiceMBean, Variable, VariableRootMBean, VariableTreeMBean
All Known Implementing Classes:
Account, Chapter, Loader, MultiSelectionList, MultiSelectionTree, Referable, ReferableCounter, ReferableModelMBean, Relation, RelationService, SearchBox, SingleSelectionList, SingleSelectionTree, VariableRoot, VariableTree, VariableX, VariableY, VariableZ, WidgetModelMBean

public interface ReferableMBean

This interface must be implemented by MBeans exposing a reference to themselves for clients. The reference allows faster access to resource attributes and methods than indirect calls through javax.management.MBeanServer.

Note that implementations must notify clients about unregistrations.

Author:
Ilkka Priha

Field Summary
static String DEFAULT_ID
          The default id.
static String ID
          The id key in object names.
static String MBEAN
          The MBean attribute.
static String MBEAN_DESCRIPTION
          The MBean description.
static String TYPE
          The type key in object names.
 
Method Summary
 MBeanReference getMBean()
          Gets a reference to the MBean.
 

Field Detail

ID

static final String ID
The id key in object names.

See Also:
Constant Field Values

TYPE

static final String TYPE
The type key in object names.

See Also:
Constant Field Values

DEFAULT_ID

static final String DEFAULT_ID
The default id.

See Also:
Constant Field Values

MBEAN

static final String MBEAN
The MBean attribute.

See Also:
Constant Field Values

MBEAN_DESCRIPTION

static final String MBEAN_DESCRIPTION
The MBean description.

See Also:
Constant Field Values
Method Detail

getMBean

MBeanReference getMBean()
Gets a reference to the MBean.

Returns:
a reference to the MBean.


Copyright © 2004 The Norther Organization. All rights reserved.