public class StandardStateProviderInitializationContext extends java.lang.Object implements StateProviderInitializationContext
Constructor and Description |
---|
StandardStateProviderInitializationContext(java.lang.String identifier,
java.util.Map<PropertyDescriptor,PropertyValue> properties,
javax.net.ssl.SSLContext sslContext,
ComponentLog logger) |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.String> |
getAllProperties() |
java.lang.String |
getIdentifier() |
ComponentLog |
getLogger() |
java.util.Map<PropertyDescriptor,PropertyValue> |
getProperties() |
PropertyValue |
getProperty(PropertyDescriptor property)
Retrieves the current value set for the given descriptor, if a value is
set - else uses the descriptor to determine the appropriate default value
|
javax.net.ssl.SSLContext |
getSSLContext() |
public StandardStateProviderInitializationContext(java.lang.String identifier, java.util.Map<PropertyDescriptor,PropertyValue> properties, javax.net.ssl.SSLContext sslContext, ComponentLog logger)
public java.util.Map<PropertyDescriptor,PropertyValue> getProperties()
getProperties
in interface StateProviderInitializationContext
public java.util.Map<java.lang.String,java.lang.String> getAllProperties()
getAllProperties
in interface PropertyContext
public PropertyValue getProperty(PropertyDescriptor property)
PropertyContext
getProperty
in interface PropertyContext
property
- to lookup the value ofpublic java.lang.String getIdentifier()
getIdentifier
in interface StateProviderInitializationContext
public javax.net.ssl.SSLContext getSSLContext()
getSSLContext
in interface StateProviderInitializationContext
null
if no SSLContext has been configuredpublic ComponentLog getLogger()
getLogger
in interface StateProviderInitializationContext