org.apache.beehive.netui.pageflow.requeststate
Interface NamingObjectListener
- All Superinterfaces:
- EventListener
public interface NamingObjectListener
- extends EventListener
The listener interface for receiving naming events from the NameService. The class that is interested in
processing a NamingObject
event must implement this interface. The object is registered with the NameService
using the addNamingObjectListener
method. When an object is named, the namingObject
method is
called.
Method Summary |
void |
namingObject(INameable namedObject,
Map objectAttributes)
This method is called when an object is registered with the NameService to listen to
NamingObject events. |
namingObject
void namingObject(INameable namedObject,
Map objectAttributes)
- This method is called when an object is registered with the
NameService
to listen to
NamingObject
events. The objectAttributes
map is passed allowing the object
to store information in the object. The Map is held by a weak reference by the NameService so it
will be released when the namedObject
is released.
- Parameters:
namedObject
- The object that will be named.objectAttributes
- A map that associates data with the data.