IBM WebSphereTM eXtreme Scale, Release 8.6
API Specification

com.ibm.websphere.objectgrid.plugins.io.dataobject
Interface DataObjectContext


public interface DataObjectContext

Context for for interacting with a data object. A DataObjectContext can be retrieved from a SerializerAccessor using the SerializerAccessor.getDefaultContext() method. It is also passed into each DataSerializer method.

Since:
7.1.1

Method Summary
 XsDataStreamManager getDataStreamManager()
          Return the data stream manager associated with this DataObjectContext
 DataObjectKeyFactory getKeyFactory()
          Returns a KeyFactory used to create Key objects.
 SerializerAccessor getSerializerAccessor()
          Retrieve the SerializerAccessor associated with this DataObjectContext
 DataObjectValueFactory getValueFactory()
          Returns a ValueFactory used to create Value objects.
 

Method Detail

getSerializerAccessor

SerializerAccessor getSerializerAccessor()
Retrieve the SerializerAccessor associated with this DataObjectContext

Returns:
the SerializerAccessor instance

getDataStreamManager

XsDataStreamManager getDataStreamManager()
Return the data stream manager associated with this DataObjectContext

Returns:
the XsDataStreamManager instance

getKeyFactory

DataObjectKeyFactory getKeyFactory()
Returns a KeyFactory used to create Key objects.

Returns:
a KeyFactory

getValueFactory

DataObjectValueFactory getValueFactory()
Returns a ValueFactory used to create Value objects.

Returns:
a ValueFactory

IBM WebSphereTM eXtreme Scale, Release 8.6
API Specification

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