org.norther.tammi.core.base
Interface Identifiable

All Known Implementing Classes:
Account, Chapter, MultiSelectionList, MultiSelectionTree, Referable, ReferableModelMBean, Relation, SearchBox, SingleSelectionList, SingleSelectionTree, VariableRoot, VariableTree, VariableX, VariableY, VariableZ, WidgetModelMBean

public interface Identifiable

An interface to identifiable MBeans supporting canonical object name based serialization.

Author:
Ilkka Priha

Method Summary
 String getCanonicalName()
          Gets the canonical object name of the MBean as a string.
 void setCanonicalName(String name)
          Sets the canonical object name of the MBean as a string.
 

Method Detail

getCanonicalName

String getCanonicalName()
Gets the canonical object name of the MBean as a string.

Returns:
the canonical object name as a string or null.

setCanonicalName

void setCanonicalName(String name)
                      throws MalformedObjectNameException
Sets the canonical object name of the MBean as a string. The canonical object name can be used by persistence mechanisms to store the identity of the MBean.

Parameters:
name - the canonical object name as a string.
Throws:
MalformedObjectNameException - for an invalid name.
IllegalStateException - if already registered.


Copyright © 2004 The Norther Organization. All rights reserved.