Skip navigation links


com.thortech.xl.gc.util
Class ProviderFacade

java.lang.Object
  extended by com.thortech.xl.gc.util.ProviderFacade


public class ProviderFacade
extends java.lang.Object

Method Summary
 void addProvFormatProviderALInCash(ProviderType provider)
          Adds a provisioning format provider to the ArrayList 'provFormatProviderAL'(List of registered providers)
 void addProvTransportProviderALInCash(ProviderType provider)
          Adds a provisioning transport provider to the ArrayList 'provTransportProviderAL'(List of registered providers)
 void addReconFormatProviderALInCash(ProviderType provider)
          Adds a reconciliation format provider to the ArrayList 'reconFormatProviderAL'(List of registered providers)
 void addReconTransportProviderInCash(ProviderType provider)
          Adds a reconciliation transport provider to the ArrayList 'reconTransportProviderAL'(List of registered providers)
 void addTransformationProviderALInCash(ProviderType provider)
          Adds a transformation provider to the ArrayList 'transformationProviderAL'(List of registered providers)
 void addValidationProviderALInCash(ProviderType provider)
          Adds a validation provider to the ArrayList 'validationProviderAL'(List of registered providers)
 java.util.ArrayList getAllowedTransformation(java.lang.String dataSet, boolean reconciliation)
           
static ProviderFacade getInstance()
          returns an instance of the ProviderFacade singleton
 java.util.ArrayList getPreDeterminedAttributes(java.lang.String providerName)
           
 java.util.ArrayList getProvFormatProviders()
           
 java.util.ArrayList getProvFormatType()
           
 java.lang.Object getProvider(java.lang.String connectorName, Provider provider, java.lang.String providerType)
          Get the initialized provider specified.
 java.util.Hashtable getProviderParameters(java.util.Hashtable providerInfo)
          Returns the runtime and designtime parameters of Providers
 java.util.Hashtable getProviderResponseCodes(java.lang.String providerName, java.lang.String providerType)
           
 java.util.ArrayList getProvTransportProviders()
           
 java.util.ArrayList getProvTransportType()
           
 java.util.ArrayList getReconFormatProviders()
           
 java.util.ArrayList getReconFormatType()
           
 java.util.ArrayList getReconTransportProviders()
           
 java.util.ArrayList getReconTransportType()
           
 java.util.ArrayList getTransformationDetails(java.lang.String transformationName)
           
 java.util.ArrayList getTransformationProviderNames()
           
 java.util.ArrayList getTransformationProviders()
           
 TransformationProvider getTransformProvider(java.lang.String transformType)
           
 java.util.ArrayList getValidationDetails(java.lang.String validationName)
           
 ValidationProvider getValidationProvider(java.lang.String validationType)
           
 java.util.ArrayList getValidationProviderNames()
           
 java.util.ArrayList getValidationProviders()
           
 boolean isEncrypted(java.lang.String providerName, java.lang.String providerType, java.lang.String paramName)
          This method is used by the AutoObjCreator to check whether any provider runtime parameter(ITResource parameter) is encrypted.
static void main(java.lang.String[] args)
           
static void reset()
           

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Method Detail

getInstance

public static ProviderFacade getInstance()
                                  throws ProviderRegistrationException
returns an instance of the ProviderFacade singleton
Throws:
ProviderRegistrationException

getValidationProvider

public ValidationProvider getValidationProvider(java.lang.String validationType)
                                         throws java.lang.Exception
Parameters:
validationType - Name of the Validation Provider
Returns:
instance of the Validation Provider
Throws:
java.lang.Exception

getTransformProvider

public TransformationProvider getTransformProvider(java.lang.String transformType)
                                            throws java.lang.Exception
Parameters:
transformType - Name of the Transformation Provider
Returns:
instance of the Transformation Provider
Throws:
java.lang.Exception

getProvider

public java.lang.Object getProvider(java.lang.String connectorName,
                                    Provider provider,
                                    java.lang.String providerType)
                             throws java.lang.Exception
Get the initialized provider specified. Looks in the cache for the provider, and might give a provider that is cached. Cache Key is based on the connect name to prevent the same instance usage across connectors. i.e. Each connector gets their own instance
Parameters:
connectorName - Name of the connector
provider, - Provider parameter for initialization
providerType - Type of provider requested
Returns:
Initialized provider
Throws:
java.lang.Exception

