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
 
Field Summary
static Logger LOG
           
static org.talend.esb.servicelocator.client.internal.endpoint.ObjectFactory SL_OBJECT_FACTORY
           
static org.talend.esb.servicelocator.client.ws.addressing.ObjectFactory WSA_OBJECT_FACTORY
           
 
Constructor Summary
SLEndpointProvider(QName serviceName, org.talend.esb.servicelocator.client.internal.endpoint.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
 

Field Detail

LOG

public static final Logger LOG

WSA_OBJECT_FACTORY

public static final org.talend.esb.servicelocator.client.ws.addressing.ObjectFactory WSA_OBJECT_FACTORY

SL_OBJECT_FACTORY

public static final org.talend.esb.servicelocator.client.internal.endpoint.ObjectFactory SL_OBJECT_FACTORY
Constructor Detail

SLEndpointProvider

public SLEndpointProvider(QName serviceName,
                          org.talend.esb.servicelocator.client.internal.endpoint.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.