|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.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.
| 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 |
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 |
| 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 name
public ConnectionPoolManager getConnectionPoolManager()
public IdcClient createClient(java.lang.String url)
throws IdcClientException
url - the url to the Content Server
IdcClientException - if the client cannot be createdpublic IdcClient getClient(java.lang.String name)
name - the client name
public 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()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||