getReconTransportType

public java.util.ArrayList getReconTransportType()
                                          throws ProviderOperationsException,
                                                 ProviderRegistrationException
Returns:
List of names of Registered Recon transport providers
Throws:
ProviderOperationsException
ProviderRegistrationException

getReconFormatType

public java.util.ArrayList getReconFormatType()
                                       throws ProviderOperationsException,
                                              ProviderRegistrationException
Returns:
List of names of Registered Recon Format providers
Throws:
ProviderOperationsException
ProviderRegistrationException

getProvTransportType

public java.util.ArrayList getProvTransportType()
                                         throws ProviderOperationsException,
                                                ProviderRegistrationException
Returns:
List of names Registered Provisioning transport providers
Throws:
ProviderOperationsException
ProviderRegistrationException

getProvFormatType

public java.util.ArrayList getProvFormatType()
                                      throws ProviderOperationsException,
                                             ProviderRegistrationException
Returns:
List of names of Registered Provisioning format providers
Throws:
ProviderOperationsException
ProviderRegistrationException

getValidationProviderNames

public java.util.ArrayList getValidationProviderNames()
                                               throws ProviderOperationsException,
                                                      ProviderRegistrationException
Returns:
List of names of Registered validation providers
Throws:
ProviderOperationsException
ProviderRegistrationException

getProviderParameters

public java.util.Hashtable getProviderParameters(java.util.Hashtable providerInfo)
                                          throws ProviderOperationsException
Returns the runtime and designtime parameters of Providers
Parameters:
providerInfo - [keys: "ProvFormatProvider", "ProvTransportProvider","ReconFormatProvider","ReconTransportProvider"], [value: name of the respective provider]
Returns:
Hashtable [Keys: "Design","Runtime"] [values: Hashtable containing information of Design Parameters, Hashtable containing information of run-time parameters] Structure of Hashtable containing information of Design/Runtime parameters [keys: "ProvFormatProvider", "ProvTransportProvider","ReconFormatProvider","ReconTransportProvider"], [value: Hashtable containing information of Design/Runtime parameters of the respective provider] Structure of Hashtable containing information (description) of Provision Format Provider> [Key: ParameterName, Value: An Object of Bean class ParameterType]
Throws:
ProviderOperationsException

getTransformationProviderNames

public java.util.ArrayList getTransformationProviderNames()
                                                   throws ProviderOperationsException,
                                                          ProviderRegistrationException
Returns:
List of names of registered Transformation Providers
Throws:
ProviderOperationsException
ProviderRegistrationException

getTransformationDetails

public java.util.ArrayList getTransformationDetails(java.lang.String transformationName)
                                             throws ProviderOperationsException,
                                                    ProviderRegistrationException
Parameters:
transformationName - name of the Transformation Provider
Returns:
Details of this transformation. List of objects of Bean class 'ParameterType'
Throws:
ProviderOperationsException
ProviderRegistrationException

getValidationDetails

public java.util.ArrayList getValidationDetails(java.lang.String validationName)
                                         throws ProviderOperationsException,
                                                ProviderRegistrationException
Parameters:
validationName - name of the validation Provider
Returns:
Details of this validation. List of objects of Bean class 'ParameterType'
Throws:
ProviderOperationsException
ProviderRegistrationException

getPreDeterminedAttributes

public java.util.ArrayList getPreDeterminedAttributes(java.lang.String providerName)
                                               throws ProviderOperationsException,
                                                      ProviderRegistrationException
Parameters:
providerName - Name of the Provisioning Format Provider
Returns:
List of (objects of ParameterType)PreDetermined Attributes as defined in the provider Definition xml
Throws:
ProviderOperationsException
ProviderRegistrationException

getAllowedTransformation

public java.util.ArrayList getAllowedTransformation(java.lang.String dataSet,
                                                    boolean reconciliation)
                                             throws ProviderOperationsException,
                                                    ProviderRegistrationException
Parameters:
dataSet - Name of the OIM Dataset. e.g. Account Data
reconciliation - Whether reconciliation has been selected while creating this GenericConnector
Returns:
ArrayList of all allowable transformation names for the input dataSet
Throws:
ProviderOperationsException
ProviderRegistrationException

getProviderResponseCodes

