Package org.forgerock.openig.heap
Class EnvironmentHeap
java.lang.Object
org.forgerock.openig.heap.HeapImpl
org.forgerock.openig.heap.EnvironmentHeap
- All Implemented Interfaces:
 Heap
The root 
Heap that includes access to the environment additional information.
 The default name to access the environment is environment.
 It is possible to provide an alias.- 
Constructor Summary
ConstructorsConstructorDescriptionEnvironmentHeap(Name name, String bindingName, Environment environment, org.forgerock.config.resolvers.PropertyResolver propertyResolver, StartupMetrics parentStartupMetrics) Builds a new EnvironmentHeap with the givennameandenvironment.EnvironmentHeap(Name name, Environment environment, org.forgerock.config.resolvers.PropertyResolver propertyResolver) Builds a new EnvironmentHeap with the givennameandenvironment. - 
Method Summary
Modifier and TypeMethodDescriptionReturns the properties from this heap and its parents if any. 
- 
Constructor Details
- 
EnvironmentHeap
public EnvironmentHeap(Name name, Environment environment, org.forgerock.config.resolvers.PropertyResolver propertyResolver) Builds a new EnvironmentHeap with the givennameandenvironment.- Parameters:
 name- name of this heapenvironment- environment to expose in propertiespropertyResolver- Root property resolver (notnull)
 - 
EnvironmentHeap
public EnvironmentHeap(Name name, String bindingName, Environment environment, org.forgerock.config.resolvers.PropertyResolver propertyResolver, StartupMetrics parentStartupMetrics) Builds a new EnvironmentHeap with the givennameandenvironment.- Parameters:
 name- name of this heapbindingName- The name of the environment in the bindingsenvironment- environment to expose in properties (notnull)propertyResolver- Root property resolver (notnull)parentStartupMetrics- The parentStartupMetrics
 
 - 
 - 
Method Details
- 
getProperties
Description copied from interface:HeapReturns the properties from this heap and its parents if any.- Specified by:
 getPropertiesin interfaceHeap- Overrides:
 getPropertiesin classHeapImpl- Returns:
 - the properties from this heap and its parents if any
 
 
 -