org.alfresco.repo.deploy
Interface DeploymentReceiverTransportAdapter

All Known Implementing Classes:
DeploymentReceiverTransportAdapterHessian, DeploymentReceiverTransportAdapterRMI, DeploymentReceiverTransportAdapterSpringHTTP

public interface DeploymentReceiverTransportAdapter

DeploymentReceiverTransportAdapter are used to adapt the interface used by the FSR Client to the interface used by the underlying transport implementation. The DeploymentReceiverTransport objects returned will typically be proxy classes to a remote service.

See Also:
org.alfresco.deployment.impl.client.DeploymentReceiverTransportAdapterRMI, org.alfresco.deployment.impl.client.DeploymentReceiverTransportAdapterSpringHTTP, org.alfresco.deployment.impl.client.DeploymentReceiverTransportAdapterHessian

Method Summary
 java.util.List getTransformers()
          Get the content transformers for this transport - if the transport does not support content transformation then simply return null;
 org.alfresco.deployment.DeploymentReceiverTransport getTransport(java.lang.String hostName, int port, int version, java.lang.String srcPath)
          getObject is a factory method to get a DeploymentReceiverTransport object, which will typically be a proxy to a remote service.
 

Method Detail

getTransport

org.alfresco.deployment.DeploymentReceiverTransport getTransport(java.lang.String hostName,
                                                                 int port,
                                                                 int version,
                                                                 java.lang.String srcPath)
getObject is a factory method to get a DeploymentReceiverTransport object, which will typically be a proxy to a remote service. It is up to the adapters themselves to decide whether hostName, port or URL takes precedence.

Parameters:
adapterName - the name of this adapter
hostName - the name of the host to connect to
port - the port to connect to
version - the version of the website
the - path of the website to be deployed
Returns:
a DeploymentRecieverTransport

getTransformers

java.util.List getTransformers()
Get the content transformers for this transport - if the transport does not support content transformation then simply return null;

Returns:
the content transformers or null if there are no transformers.


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.