|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.sf.jso.remote.StorageManagerProxy
Proxy for remote storage managers.
| Constructor Summary | |
StorageManagerProxy(RemoteStorageManager aManager)
Constructs the proxy. |
|
| Method Summary | |
void |
addStatusListener(StatusListener listener)
Not supported. |
void |
addStorageListener(StorageListener listener)
Not supported. |
void |
batchStore(java.util.Collection objs,
boolean deep)
Not supported. |
void |
classAltered(SchemaEvent event)
Called when a class in the schema is altered. |
void |
classDropped(SchemaEvent event)
Called when a class in the schema is dropped. |
int |
count(Parameters params)
Not supported. |
int |
count(Parameters params,
Transaction tx)
Not supported. |
int |
countPages(Parameters params)
Not supported. |
int |
countPages(Parameters params,
Transaction tx)
Not supported. |
OID |
createOID(java.lang.Object obj)
Not supported. |
void |
delete(java.lang.Object obj)
Not supported. |
void |
delete(OID oid)
Not supported. |
int |
delete(Parameters params)
Not supported. |
boolean |
equals(java.lang.Object o)
Indicates whether some other proxy is "equal to" this one. |
ManagerInfo |
getManagerInfo()
Not supported. |
OID |
getOID(java.lang.Object obj)
Not supported. |
Status |
getStatus()
Not supported. |
Transaction |
getTransaction()
Not supported. |
int |
hashCode()
Returns a hash code value for the proxy. |
void |
invalidateCache()
Not supported. |
boolean |
isRemote()
Indicates if manager is running on another JVM. |
void |
objectDeleted(StorageEvent event)
Called when an object is deleted. |
void |
objectStored(StorageEvent event)
Called when an object is stored. |
void |
removeStatusListener(StatusListener listener)
Not supported. |
void |
removeStorageListener(StorageListener listener)
Not supported. |
java.lang.Object |
retrieve(OID oid)
Not supported. |
java.lang.Object |
retrieve(OID oid,
boolean summary)
Not supported. |
java.lang.Object |
retrieve(OID oid,
boolean summary,
boolean lazy)
Not supported. |
java.util.List |
retrieve(Parameters params)
Not supported. |
java.util.List |
retrieve(Parameters params,
Transaction tx)
Not supported. |
void |
start(StorageController aController)
Not supported. |
void |
statusChanged(StatusEvent event)
Called when a status change occur. |
void |
stop()
Not supported. |
OID |
store(java.lang.Object obj)
Not supported. |
OID |
store(java.lang.Object obj,
boolean deep)
Not supported. |
void |
subclassCreated(SchemaEvent event)
Called when a class in the schema is created and is subclass of another class. |
void |
subclassDropped(SchemaEvent event)
Called when a class in the schema is dropped and is subclass of another class. |
void |
unlinkTransientObjects()
Not supported. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public StorageManagerProxy(RemoteStorageManager aManager)
aManager - Reference to remote storage manager.| Method Detail |
public void start(StorageController aController)
throws StorageException
start in interface StorageManageraController - Application's controller.
RuntimeStorageException - Always.
StorageException
public void stop()
throws StorageException
stop in interface StorageManagerRuntimeStorageException - Always.
StorageExceptionpublic Status getStatus()
getStatus in interface StorageManagerRuntimeStorageException - Always.public boolean isRemote()
StorageManager
isRemote in interface StorageManagertrue if manager is running on another JVM;
false otherwise.StorageManager.isRemote()public void invalidateCache()
invalidateCache in interface StorageManagerRuntimeStorageException - Always.public ManagerInfo getManagerInfo()
getManagerInfo in interface StorageManagerRuntimeStorageException - Always.
public Transaction getTransaction()
throws StorageException
getTransaction in interface StorageManagerRuntimeStorageException - Always.
StorageExceptionpublic OID createOID(java.lang.Object obj)
createOID in interface StorageManagerobj - An OID representation. Usually a String or
Number object.
RuntimeStorageException - Always.
public OID getOID(java.lang.Object obj)
throws StorageException
getOID in interface StorageManagerobj - The object to be identified.
RuntimeStorageException - Always.
StorageExceptionpublic void unlinkTransientObjects()
unlinkTransientObjects in interface StorageManagerRuntimeStorageException - Always.
public OID store(java.lang.Object obj)
throws StorageException
store in interface StorageManagerobj - The object to be stored.
RuntimeStorageException - Always.
StorageException - If any storage operation fails.
public OID store(java.lang.Object obj,
boolean deep)
throws StorageException
store in interface StorageManagerobj - The object to be stored.deep - Indicates if referenced objects should also be stored.
RuntimeStorageException - Always.
StorageException - If any storage operation fails.
public void batchStore(java.util.Collection objs,
boolean deep)
throws StorageException
batchStore in interface StorageManagerobjs - The collection of object to be stored.deep - Indicates if referenced objects should also be stored.
RuntimeStorageException - Always.
StorageException - If any storage operation fails.
public java.lang.Object retrieve(OID oid)
throws StorageException
retrieve in interface StorageManageroid - The identification of object to be stored.
RuntimeStorageException - Always.
StorageException - If any storage operation fails.
public java.lang.Object retrieve(OID oid,
boolean summary)
throws StorageException
retrieve in interface StorageManageroid - The identification of object to be stored.summary - Indicates if only summary fields should be retrieved.
RuntimeStorageException - Always.
StorageException - If any storage operation fails.
public java.lang.Object retrieve(OID oid,
boolean summary,
boolean lazy)
throws StorageException
retrieve in interface StorageManageroid - The identification of object to be stored.summary - Indicates if only summary fields should be retrieved.lazy - Indicates if referenced objects should be lazy loaded.
RuntimeStorageException - Always.
StorageException - If any storage operation fails.
public void delete(java.lang.Object obj)
throws StorageException
delete in interface StorageManagerobj - The object to be deleted.
RuntimeStorageException - Always.
StorageException - If any storage operation fails.
public void delete(OID oid)
throws StorageException
delete in interface StorageManageroid - The identification of object to be deleted.
RuntimeStorageException - Always.
StorageException - If any storage operation fails.
public int delete(Parameters params)
throws StorageException
delete in interface StorageManagerparams - Parameters to be used.
RuntimeStorageException - Always.
StorageException - If any storage operation fails.public void addStatusListener(StatusListener listener)
addStatusListener in interface StorageManagerlistener - Listener to receive status events.
RuntimeStorageException - Always.public void removeStatusListener(StatusListener listener)
removeStatusListener in interface StorageManagerlistener - Listener to stop receiving status events.
RuntimeStorageException - Always.public void addStorageListener(StorageListener listener)
addStorageListener in interface StorageManagerlistener - Listener to receive storage events.
RuntimeStorageException - Always.public void removeStorageListener(StorageListener listener)
removeStorageListener in interface StorageManagerlistener - Listener to stop receiving storage events.
RuntimeStorageException - Always.
public int count(Parameters params,
Transaction tx)
throws StorageException
RuntimeStorageException - Always.
StorageException
public int count(Parameters params)
throws StorageException
count in interface QueryProcessorparams - Parameters to be used.
RuntimeStorageException - Always.
StorageException - If any storage operation fails.
public int countPages(Parameters params,
Transaction tx)
throws StorageException
RuntimeStorageException - Always.
StorageException
public int countPages(Parameters params)
throws StorageException
countPages in interface QueryProcessorparams - Parameters to be used.
RuntimeStorageException - Always.
StorageException - If any storage operation fails.
public java.util.List retrieve(Parameters params,
Transaction tx)
throws StorageException
RuntimeStorageException - Always.
StorageException
public java.util.List retrieve(Parameters params)
throws StorageException
retrieve in interface QueryProcessorparams - Parameters to be used.
RuntimeStorageException - Always.
StorageException - If any storage operation fails.public void statusChanged(StatusEvent event)
StatusListener
statusChanged in interface StatusListenerStatusListener.statusChanged(StatusEvent)public void objectStored(StorageEvent event)
StorageListener
objectStored in interface StorageListenerStorageListener.objectStored(StorageEvent)public void objectDeleted(StorageEvent event)
StorageListener
objectDeleted in interface StorageListenerStorageListener.objectDeleted(StorageEvent)public void classAltered(SchemaEvent event)
SchemaListener
classAltered in interface SchemaListenerSchemaListener.classAltered(SchemaEvent)public void classDropped(SchemaEvent event)
SchemaListener
classDropped in interface SchemaListenerSchemaListener.classDropped(SchemaEvent)public void subclassCreated(SchemaEvent event)
SchemaListener
subclassCreated in interface SchemaListenerSchemaListener.subclassCreated(SchemaEvent)public void subclassDropped(SchemaEvent event)
SchemaListener
subclassDropped in interface SchemaListenerSchemaListener.subclassDropped(SchemaEvent)public boolean equals(java.lang.Object o)
o - The object with which to compare.
true if the proxy is the same as the proxy argument;
false otherwise.public int hashCode()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||