Package org.forgerock.audit
Class DependencyProviderBase
java.lang.Object
org.forgerock.audit.DependencyProviderBase
- All Implemented Interfaces:
 DependencyProvider
Base DependencyProvider that has provides no dependencies.
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescription<T> TgetDependency(Class<T> clazz) Retrieve the dependency of type T.<T> TRegister a new provided dependency.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.forgerock.audit.DependencyProvider
getDependency 
- 
Constructor Details
- 
DependencyProviderBase
public DependencyProviderBase() 
 - 
 - 
Method Details
- 
getDependency
Retrieve the dependency of type T.- Specified by:
 getDependencyin interfaceDependencyProvider- Type Parameters:
 T- The type of the dependency class.- Parameters:
 clazz- the dependency's class- Returns:
 - the dependency
 - Throws:
 ClassNotFoundException- if provider does not have a class registered for the requested class type
 - 
register
Register a new provided dependency.- Type Parameters:
 T- The type of the dependency.- Parameters:
 clazz- the class to registerobj- the instance to provide- Returns:
 - the previous values registered for clazz
 
 
 -