|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
org.identityconnectors.framework.spi.AbstractConfiguration
public abstract class AbstractConfiguration
Convenient base-class for Configuration objects to extend.
Constructor Summary | |
---|---|
AbstractConfiguration() |
Method Summary | |
---|---|
ConnectorMessages |
getConnectorMessages() Should return the message catalog that is set by Configuration.setConnectorMessages(ConnectorMessages) . |
void |
setConnectorMessages(ConnectorMessages messages) Sets the message catalog instance that allows the Connector to localize messages. |
abstract void |
validate() Determines if the configuration is valid. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractConfiguration()
Method Detail |
---|
public final ConnectorMessages getConnectorMessages()
Configuration
message catalog
that is set by Configuration.setConnectorMessages(ConnectorMessages)
.getConnectorMessages
in interface Configuration
ConnectorMessages
instance.public final void setConnectorMessages(ConnectorMessages messages)
Configuration
message catalog
instance that allows the Connector to localize messages. This method is called before any bean property setter, the Configuration.validate()
method or the Configuration.getConnectorMessages()
method.setConnectorMessages
in interface Configuration
messages
- the message catalog.public abstract void validate()
Configuration
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.
validate
in interface Configuration
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |