|
Oracle® Fusion Middleware Java API Reference for Oracle WebCenter Content Remote Intradoc Client (RIDC) 11g Release 1 (11.1) E17274-05 |
|||||||||
| 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 String |
HTTP_PROTOCOL |
static String |
HTTPS_PROTOCOL |
static String |
IDC_PROTOCOL |
static String |
IDCS_PROTOCOL |
static String |
JAXWS_PROTOCOL |
static String |
WSDL_URL_IDENTIFIER |
| Constructor Summary | |
|---|---|
IdcClientManager() |
|
IdcClientManager(IdcClientProfile clientProfile) |
|
| Method Summary | |
|---|---|
void |
addClient(String name, IdcClient client)Register a client with a given name |
IdcClient |
createClient(String url)Create a new client instance based on the given URL. |
IdcClient |
getClient(String name)Retrieve a client by name |
Collection<String> |
getClientNames() |
ConnectionPoolManager |
getConnectionPoolManager() |
IdcFilterManager |
getFilterManager() |
IdcClientProvider |
getProvider(String protocol)Retrieve a provider by protocol name |
IdcClientProvider |
getProvider(String protocol, String url)Returns the provider based on the protocol as well as the URL. |
void |
registerProvider(String protocol, IdcClientProvider provider)Register a provider. |
void |
removeClient(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 String WSDL_URL_IDENTIFIER
public static final String IDC_PROTOCOL
public static final String IDCS_PROTOCOL
public static final String HTTP_PROTOCOL
public static final String HTTPS_PROTOCOL
public static final String JAXWS_PROTOCOL
| Constructor Detail |
|---|
public IdcClientManager(IdcClientProfile clientProfile)
public IdcClientManager()
| Method Detail |
|---|
public void registerProvider(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(String protocol)
protocol - the protocol name
public IdcClientProvider getProvider(String protocol,
String url)
protocol - the protocol nameurl - the url that the client is accessingpublic ConnectionPoolManager getConnectionPoolManager()
public IdcFilterManager getFilterManager()
public IdcClient createClient(String url)
throws IdcClientException
url - the url to the Content ServerIdcClientException - if the client cannot be createdpublic IdcClient getClient(String name)
name - the client name
public void addClient(String name,
IdcClient client)
name - the client nameclient - the client instancepublic void removeClient(String name)
name - the client namepublic Collection<String> getClientNames()
|
Oracle® Fusion Middleware Java API Reference for Oracle WebCenter Content Remote Intradoc Client (RIDC) 11g Release 1 (11.1) E17274-05 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||