|
Oracle® Fusion Middleware Remote Intradoc Client (RIDC) Java API Reference 11g Release 1 (11.1.1) E17274-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.stellent.ridc.IdcClientManager
public class IdcClientManager
Manages the IDC clients. Can be used to create new clients by URL and also store and manage instances of the clients by name.
Field Summary | |
---|---|
static java.lang.String |
HTTP_PROTOCOL |
static java.lang.String |
HTTPS_PROTOCOL |
static java.lang.String |
IDC_PROTOCOL |
static java.lang.String |
IDCS_PROTOCOL |
static java.lang.String |
JAXWS_PROTOCOL |
static java.lang.String |
WSDL_URL_IDENTIFIER |
Constructor Summary | |
---|---|
IdcClientManager() |
Method Summary | |
---|---|
void |
addClient(java.lang.String name, IdcClient client) Register a client with a given name |
IdcClient |
createClient(java.lang.String url) Create a new client instance based on the given URL. |
IdcClient |
getClient(java.lang.String name) Retrieve a client by name |
java.util.Collection<java.lang.String> |
getClientNames() |
ConnectionPoolManager |
getConnectionPoolManager() |
IdcClientProvider |
getProvider(java.lang.String protocol) Retrieve a provider by protocol name |
IdcClientProvider |
getProvider(java.lang.String protocol, java.lang.String url) Returns the provider based on the protocol as well as the URL. |
void |
registerProvider(java.lang.String protocol, IdcClientProvider provider) Register a provider. |
void |
removeClient(java.lang.String name) Remove a client by name |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String WSDL_URL_IDENTIFIER
public static final java.lang.String IDC_PROTOCOL
public static final java.lang.String IDCS_PROTOCOL
public static final java.lang.String HTTP_PROTOCOL
public static final java.lang.String HTTPS_PROTOCOL
public static final java.lang.String JAXWS_PROTOCOL
Constructor Detail |
---|
public IdcClientManager()
Method Detail |
---|
public void registerProvider(java.lang.String protocol, IdcClientProvider provider)
protocol
- the protocol of the URL to create the client (i.e. idc, http, etc.)provider
- the provider implementationpublic IdcClientProvider getProvider(java.lang.String protocol)
protocol
- the protocol namepublic IdcClientProvider getProvider(java.lang.String protocol, java.lang.String url)
protocol
- the protocol nameurl
- the url that the client is accessingpublic ConnectionPoolManager getConnectionPoolManager()
public IdcClient createClient(java.lang.String url) throws IdcClientException
url
- the url to the Content ServerIdcClientException
- if the client cannot be createdpublic IdcClient getClient(java.lang.String name)
name
- the client namepublic void addClient(java.lang.String name, IdcClient client)
name
- the client nameclient
- the client instancepublic void removeClient(java.lang.String name)
name
- the client namepublic java.util.Collection<java.lang.String> getClientNames()
|
Oracle® Fusion Middleware Remote Intradoc Client (RIDC) Java API Reference 11g Release 1 (11.1.1) E17274-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |