org.talend.esb.servicelocator.client.internal.zk
Class ServiceNodeImpl
java.lang.Object
org.talend.esb.servicelocator.client.internal.NodePath
org.talend.esb.servicelocator.client.internal.zk.ServiceNodeImpl
- All Implemented Interfaces:
- ServiceNode
public class ServiceNodeImpl
- extends NodePath
- implements ServiceNode
| Fields inherited from class org.talend.esb.servicelocator.client.internal.NodePath |
SEPARATOR |
ServiceNodeImpl
public ServiceNodeImpl(ZKBackend backend,
RootNodeImpl rootNode,
QName serviceName)
getServiceName
public QName getServiceName()
- Specified by:
getServiceName in interface ServiceNode
exists
public boolean exists()
throws ServiceLocatorException,
InterruptedException
- Specified by:
exists in interface ServiceNode
- Throws:
ServiceLocatorException
InterruptedException
ensureExists
public void ensureExists()
throws ServiceLocatorException,
InterruptedException
- Specified by:
ensureExists in interface ServiceNode
- Throws:
ServiceLocatorException
InterruptedException
ensureRemoved
public void ensureRemoved()
throws ServiceLocatorException,
InterruptedException
- Specified by:
ensureRemoved in interface ServiceNode
- Throws:
ServiceLocatorException
InterruptedException
getEndpointNames
public List<String> getEndpointNames()
throws ServiceLocatorException,
InterruptedException
- Specified by:
getEndpointNames in interface ServiceNode
- Throws:
ServiceLocatorException
InterruptedException
getEndPoints
public List<EndpointNode> getEndPoints()
throws ServiceLocatorException,
InterruptedException
- Specified by:
getEndPoints in interface ServiceNode
- Throws:
ServiceLocatorException
InterruptedException
getEndPoint
public EndpointNode getEndPoint(String endpoint)
- Specified by:
getEndPoint in interface ServiceNode
Copyright © 2011–2015 Talend Inc.. All rights reserved.