org.eclipse.ecf.provider.filetransfer.outgoing
Class MultiProtocolOutgoingAdapterFactory

java.lang.Object
  extended by org.eclipse.ecf.core.AbstractContainerAdapterFactory
      extended by org.eclipse.ecf.provider.filetransfer.outgoing.MultiProtocolOutgoingAdapterFactory
All Implemented Interfaces:
org.eclipse.core.runtime.IAdapterFactory

public class MultiProtocolOutgoingAdapterFactory
extends AbstractContainerAdapterFactory


Constructor Summary
MultiProtocolOutgoingAdapterFactory()
           
 
Method Summary
 java.lang.Class[] getAdapterList()
           
protected  java.lang.Object getContainerAdapter(IContainer container, java.lang.Class adapterType)
          Method called by implementation of AbstractContainerAdapterFactory.getAdapter(Object, Class) if the adaptableObject is an instance of IContainer.
 
Methods inherited from class org.eclipse.ecf.core.AbstractContainerAdapterFactory
getAdapter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiProtocolOutgoingAdapterFactory

public MultiProtocolOutgoingAdapterFactory()
Method Detail

getAdapterList

public java.lang.Class[] getAdapterList()
Specified by:
getAdapterList in interface org.eclipse.core.runtime.IAdapterFactory
Specified by:
getAdapterList in class AbstractContainerAdapterFactory

getContainerAdapter

protected java.lang.Object getContainerAdapter(IContainer container,
                                               java.lang.Class adapterType)
Description copied from class: AbstractContainerAdapterFactory
Method called by implementation of AbstractContainerAdapterFactory.getAdapter(Object, Class) if the adaptableObject is an instance of IContainer. Subclasses should implement to return the proper container adapter object based upon the given adapterType.

Specified by:
getContainerAdapter in class AbstractContainerAdapterFactory
Parameters:
container - the IContainer adaptable object provided to the adapter. Will not be null.
adapterType - the type (interface) of the adapter on the given container. Will not be null
Returns:
Object the container adapter instance. May be null.