Class ConnectorReference

java.lang.Object
org.forgerock.openidm.provisioner.openicf.ConnectorReference

public final class ConnectorReference extends Object
ConnectorReference holds the required ConnectorKey value to find the correct connector in the ConnectorInfoManager. The getConnectorHost is the key for the ConnectorInfoManager newBuilder.
Version:
$Revision$ $Date$
  • Field Details

  • Constructor Details

    • ConnectorReference

      public ConnectorReference(org.identityconnectors.framework.api.ConnectorKey connectorKey)
      Creates a ConnectorReference with the supplied ConnectorKey
      Parameters:
      connectorKey - connector identifier
      Throws:
      AssertionError - when the connectorKey is null.
    • ConnectorReference

      public ConnectorReference(org.identityconnectors.framework.api.ConnectorKey connectorKey, String connectorHost)
      Creates a ConnectorReference with the supplied ConnectorKey identifier and the supplied connectorHost
      Parameters:
      connectorKey - connector identifier
      connectorHost - connector host
      Throws:
      AssertionError - when the connectorKey is null.
  • Method Details

    • getConnectorKey

      public org.identityconnectors.framework.api.ConnectorKey getConnectorKey()
      Returns the connectorKey identifier
      Returns:
    • getConnectorHost

      public String getConnectorHost()
      Gets the key for the ConnectorInfoManager
      Returns:
      if no other value was specified the default value is {#SINGLE_LOCAL_CONNECTOR_MANAGER}
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getConnectorLocation

      public ConnectorReference.ConnectorLocation getConnectorLocation()