Package org.forgerock.openig.heap
Interface HeapletFactory
-
public interface HeapletFactory
BuildsHeaplet
instances. AHeapletFactory
can manage multiple Heaplet types.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Heaplet
newInstance(Class<?> type)
Returns a newHeaplet
instance that know how to build the given type.
-
-
-
Method Detail
-
newInstance
Heaplet newInstance(Class<?> type)
Returns a newHeaplet
instance that know how to build the given type.- Parameters:
type
- the type that the created heaplet must support.- Returns:
- a new
Heaplet
instance that know how to build the given type, may returnnull
if the given type is not supported by this factory.
-
-