IdentityApplication

public class IdentityApplication extends Application<IdentityApplication.ApplicationHelper, IdentityConnectorContext>

Main object and access point for the SDK.

Every connector begins execution by creating an instance of this class and calling its start() method. This starts processing, triggering the SDK to begin making connector calls as configured in the configuration file.

Sample usage:

public static void main(String[] args) throws IOException, InterruptedException {
     IdentityApplication application = new IdentityApplication.Builder(
         new MyIdentityConnector(new MyIdentityRepository()), args).build();
     application.start();
   } 
 

Optional configuration parameter(s):

  • schedule.incrementalTraversalIntervalSecs - Specifies the interval between scheduled incremental traversals (in seconds).
  • schedule.performTraversalOnStart - Specifies whether to run the traversal immediately at start up rather than waiting for the first interval to expire.
  • schedule.traversalIntervalSecs - Specifies the interval between scheduled traversals (in seconds).
  • connector.runOnce - Specifies whether the connector should exit after a single traversal.

Nested Class Summary

class IdentityApplication.Builder  

Inherited Constant Summary

Inherited Field Summary

Public Method Summary

synchronized void
shutdown(String event)
void
start()
Begins connector execution by initializing and starting the SDK.

Protected Method Summary

IdentityConnectorContext
buildConnectorContext()
Returns a connector context.

Inherited Method Summary

Public Methods

public synchronized void shutdown (String event)

Parameters
event

public void start ()

Begins connector execution by initializing and starting the SDK.

This is the main entry point for the SDK. This method initializes all the objects used in traversing a repository and schedules the traversals based on the configuration parameters.

Throws
InterruptedException if aborted during start up

Protected Methods

protected IdentityConnectorContext buildConnectorContext ()

Returns a connector context. Connectors that extend ConnectorContext, should override this method.

Send feedback about...

Cloud Search
Cloud Search