Skip navigation links

Oracle® Fusion Middleware Remote Intradoc Client (RIDC) Java API Reference
11g Release 1 (11.1.1)

E17274-02


oracle.stellent.ridc.protocol
Interface ConnectionManager<TConnection extends Connection,TClientConfig extends IdcClientConfig>

All Known Implementing Classes:
IdcHttpConnectionManager, JaxWSConnectionManager, SocketConnectionManager, SSLSocketConnectionManager

public interface ConnectionManager<TConnection extends Connection,TClientConfig extends IdcClientConfig>

Provides common lifecycle methods for different connection implementations and protocols


Method Summary
 void cleanupConnection(TConnection connection)
          Cleanup the connection on this service request
 TConnection createConnection(TClientConfig clientConfig)
          Create a new connection.
 void initializeConnection(TConnection connection)
          Initialize a connection acquired from the threading model to use with this service request object.

 

Method Detail

createConnection

TConnection createConnection(TClientConfig clientConfig)
                                                throws ProtocolException
Create a new connection. This will be called to populate the threading model. This connection should be initialized and cleaned up.
Parameters:
clientConfig - the client configuration
Returns:
the new connection
Throws:
ProtocolException

initializeConnection

void initializeConnection(TConnection connection)
                          throws ProtocolException
Initialize a connection acquired from the threading model to use with this service request object.
Parameters:
connection - the connection
Throws:
ProtocolException

cleanupConnection

void cleanupConnection(TConnection connection)
Cleanup the connection on this service request
Parameters:
connection - the connection

Skip navigation links

Oracle® Fusion Middleware Remote Intradoc Client (RIDC) Java API Reference
11g Release 1 (11.1.1)

E17274-02


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