Class AbstractConfiguration
- java.lang.Object
-
- org.identityconnectors.framework.spi.AbstractConfiguration
-
- All Implemented Interfaces:
Configuration
public abstract class AbstractConfiguration extends Object implements Configuration
Convenient base-class for Configuration objects to extend.
-
-
Constructor Summary
Constructors Constructor Description AbstractConfiguration()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description ConnectorMessagesgetConnectorMessages()Should return themessage catalogthat is set byConfiguration.setConnectorMessages(ConnectorMessages).voidsetConnectorMessages(ConnectorMessages messages)Sets themessage cataloginstance that allows the Connector to localize messages.abstract voidvalidate()Determines if the configuration is valid.
-
-
-
Method Detail
-
getConnectorMessages
public final ConnectorMessages getConnectorMessages()
Description copied from interface:ConfigurationShould return themessage catalogthat is set byConfiguration.setConnectorMessages(ConnectorMessages).- Specified by:
getConnectorMessagesin interfaceConfiguration- Returns:
- the
ConnectorMessagesinstance.
-
setConnectorMessages
public final void setConnectorMessages(ConnectorMessages messages)
Description copied from interface:ConfigurationSets themessage cataloginstance 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:
setConnectorMessagesin interfaceConfiguration- Parameters:
messages- the message catalog.
-
validate
public abstract void validate()
Description copied from interface:ConfigurationDetermines if the configuration is valid.A valid configuration is one that is ready to be used by the connector: it is complete (all the required properties have been given values) and the property values are well-formed (are in the expected range, have the expected format, etc.)
Implementations of this method should not connect to the resource in an attempt to validate the configuration. For example, implementations should not attempt to check that a host of the specified name exists by making a connection to it. Such checks can be performed in the implementation of the
TestOp.test()method.- Specified by:
validatein interfaceConfiguration
-
-