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

java.lang.Object
  extended by org.talend.esb.servicelocator.client.SimpleEndpoint
      extended by org.talend.esb.servicelocator.client.internal.SLEndpointProvider
All Implemented Interfaces:
Endpoint, SLEndpoint

public class SLEndpointProvider
extends SimpleEndpoint
implements SLEndpoint


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.talend.esb.servicelocator.client.Endpoint
Endpoint.PropertiesTransformer
 
Constructor Summary
SLEndpointProvider(QName serviceName, EndpointDataType endpointData, boolean live)
           
 
Method Summary
 long getLastTimeStarted()
           
 long getLastTimeStopped()
           
 boolean isLive()
          Indicates whether the server is up and running.
 
Methods inherited from class org.talend.esb.servicelocator.client.SimpleEndpoint
addEndpointReference, forService, getAddress, getBinding, getProperties, getServiceName, getTransport, init, writeEndpointReferenceTo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.talend.esb.servicelocator.client.SLEndpoint
forService
 
Methods inherited from interface org.talend.esb.servicelocator.client.Endpoint
addEndpointReference, getAddress, getBinding, getProperties, getServiceName, getTransport, writeEndpointReferenceTo
 

Constructor Detail

SLEndpointProvider

public SLEndpointProvider(QName serviceName,
                          EndpointDataType endpointData,
                          boolean live)
Method Detail

getLastTimeStarted

public long getLastTimeStarted()
Specified by:
getLastTimeStarted in interface SLEndpoint

getLastTimeStopped

public long getLastTimeStopped()
Specified by:
getLastTimeStopped in interface SLEndpoint

isLive

public boolean isLive()
Description copied from interface: SLEndpoint
Indicates whether the server is up and running.

Specified by:
isLive in interface SLEndpoint
Returns:
true iff the service locator deems the endpoint running.


Copyright © 2011 Talend Inc.. All Rights Reserved.