org.talend.esb.servicelocator.client.internal
Class SLEndpointImpl
java.lang.Object
org.talend.esb.servicelocator.client.internal.ContentHolder
org.talend.esb.servicelocator.client.internal.SLEndpointImpl
- All Implemented Interfaces:
- SLEndpoint
public class SLEndpointImpl
- extends ContentHolder
- implements SLEndpoint
| Fields inherited from class org.talend.esb.servicelocator.client.internal.ContentHolder |
epd, epr |
|
Method Summary |
QName |
forService()
Return the name of the service the endpoint belongs to. |
boolean |
isLive()
Indicates whether the server is up and running. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SLEndpointImpl
public SLEndpointImpl(QName serviceName,
byte[] content,
boolean live)
throws ServiceLocatorException
- Throws:
ServiceLocatorException
forService
public QName forService()
- Description copied from interface:
SLEndpoint
- Return the name of the service the endpoint belongs to.
- Specified by:
forService in interface SLEndpoint
- Returns:
- the service name
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.