Package org.jpox.store.rdbms.request

Examples of org.jpox.store.rdbms.request.LocateRequest


     */
    public void locateObject(StateManager sm)
    {
        ClassLoaderResolver clr = sm.getObjectManager().getClassLoaderResolver();
        DatastoreClass table = storeMgr.getDatastoreClass(sm.getObject().getClass().getName(), clr);
        LocateRequest req = getLocateRequest(table, sm.getObject().getClass().getName());
        req.execute(sm);
    }
View Full Code Here


     * @return A locate request object.
     */
    private LocateRequest getLocateRequest(DatastoreClass table, String className)
    {
        RequestIdentifier reqID = new RequestIdentifier(table, null, RequestIdentifier.Type.LOCATE, className);
        LocateRequest req = (LocateRequest) requestsByID.get(reqID);
        if (req == null)
        {
            req = new LocateRequest(table);
            requestsByID.put(reqID, req);
        }
        return req;
    }
View Full Code Here

TOP

Related Classes of org.jpox.store.rdbms.request.LocateRequest

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.