Package org.eclipse.ecf.provider.generic
Class SOManager
java.lang.Object
org.eclipse.ecf.provider.generic.SOManager
- All Implemented Interfaces:
ISharedObjectManager
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
addSharedObject
(ID sharedObjectID, ISharedObject sharedObject, Map properties) Add an ISharedObject to this container.connectSharedObjects
(ID sharedObjectFrom, ID[] sharedObjectsTo) Create an ISharedObjectConnector instance for sending messages from a single ISharedObject to one or more receiver ISharedObjects.protected ID
createNewSharedObjectID
(SharedObjectDescription sd, ISharedObject newObject) Create a new ISharedObject within this container from the given SharedObjectDescription.protected ISharedObject
createSharedObjectInstance
(Class newClass, Class[] argTypes, Object[] args) protected void
void
disconnectSharedObjects
(ISharedObjectConnector connector) Destroy an ISharedObjectConnector instance.protected void
dispose()
protected Class[]
getArgTypes
(String[] argTypes, Object[] args, ClassLoader cl) static Class[]
getClassesForTypes
(String[] argTypes, Object[] args, ClassLoader cl) protected List
getSharedObject
(ID sharedObjectID) Get the ISharedObject instance corresponding to the given sharedObjectID.getSharedObjectConnectors
(ID sharedObjectFrom) Get the sharedObjectConnectors associated with the given sharedObjectIDID[]
Get the array of SharedObject instances currently contained by this ISharedObjectContainerprotected ISharedObject
protected boolean
removeSharedObject
(ID sharedObjectID) Remove the given sharedObjectID from this ISharedObjectContainer.void
Set this shared object manager's policy for adding remote shared objects.protected void
traceStack
(String msg, Throwable e) protected ISharedObject
verifySharedObject
(Object newSharedObject)
-
Constructor Details
-
SOManager
-
-
Method Details
-
debug
-
traceStack
-
getConnectors
-
getArgTypes
protected Class[] getArgTypes(String[] argTypes, Object[] args, ClassLoader cl) throws ClassNotFoundException - Throws:
ClassNotFoundException
-
dispose
protected void dispose() -
getClassesForTypes
public static Class[] getClassesForTypes(String[] argTypes, Object[] args, ClassLoader cl) throws ClassNotFoundException - Throws:
ClassNotFoundException
-