org.talend.esb.servicelocator.client
Interface SLEndpoint

All Superinterfaces:
Endpoint
All Known Implementing Classes:
SLEndpointProvider

public interface SLEndpoint
extends Endpoint

An SLEndpoint describes a service endpoint stored in the ServiceLocator. In addition the properties and some additional meta data together with the status of the endpoint are provided.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.talend.esb.servicelocator.client.Endpoint
Endpoint.PropertiesTransformer
 
Method Summary
 QName forService()
          Return the name of the service the endpoint belongs to.
 long getLastTimeStarted()
           
 long getLastTimeStopped()
           
 boolean isLive()
          Indicates whether the server is up and running.
 
Methods inherited from interface org.talend.esb.servicelocator.client.Endpoint
addEndpointReference, getAddress, getBinding, getProperties, getServiceName, getTransport, writeEndpointReferenceTo
 

Method Detail

getLastTimeStarted

long getLastTimeStarted()

getLastTimeStopped

long getLastTimeStopped()

isLive

boolean isLive()
Indicates whether the server is up and running.

Returns:
true iff the service locator deems the endpoint running.

forService

QName forService()
Return the name of the service the endpoint belongs to.

Returns:
the service name


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