org.talend.esb.servicelocator.client.internal
Class EndpointTransformerImpl

java.lang.Object
  extended by org.talend.esb.servicelocator.client.internal.EndpointTransformerImpl
All Implemented Interfaces:
Endpoint.PropertiesTransformer, EndpointTransformer

public class EndpointTransformerImpl
extends Object
implements Endpoint.PropertiesTransformer, EndpointTransformer


Constructor Summary
EndpointTransformerImpl()
           
 
Method Summary
 byte[] fromEndpoint(Endpoint endpoint, long lastTimeStarted, long lastTimeStopped)
          {@inheritDoc
static EndpointDataType toEndPointData(byte[] content)
           
 SLEndpointProvider toSLEndpoint(QName serviceName, byte[] content, boolean isLive)
          {@inheritDoc
 void writePropertiesTo(SLProperties props, Result result)
          {@inheritDoc
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EndpointTransformerImpl

public EndpointTransformerImpl()
Method Detail

toSLEndpoint

public SLEndpointProvider toSLEndpoint(QName serviceName,
                                       byte[] content,
                                       boolean isLive)
{@inheritDoc

Specified by:
toSLEndpoint in interface EndpointTransformer

fromEndpoint

public byte[] fromEndpoint(Endpoint endpoint,
                           long lastTimeStarted,
                           long lastTimeStopped)
                    throws ServiceLocatorException
{@inheritDoc

Specified by:
fromEndpoint in interface EndpointTransformer
Throws:
ServiceLocatorException

writePropertiesTo

public void writePropertiesTo(SLProperties props,
                              Result result)
{@inheritDoc

Specified by:
writePropertiesTo in interface Endpoint.PropertiesTransformer

toEndPointData

public static EndpointDataType toEndPointData(byte[] content)


Copyright © 2011–2015 Talend Inc.. All rights reserved.