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
public class MultiProtocolOutgoingAdapterFactory extends AbstractContainerAdapterFactory
-
-
Constructor Summary
Constructors Constructor Description MultiProtocolOutgoingAdapterFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<?>[]getAdapterList()protected ObjectgetContainerAdapter(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
-
-
-
-
Method Detail
-
getAdapterList
public Class<?>[] getAdapterList()
- Specified by:
getAdapterListin interfaceorg.eclipse.core.runtime.IAdapterFactory- Specified by:
getAdapterListin classAbstractContainerAdapterFactory
-
getContainerAdapter
protected Object getContainerAdapter(IContainer container, Class adapterType)
Description copied from class:AbstractContainerAdapterFactoryMethod 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:
getContainerAdapterin 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.
-
-