Class IdToDependencyNode<T>
- java.lang.Object
-
- org.apache.tapestry5.ioc.internal.util.IdToDependencyNode<T>
-
public class IdToDependencyNode<T> extends java.lang.Object
Used to order objects into an "execution" order. Each object must have a unique id. It may specify a list of constraints which identify the ordering of the objects.
-
-
Constructor Summary
Constructors Constructor Description IdToDependencyNode(org.slf4j.Logger logger)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(java.lang.String id, T target, java.lang.String... constraints)
Adds an object to be ordered.void
add(Orderable<T> orderable)
Adds an object to be ordered.java.util.List<T>
getOrdered()
-
-
-
Constructor Detail
-
IdToDependencyNode
public IdToDependencyNode(org.slf4j.Logger logger)
-
-
Method Detail
-
add
public void add(java.lang.String id, T target, java.lang.String... constraints)
Adds an object to be ordered.- Parameters:
id
- unique, qualified id for the targettarget
- the object to be ordered (or null as a placeholder)constraints
- optional, variable constraints- See Also:
add(org.apache.tapestry5.ioc.Orderable)
-
getOrdered
public java.util.List<T> getOrdered()
-
-