|
Oracle® Fusion Middleware Remote Intradoc Client (RIDC) Java API Reference 11g Release 1 (11.1.1) E17274-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.stellent.ridc.IdcClient<TConfig,TProtocol,TConnection>
public abstract class IdcClient<TConfig extends IdcClientConfig,TProtocol extends Protocol,TConnection extends Connection>
Represents a connection to a single Content Server.
Constructor Summary | |
---|---|
protected |
IdcClient(IdcClientManager clientManager, TConfig clientConfig) |
Method Summary | |
---|---|
DataBinder |
createBinder() |
protected abstract ConnectionManager<TConnection,TConfig> |
createConnectionManager() Create the connection manager |
protected ConnectionPool<TConnection> |
createConnectionPool() |
protected abstract TProtocol |
createProtocol(ServiceRequest<TConnection> serviceRequest) Create the protocol to handle the request |
protected ServiceRequest<TConnection> |
createRequest(IdcContext userContext, DataBinder dataBinder, TConnection connection) Create the service request object |
protected ServiceResponse |
createResponse(ServiceRequest<TConnection> request, Protocol protocol, ServiceResponse response) Analyze the response from the protocol and return |
TConfig |
getConfig() |
ConnectionManager<TConnection,TConfig> |
getConnectionManager() |
ConnectionPool<TConnection> |
getConnectionPool() |
DataFactory |
getDataFactory() |
void |
initialize() Initialize the client. |
boolean |
isInitialized() |
ServiceResponse |
sendRequest(IdcContext userContext, DataBinder dataBinder) Execute the request; sends the request to the Content Server and reads the response. |
void |
setDataFactory(DataFactory dataFactory) Set the data factory for this client |
void |
setInitialized(boolean initialized) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected IdcClient(IdcClientManager clientManager, TConfig clientConfig)
Method Detail |
---|
public void setInitialized(boolean initialized)
public void initialize() throws IdcClientException
IdcClientException
public boolean isInitialized()
public DataFactory getDataFactory()
public DataBinder createBinder()
public void setDataFactory(DataFactory dataFactory)
dataFactory
- the factory used to create the data model objectspublic TConfig getConfig()
public ConnectionPool<TConnection> getConnectionPool() throws ProtocolException
ProtocolException
- if the pool cannot be createdpublic ConnectionManager<TConnection,TConfig> getConnectionManager()
public ServiceResponse sendRequest(IdcContext userContext, DataBinder dataBinder) throws IdcClientException
userContext
- the user contextdataBinder
- the data binder objectIdcClientException
protected abstract TProtocol createProtocol(ServiceRequest<TConnection> serviceRequest) throws ProtocolException
serviceRequest
- the service requestProtocolException
protected abstract ConnectionManager<TConnection,TConfig> createConnectionManager()
protected ServiceRequest<TConnection> createRequest(IdcContext userContext, DataBinder dataBinder, TConnection connection)
userContext
- the user contextdataBinder
- the data binderconnection
- the connectionprotected ServiceResponse createResponse(ServiceRequest<TConnection> request, Protocol protocol, ServiceResponse response)
request
- the request objectprotocol
- the protocol handlerresponse
- the response from the protocol handlerprotected ConnectionPool<TConnection> createConnectionPool() throws ProtocolException
ProtocolException
- if the pool cannot be created
|
Oracle® Fusion Middleware Remote Intradoc Client (RIDC) Java API Reference 11g Release 1 (11.1.1) E17274-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |