org.oddjob.jmx
Interface ObjectNames

All Known Subinterfaces:
ClientSession, ServerSession
All Known Implementing Classes:
ClientSessionImpl, OddjobMBeanFactory

public interface ObjectNames

Provide a two way Object to ObjectName mapping.

Author:
rob

Method Summary
 ObjectName nameFor(Object object)
          Get the object name for the give component object.
 Object objectFor(ObjectName objectName)
          Get the client side component for the given object name.
 

Method Detail

nameFor

ObjectName nameFor(Object object)
Get the object name for the give component object.

Parameters:
object - The proxy.
Returns:
The name.

objectFor

Object objectFor(ObjectName objectName)
Get the client side component for the given object name.

Parameters:
objectName - The object name.
Returns:
The proxy. Null if none exsists for the given name.