| java.lang.Object biz.hammurapi.config.DependencyManager
DependencyManager | public class DependencyManager (Code) | | Manages dependencies between objects.
author: Pavel Vlasov |
addDependency | public void addDependency(Object slave, Object master)(Code) | | Adds dependency. Master can be null for independent objects.
Parameters: slave - Parameters: master - |
getOrdered | public List getOrdered()(Code) | | List of items ordered by dependency - independent items first. |
isDependent | public boolean isDependent(Object slave, Object master)(Code) | | Finds out whether slave depends on master directly or indirectly
Parameters: slave - Parameters: master - |
|
|