Project Wonder 5.0

er.distribution.client
Class ERDistributedObjectStore

java.lang.Object
  extended by com.webobjects.eocontrol.EOObjectStore
      extended by com.webobjects.eodistribution.client.EODistributedObjectStore
          extended by er.distribution.client.ERDistributedObjectStore
All Implemented Interfaces:
com.webobjects.eodistribution.common._EODistributionCallbacks.ObjectStore, NSDisposable, NSLocking

public class ERDistributedObjectStore
extends com.webobjects.eodistribution.client.EODistributedObjectStore

Adds some new functionality


Field Summary
 
Fields inherited from class com.webobjects.eodistribution.client.EODistributedObjectStore
_CLASS
 
Fields inherited from class com.webobjects.eocontrol.EOObjectStore
_doAssertLock, _doAssertLockInitialized, _userInfo, _wasDisposed, DeletedKey, InsertedKey, InvalidatedAllObjectsInStoreNotification, InvalidatedKey, ObjectsChangedInStoreNotification, UpdatedKey
 
Fields inherited from interface com.webobjects.foundation.NSLocking
OneCentury, OneDay, OneHour, OneMinute, OneSecond, OneWeek, OneYear
 
Constructor Summary
ERDistributedObjectStore(com.webobjects.eodistribution.client.EODistributionChannel channel)
           
 
Method Summary
static Class<?>[] classesForObjects(Object[] arguments)
           
static ERDistributedObjectStore connectToServer()
           
static ERDistributedObjectStore connectToServer(com.webobjects.eodistribution.client.EODistributionChannel channel)
           
 Object invokeStatelessRemoteMethod(String methodName)
           
 Object invokeStatelessRemoteMethod(String methodName, Object... arguments)
           
 EOGlobalID login(String username, String password)
           
 String sessionID()
           
 void terminateSessionOnServer()
           
 
Methods inherited from class com.webobjects.eodistribution.client.EODistributedObjectStore
_classDescriptionNeededForClass, _classDescriptionNeededForEntityName, _collectChangesFromServer, _fetchSpecificationByName, _globalIDChanged, _invalidateObjectsDuringSave, _replacementObjectForDecodedObject, _replacementObjectForEncodedObject, _serverUpdate, _snapshotCountForGlobalID, arrayFaultWithSourceGlobalID, classDescriptionForGlobalID, distributionChannel, editingContextDidForgetObjectWithGlobalID, faultForGlobalID, faultForRawRow, initializeObject, invalidateAllObjects, invalidateObjectsWithGlobalIDs, invokeRemoteMethod, invokeRemoteMethod, invokeRemoteMethodWithKeyPath, invokeStatelessRemoteMethodWithKeyPath, isObjectLockedWithGlobalID, lock, lockObjectWithGlobalID, objectsForSourceGlobalID, objectsWithFetchSpecification, refaultObject, saveChangesInEditingContext, snapshotForSourceGlobalID, unlock
 
Methods inherited from class com.webobjects.eocontrol.EOObjectStore
_checkAssertLock, _resetAssertLock, _suppressAssertLock, dispose, setUserInfo, setUserInfoForKey, userInfo, userInfoForKey
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ERDistributedObjectStore

public ERDistributedObjectStore(com.webobjects.eodistribution.client.EODistributionChannel channel)
Method Detail

connectToServer

public static ERDistributedObjectStore connectToServer()
                                                throws ServerConnectionException
Throws:
ServerConnectionException

connectToServer

public static ERDistributedObjectStore connectToServer(com.webobjects.eodistribution.client.EODistributionChannel channel)
                                                throws ServerConnectionException
Throws:
ServerConnectionException

login

public EOGlobalID login(String username,
                        String password)
Parameters:
username -
password -
Returns:
the globalID for the User object which can be used to retrieve the User after authenticating

terminateSessionOnServer

public void terminateSessionOnServer()

sessionID

public String sessionID()

invokeStatelessRemoteMethod

public Object invokeStatelessRemoteMethod(String methodName)

invokeStatelessRemoteMethod

public Object invokeStatelessRemoteMethod(String methodName,
                                          Object... arguments)

classesForObjects

public static Class<?>[] classesForObjects(Object[] arguments)

Last updated: Wed, Feb 22, 2012 • 07:00 AM EST

Copyright © 2002 – 2011 Project Wonder.