Oracle® Fusion Middleware .NET API Reference for Identity Connector Framework  E57662-01
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
Public Member Functions | List of all members
Org.IdentityConnectors.Framework.Spi.PoolableConnector Interface Reference

To be implemented by Connectors that wish to be pooled. More...

Inherits Org.IdentityConnectors.Framework.Spi.Connector.

Public Member Functions

void CheckAlive ()
 Checks if the connector is still alive. More...
 
- Public Member Functions inherited from Org.IdentityConnectors.Framework.Spi.Connector
void Init (Configuration configuration)
 Initialize the connector with its configuration. For instance in a JDBC Connector this would include the database URL, password, and user. More...
 

Detailed Description

To be implemented by Connectors that wish to be pooled.

Member Function Documentation

void Org.IdentityConnectors.Framework.Spi.PoolableConnector.CheckAlive ( )

Checks if the connector is still alive.

A connector can spend a large amount of time in the pool before being used. This method is intended to check if the connector is alive and operations can be invoked on it (for instance, an implementation would check that the connector's physical connection to the resource has not timed out).

The major difference between this method and M:TestOp.Test is that this method must do only the minimum that is necessary to check that the connector is still alive. TestOp.Test() does a more thorough check of the environment specified in the Configuration, and can therefore be much slower.

This method can be called often. Implementations should do their best to keep this method fast.

Exceptions
System.Exceptionif the connector is no longer alive.

The documentation for this interface was generated from the following file: