Class RemoteServiceContainerAdapterFactory
- java.lang.Object
-
- org.eclipse.ecf.core.AbstractContainerAdapterFactory
-
- org.eclipse.ecf.core.sharedobject.AbstractSharedObjectContainerAdapterFactory
-
- org.eclipse.ecf.provider.remoteservice.generic.RemoteServiceContainerAdapterFactory
-
- All Implemented Interfaces:
org.eclipse.core.runtime.IAdapterFactory
public class RemoteServiceContainerAdapterFactory extends AbstractSharedObjectContainerAdapterFactory
-
-
Field Summary
-
Fields inherited from class org.eclipse.ecf.core.sharedobject.AbstractSharedObjectContainerAdapterFactory
ADD_ADAPTER_ERROR_CODE, ADD_ADAPTER_ERROR_MESSAGE
-
-
Constructor Summary
Constructors Constructor Description RemoteServiceContainerAdapterFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ISharedObjectcreateAdapter(ISharedObjectContainer container, Class adapterType, ID adapterID)Create an adapter instance that implementsISharedObjectand adapterType.Class[]getAdapterList()-
Methods inherited from class org.eclipse.ecf.core.sharedobject.AbstractSharedObjectContainerAdapterFactory
createAdapterID, createAdapterProperties, getContainerAdapter, getSharedObjectAdapter
-
Methods inherited from class org.eclipse.ecf.core.AbstractContainerAdapterFactory
getAdapter
-
-
-
-
Method Detail
-
createAdapter
protected ISharedObject createAdapter(ISharedObjectContainer container, Class adapterType, ID adapterID)
Description copied from class:AbstractSharedObjectContainerAdapterFactoryCreate an adapter instance that implementsISharedObjectand adapterType. The resulting instance must implement bothISharedObjectand adapterType- Specified by:
createAdapterin classAbstractSharedObjectContainerAdapterFactory- Parameters:
container- the container that will contain the new adapter instanceadapterType- the adapter type. The returned value must implement this interfaceadapterID- the ID to use for the new adapter- Returns:
- ISharedObject the new adapter. If null is returned, then
AbstractSharedObjectContainerAdapterFactory.getSharedObjectAdapter(ISharedObjectContainer, Class)will also return null
-
getAdapterList
public Class[] getAdapterList()
- Specified by:
getAdapterListin interfaceorg.eclipse.core.runtime.IAdapterFactory- Specified by:
getAdapterListin classAbstractSharedObjectContainerAdapterFactory
-
-