Package adams.core.discovery
Class DefaultPropertyDiscovery.HandlerObserver
- java.lang.Object
-
- adams.core.discovery.DefaultPropertyDiscovery.HandlerObserver
-
- All Implemented Interfaces:
PropertyTraversal.Observer
- Enclosing class:
- DefaultPropertyDiscovery
public static class DefaultPropertyDiscovery.HandlerObserver extends Object implements PropertyTraversal.Observer
Observer using discovery handlers.
-
-
Field Summary
Fields Modifier and Type Field Description protected AbstractDiscoveryHandler[]m_Handlersthe handlers to use.
-
Constructor Summary
Constructors Constructor Description HandlerObserver(AbstractDiscoveryHandler[] handlers)Initializes the observer with the handlers.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanobserve(PropertyPath.Path path, PropertyDescriptor desc, Object parent, Object child)Presents the current path, descriptor and object to the observer.
-
-
-
Field Detail
-
m_Handlers
protected AbstractDiscoveryHandler[] m_Handlers
the handlers to use.
-
-
Constructor Detail
-
HandlerObserver
public HandlerObserver(AbstractDiscoveryHandler[] handlers)
Initializes the observer with the handlers.- Parameters:
handlers- the handlers to use
-
-
Method Detail
-
observe
public boolean observe(PropertyPath.Path path, PropertyDescriptor desc, Object parent, Object child)
Presents the current path, descriptor and object to the observer.- Specified by:
observein interfacePropertyTraversal.Observer- Parameters:
path- the pathdesc- the property descriptorparent- the parent objectchild- the child object- Returns:
- true if to continue observing
-
-