Class MultiProtocolOutgoingAdapterFactory
java.lang.Object
org.eclipse.ecf.core.AbstractContainerAdapterFactory
org.eclipse.ecf.provider.filetransfer.outgoing.MultiProtocolOutgoingAdapterFactory
- All Implemented Interfaces:
org.eclipse.core.runtime.IAdapterFactory
-
Field Summary
Fields inherited from interface org.eclipse.core.runtime.IAdapterFactory
SERVICE_PROPERTY_ADAPTABLE_CLASS, SERVICE_PROPERTY_ADAPTER_NAMES
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionClass<?>[]
protected Object
getContainerAdapter
(IContainer container, Class adapterType) Method called by implementation ofAbstractContainerAdapterFactory.getAdapter(Object, Class)
if the adaptableObject is an instance ofIContainer
.Methods inherited from class org.eclipse.ecf.core.AbstractContainerAdapterFactory
getAdapter
-
Constructor Details
-
MultiProtocolOutgoingAdapterFactory
public MultiProtocolOutgoingAdapterFactory()
-
-
Method Details
-
getAdapterList
- Specified by:
getAdapterList
in interfaceorg.eclipse.core.runtime.IAdapterFactory
- Specified by:
getAdapterList
in classAbstractContainerAdapterFactory
-
getContainerAdapter
Description copied from class:AbstractContainerAdapterFactory
Method called by implementation ofAbstractContainerAdapterFactory.getAdapter(Object, Class)
if the adaptableObject is an instance ofIContainer
. Subclasses should implement to return the proper container adapter object based upon the given adapterType.- Specified by:
getContainerAdapter
in classAbstractContainerAdapterFactory
- Parameters:
container
- the IContainer adaptable object provided to the adapter. Will not benull
.adapterType
- the type (interface) of the adapter on the given container. Will not benull
- Returns:
- Object the container adapter instance. May be
null
.
-