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 rootHeap
that 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 givenname
andenvironment
.EnvironmentHeap(Name name, Environment environment, org.forgerock.config.resolvers.PropertyResolver propertyResolver)
Builds a new EnvironmentHeap with the givenname
andenvironment
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Bindings
getProperties()
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 givenname
andenvironment
.- 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 givenname
andenvironment
.- 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:Heap
Returns the properties from this heap and its parents if any.- Specified by:
getProperties
in interfaceHeap
- Overrides:
getProperties
in classHeapImpl
- Returns:
- the properties from this heap and its parents if any.
-
-