Interface Scope
- All Known Implementing Classes:
GenericScope.Branch,GenericScope.Tree
public interface Scope
The scope describes a set of nodes, the scope implementation should be stateless and should be shared between many threads.
A scope is responsible for providing a Scope.Visitor object that is used to determine which nodes are loaded when a loading
operation occurs. Visitors are not thread safe, as a consequence the get() operation should create a new visitor
instance on each call, unless the visitor itself is stateless by nature.
- Version:
- $Revision$
- Author:
- Julien Viet
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceA scope visitor responsible for determining the loading of a node. -
Field Summary
Fields -
Method Summary
-
Field Details
-
SINGLE
The node without its children. -
CHILDREN
A node and its chidren. -
GRANDCHILDREN
A node, its chidren and grandchildren. -
ALL
The entire hierarchy, to use with care.
-
-
Method Details
-
get
Scope.Visitor get()
-