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 ISharedObject
createAdapter(ISharedObjectContainer container, Class adapterType, ID adapterID)
Create an adapter instance that implementsISharedObject
and 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:AbstractSharedObjectContainerAdapterFactory
Create an adapter instance that implementsISharedObject
and adapterType. The resulting instance must implement bothISharedObject
and adapterType- Specified by:
createAdapter
in 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:
getAdapterList
in interfaceorg.eclipse.core.runtime.IAdapterFactory
- Specified by:
getAdapterList
in classAbstractSharedObjectContainerAdapterFactory
-
-