Class AbstractConfiguration
- java.lang.Object
-
- org.identityconnectors.framework.spi.AbstractConfiguration
-
- All Implemented Interfaces:
Configuration
public abstract class AbstractConfiguration extends java.lang.Object implements Configuration
Convenient base-class for Configuration objects to extend.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
AbstractConfiguration.ConfigurationChangeCallback
-
Constructor Summary
Constructors Constructor Description AbstractConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addChangeCallback(AbstractConfiguration.ConfigurationChangeCallback handler)
ConnectorMessages
getConnectorMessages()
Should return themessage catalog
that is set byConfiguration.setConnectorMessages(ConnectorMessages)
.void
setConnectorMessages(ConnectorMessages messages)
Sets themessage catalog
instance that allows the Connector to localize messages.-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.identityconnectors.framework.spi.Configuration
validate
-
-
-
-
Method Detail
-
getConnectorMessages
public final ConnectorMessages getConnectorMessages()
Description copied from interface:Configuration
Should return themessage catalog
that is set byConfiguration.setConnectorMessages(ConnectorMessages)
.- Specified by:
getConnectorMessages
in interfaceConfiguration
- Returns:
- the
ConnectorMessages
instance.
-
setConnectorMessages
public final void setConnectorMessages(ConnectorMessages messages)
Description copied from interface:Configuration
Sets themessage catalog
instance that allows the Connector to localize messages. This method is called before any bean property setter, theConfiguration.validate()
method or theConfiguration.getConnectorMessages()
method.- Specified by:
setConnectorMessages
in interfaceConfiguration
- Parameters:
messages
- the message catalog.
-
addChangeCallback
public final void addChangeCallback(AbstractConfiguration.ConfigurationChangeCallback handler)
-
-