|
IBM WebSphereTM eXtreme Scale, Release 8.6 API Specification |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.websphere.objectgrid.spring.ObjectGridClientBean
public final class ObjectGridClientBean
This class is a Spring bean representing an ObjectGrid client instance for use with the WebSphere eXtreme Scale implementation of Spring's cache abstraction.
Users must provide a ObjectGridCatalogServiceDomainBean
to configure this client. The ObjectGrid name is optional
when using the provided XML configuration files.
Constructor Summary | |
---|---|
ObjectGridClientBean()
|
Method Summary | |
---|---|
void |
afterPropertiesSet()
Initializes the client bean. |
void |
setCatalogServiceDomain(ObjectGridCatalogServiceDomainBean catalogServiceDomain)
Sets the ObjectGridCatalogServiceDomainBean used by the client. |
void |
setObjectGridName(String objectGridName)
Sets the name of the ObjectGrid for the client. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ObjectGridClientBean()
Method Detail |
---|
public void setObjectGridName(String objectGridName)
objectGridName
- The name of the ObjectGrid to connect to.public void setCatalogServiceDomain(ObjectGridCatalogServiceDomainBean catalogServiceDomain)
ObjectGridCatalogServiceDomainBean
used by the client.
catalogServiceDomain
- The ObjectGridCatalogServiceDomainBean
for the client.public void afterPropertiesSet() throws Exception
IllegalArgumentException
if
setCatalogServiceDomain(ObjectGridCatalogServiceDomainBean)
has not been called prior.
afterPropertiesSet
in interface InitializingBean
Exception
- if setCatalogServiceDomain(ObjectGridCatalogServiceDomainBean)
has not been
called prior or an error occurs retrieving the ObjectGrid.InitializingBean.afterPropertiesSet()
|
IBM WebSphereTM eXtreme Scale, Release 8.6 API Specification |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |