IBM WebSphereTM eXtreme Scale, Release 8.6
API Specification

com.ibm.websphere.objectgrid.adapter
Interface WebSpherePMAdapter


public interface WebSpherePMAdapter

This interface is used by J2EE applications, in particular CMP 2.x applications. It allows access to an ObjectMap instance, especially to those CMP beans which use ObjectGrid as their external cache. Usage: PMCacheOperation op = InitialContext.lookup(PMCacheOperation.JNDI_NAME); WebSpherePMAdapter adapter = (WebSpherePMAdapter)op.getCacheTransaction("app_name",readOnly); ObjectMap objectMap=adapter.getMap("map_name");

Since:
WAS XD 6.0.1
See Also:
ObjectMap, ObjectGrid

Method Summary
 ObjectMap getMap(String name)
          Retrieves an ObjectMap for transactional access to a ObjectGrid map.
 

Method Detail

getMap

ObjectMap getMap(String name)
Retrieves an ObjectMap for transactional access to a ObjectGrid map.

Parameters:
name - the name of the map as defined in the configuration. Mostly it is moduleName#BeanName
Returns:
an ObjectMap instance or null if map with the specified name is not defined.

IBM WebSphereTM eXtreme Scale, Release 8.6
API Specification

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