public java.util.Hashtable getProviderResponseCodes(java.lang.String providerName,
                                                    java.lang.String providerType)
                                             throws ProviderOperationsException
Parameters:
ProviderName - Name of the Provider as in provider xml
ProviderType - Category of the Provider: One of these: GCConstants.PROVISIONING_TRANSPORT_PROVIDER/ GCConstants.PROVISIONING_FORMAT_PROVIDER/ GCConstants.TRANSFORMATION_PROVIDER
Returns:
Hashtable of responseCode - responseCodeDescription pairs. Response code returned would be in the following format: "GCPROV.<providerType>.<providerName>.<RESPONSE_CODE>"
Throws:
ProviderOperationsException

isEncrypted

public boolean isEncrypted(java.lang.String providerName,
                           java.lang.String providerType,
                           java.lang.String paramName)
                    throws ProviderOperationsException
This method is used by the AutoObjCreator to check whether any provider runtime parameter(ITResource parameter) is encrypted.
Parameters:
providerName - Name of the Provider as in the provider definition xml
providerType - Category of the Provider: One of these: GCConstants.PROVISIONING_TRANSPORT_PROVIDER, GCConstants.PROVISIONING_FORMAT_PROVIDER, GCConstants.RECONCILIATION_FORMAT_PROVIDER, GCConstants.RECONCILIATION_TRANSPORT_PROVIDER, GCConstants.TRANSFORMATION_PROVIDER, GCConstants.VALIDATION_PROVIDER.
paramName - name of the provider parameter
Returns:
Throws:
ProviderOperationsException

getReconTransportProviders

public java.util.ArrayList getReconTransportProviders()
                                               throws ProviderRegistrationException
Returns:
List of reconciliation transport providers 'List of objects of ProviderType'
Throws:
ProviderRegistrationException

getReconFormatProviders

public java.util.ArrayList getReconFormatProviders()
                                            throws ProviderRegistrationException
Returns:
List of reconciliation format providers 'List of objects of ProviderType'
Throws:
ProviderRegistrationException

getProvTransportProviders

public java.util.ArrayList getProvTransportProviders()
                                              throws ProviderRegistrationException
Returns:
List of provisioning transport providers 'List of objects of ProviderType'
Throws:
ProviderRegistrationException

getProvFormatProviders

public java.util.ArrayList getProvFormatProviders()
                                           throws ProviderRegistrationException
Returns:
List of provisioning format providers 'List of objects of ProviderType'
Throws:
ProviderRegistrationException

getTransformationProviders

public java.util.ArrayList getTransformationProviders()
                                               throws ProviderRegistrationException
Returns:
List of transformation providers 'List of objects of ProviderType'
Throws:
ProviderRegistrationException

getValidationProviders

public java.util.ArrayList getValidationProviders()
                                           throws ProviderRegistrationException
Returns:
List of validation providers 'List of objects of ProviderType'
Throws:
ProviderRegistrationException

addReconTransportProviderInCash

public void addReconTransportProviderInCash(ProviderType provider)
Adds a reconciliation transport provider to the ArrayList 'reconTransportProviderAL'(List of registered providers)
Parameters:
provider -

addReconFormatProviderALInCash

public void addReconFormatProviderALInCash(ProviderType provider)
Adds a reconciliation format provider to the ArrayList 'reconFormatProviderAL'(List of registered providers)
Parameters:
provider -

addProvTransportProviderALInCash

public void addProvTransportProviderALInCash(ProviderType provider)
Adds a provisioning transport provider to the ArrayList 'provTransportProviderAL'(List of registered providers)
Parameters:
provider -

addProvFormatProviderALInCash

public void addProvFormatProviderALInCash(ProviderType provider)
Adds a provisioning format provider to the ArrayList 'provFormatProviderAL'(List of registered providers)
Parameters:
provider -

addTransformationProviderALInCash

public void addTransformationProviderALInCash(ProviderType provider)
Adds a transformation provider to the ArrayList 'transformationProviderAL'(List of registered providers)
Parameters:
provider -

addValidationProviderALInCash

public void addValidationProviderALInCash(ProviderType provider)
Adds a validation provider to the ArrayList 'validationProviderAL'(List of registered providers)
Parameters:
provider -

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception

reset

public static void reset()

Skip navigation links


Copyright © 2010, Oracle and/or its affiliates. All rights reserved.