org.apache.openjpa.kernel
Interface PCResultObjectProvider

All Superinterfaces:
Closeable, ResultObjectProvider
All Known Implementing Classes:
AbstractPCResultObjectProvider

public interface PCResultObjectProvider
extends ResultObjectProvider

Variant of ResultObjectProvider that populates a OpenJPAStateManager object in an application-defined manner. Implementations of this interface can be used to customize data loading.

Author:
Patrick Linskey
See Also:
AbstractPCResultObjectProvider

Method Summary
 void initialize(OpenJPAStateManager sm, PCState state, FetchConfiguration fetch)
          Initializes the state manager.
 
Methods inherited from interface org.apache.openjpa.lib.rop.ResultObjectProvider
absolute, close, getResultObject, handleCheckedException, next, open, reset, size, supportsRandomAccess
 

Method Detail

initialize

void initialize(OpenJPAStateManager sm,
                PCState state,
                FetchConfiguration fetch)
                throws Exception
Initializes the state manager.

Throws:
Exception
See Also:
StoreManager.initialize(org.apache.openjpa.kernel.OpenJPAStateManager, org.apache.openjpa.kernel.PCState, org.apache.openjpa.kernel.FetchConfiguration, java.lang.Object)


Copyright © 2006-2010 Apache Software Foundation. All Rights Reserved.