IBM WebSphereTM eXtreme Scale, Release 8.6
API Specification

com.ibm.websphere.objectgrid.spring
Class ObjectGridCatalogServiceDomainBean

java.lang.Object
  extended by com.ibm.websphere.objectgrid.spring.ObjectGridCatalogServiceDomainBean
All Implemented Interfaces:
InitializingBean

public final class ObjectGridCatalogServiceDomainBean
extends Object
implements InitializingBean

This class is a Spring bean representing a Catalog Service Domain for use with the WebSphere eXtreme Scale implementation of Spring's cache abstraction.

Users must provide the catalog service endpoints used to connect to the eXtreme Scale cluster/domain. Users optionally may provide a client override XML and/or a client security configuration.

Since:
8.5, XC10

Constructor Summary
ObjectGridCatalogServiceDomainBean()
           
 
Method Summary
 void afterPropertiesSet()
          Initializes the connection to the Catalog Service Domain.
 void setCatalogServiceEndpoints(String catalogServiceEndpoints)
          Sets the catalog service endpoints used to connect to the cluster/domain.
 void setClientOverrideXml(Resource clientOverrideXml)
          Sets the location of the client override XML.
 void setClientSecurityConfig(Resource clientSecurityConfiguration)
          Sets the location of the client security configuration.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectGridCatalogServiceDomainBean

public ObjectGridCatalogServiceDomainBean()
Method Detail

setCatalogServiceEndpoints

public void setCatalogServiceEndpoints(String catalogServiceEndpoints)
Sets the catalog service endpoints used to connect to the cluster/domain.

Parameters:
catalogServiceEndpoints - The catalog service endpoints to connect to the cluster/domain

setClientOverrideXml

public void setClientOverrideXml(Resource clientOverrideXml)
Sets the location of the client override XML.

Parameters:
clientOverrideXml - The location of the client override XML.

setClientSecurityConfig

public void setClientSecurityConfig(Resource clientSecurityConfiguration)
Sets the location of the client security configuration.

Parameters:
clientSecurityConfiguration - The location of the client security configuration.

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception
Initializes the connection to the Catalog Service Domain. This method is to be called after all setter methods have been called and will throw an IllegalArgumentException if setCatalogServiceEndpoints(String) have not been called prior.

Specified by:
afterPropertiesSet in interface InitializingBean
Throws:
Exception - if setCatalogServiceEndpoints(String) have not been called prior or an error occurs initializing the connection.
See Also:
InitializingBean.afterPropertiesSet()

IBM WebSphereTM eXtreme Scale, Release 8.6
API Specification

© Copyright International Business Machines Corp 2005,2012. All rights reserved.