Package org.eclipse.ecf.provider.generic
Class SOManager
java.lang.Object
org.eclipse.ecf.provider.generic.SOManager
- All Implemented Interfaces:
ISharedObjectManager
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddSharedObject(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 IDcreateNewSharedObjectID(SharedObjectDescription sd, ISharedObject newObject) Create a new ISharedObject within this container from the given SharedObjectDescription.protected ISharedObjectcreateSharedObjectInstance(Class newClass, Class[] argTypes, Object[] args) protected voidvoiddisconnectSharedObjects(ISharedObjectConnector connector) Destroy an ISharedObjectConnector instance.protected voiddispose()protected Class[]getArgTypes(String[] argTypes, Object[] args, ClassLoader cl) static Class[]getClassesForTypes(String[] argTypes, Object[] args, ClassLoader cl) protected ListgetSharedObject(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 ISharedObjectprotected booleanremoveSharedObject(ID sharedObjectID) Remove the given sharedObjectID from this ISharedObjectContainer.voidSet this shared object manager's policy for adding remote shared objects.protected voidtraceStack(String msg, Throwable e) protected ISharedObjectverifySharedObject(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
-