Package adams.core.discovery
Class DefaultPropertyDiscovery.HandlerObserver
- java.lang.Object
-
- adams.core.discovery.DefaultPropertyDiscovery.HandlerObserver
-
- All Implemented Interfaces:
PropertyTraversal.Observer
- Enclosing class:
- DefaultPropertyDiscovery
public class DefaultPropertyDiscovery.HandlerObserver extends Object implements PropertyTraversal.Observer
Observer using discovery handlers.
-
-
Field Summary
Fields Modifier and Type Field Description protected AbstractDiscoveryHandler[]
m_Handlers
the 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 void
observe(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 void observe(PropertyPath.Path path, PropertyDescriptor desc, Object parent, Object child)
Presents the current path, descriptor and object to the observer.- Specified by:
observe
in interfacePropertyTraversal.Observer
- Parameters:
path
- the pathdesc
- the property descriptorparent
- the parent objectchild
- the child object
-
-