Package org.forgerock.openig.heap
Class EnvironmentHeap
- java.lang.Object
-
- org.forgerock.openig.heap.HeapImpl
-
- org.forgerock.openig.heap.EnvironmentHeap
-
- All Implemented Interfaces:
Heap
public class EnvironmentHeap extends HeapImpl
The rootHeapthat includes access to the environment additional information. The default name to access the environment isenvironment. It is possible to provide an alias.
-
-
Field Summary
-
Fields inherited from class org.forgerock.openig.heap.HeapImpl
propertyResolver
-
-
Constructor Summary
Constructors Constructor Description EnvironmentHeap(Name name, String bindingName, Environment environment, org.forgerock.config.resolvers.PropertyResolver propertyResolver)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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BindingsgetProperties()Returns the properties from this heap and its parents if any.
-
-
-
Constructor Detail
-
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)
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)
-
-
Method Detail
-
getProperties
public Bindings 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.
-
-