FileDocCategorySizeDatePackage
ClientSessionIdentityMapAccessor.javaAPI DocGlassfish v2 API4614Tue May 22 16:54:42 BST 2007oracle.toplink.essentials.internal.sessions

ClientSessionIdentityMapAccessor

public class ClientSessionIdentityMapAccessor extends IdentityMapAccessor
INTERNAL: IdentityMapAccessor subclass for client sessions. Note: A client session will always use it's parent session's IdentityMapManager

Fields Summary
Constructors Summary
public ClientSessionIdentityMapAccessor(ClientSession session)
INTERNAL: Create a ClientSessionIdentityMapAccessor Since the parent session's identity map manager is used, an IdentityMapManager does not need to be supplied to the constructor

        super(session, null);
    
Methods Summary
public oracle.toplink.essentials.internal.identitymaps.IdentityMapManagergetIdentityMapManager()
INTERNAL: Return the IdentityMapManager for the client session. This overrides the IdentityMapAccessor version of getIdentityMapManager to return the parent session's IdentityMapManager

        return ((ClientSession)session).getParent().getIdentityMapAccessorInstance().getIdentityMapManager();
    
public voidinitializeAllIdentityMaps()
INTERNAL: Was PUBLIC: customer will be redirected to {@link oracle.toplink.essentials.sessions.Session}. Reset the entire object cache. This method blows away both this session's and its parents caches, including the server cache or any other cache. This throws away any objects that have been read in. Extream caution should be used before doing this because object identity will no longer be maintained for any objects currently read in. This should only be called if the application knows that it no longer has references to object held in the cache.

        ((ClientSession)session).getParent().getIdentityMapAccessor().initializeAllIdentityMaps();
    
public voidinitializeIdentityMap(java.lang.Class theClass)
INTERNAL: The client session does not have a local indentity map, so this has no effect and should not be used.

        ;// Do nothing	
    
public voidinitializeIdentityMaps()
INTERNAL: The client session does not have a local indentity map, so this has no effect and should not be used.

        ;// Do nothing	
    
public voidsetIdentityMapManager(oracle.toplink.essentials.internal.identitymaps.IdentityMapManager identityMapManager)
INTERNAL: The identity map manager cannot be set on a client session since it looks at it's parent session's identity map manager.