public final class ObjectGridClientBean extends Object implements InitializingBean
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 and Description |
|---|
ObjectGridClientBean() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
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 InitializingBeanException - if setCatalogServiceDomain(ObjectGridCatalogServiceDomainBean) has not been
called prior or an error occurs retrieving the ObjectGrid.InitializingBean.afterPropertiesSet()