|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.wsspi.collective.repository.RepositoryConnectionFactory
public class RepositoryConnectionFactory
The RepositoryConnectionFactory creates (or retrieves) RepositoryClient
and RepositoryMember
.
The RepositoryClient
or RepositoryMember
returned can be
held for a reasonable amount of time, and changes to the collective feature
configuration will be gracefully handled.
The RepositoryConnectionFactory is also exposed as an OSGi service so that consumers of the service can block until the RepositoryConnectionFactory is ready, that is at least the RepositoryClient and RepositoryMember are available.
Constructor Summary | |
---|---|
RepositoryConnectionFactory()
|
Method Summary | |
---|---|
static RepositoryClient |
getRepositoryClient()
Retrieve a RepositoryClient connection. |
static RepositoryMember |
getRepositoryMember()
Retrieve a RepositoryMember connection. |
RepositoryClient |
obtainRepositoryClient()
Instance method used to invoke getRepositoryClient() . |
RepositoryMember |
obtainRepositoryMember()
Instance method used to invoke getRepositoryMember() . |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RepositoryConnectionFactory()
Method Detail |
---|
public static RepositoryClient getRepositoryClient()
If no implementation is available, null
will be returned and an error message will be logged.
RepositoryClient
implementation if available, null
otherwise.public RepositoryClient obtainRepositoryClient()
getRepositoryClient()
.
This method is used for obtaining the RepositoryClient when the RepositoryConnectionFactory is used as a service.
getRepositoryClient()
public static RepositoryMember getRepositoryMember()
If no implementation is available, null
will be returned and an error message will be logged.
RepositoryMember
implementation if available, null
otherwise.public RepositoryMember obtainRepositoryMember()
getRepositoryMember()
.
This method is used for obtaining the RepositoryMember when the RepositoryConnectionFactory is used as a service.
getRepositoryMember()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |