org.talend.esb.servicelocator.client.internal.zk
Class RootNodeImpl

java.lang.Object
  extended by org.talend.esb.servicelocator.client.internal.NodePath
      extended by org.talend.esb.servicelocator.client.internal.zk.RootNodeImpl
All Implemented Interfaces:
RootNode

public class RootNodeImpl
extends NodePath
implements RootNode


Field Summary
 
Fields inherited from class org.talend.esb.servicelocator.client.internal.NodePath
SEPARATOR
 
Constructor Summary
RootNodeImpl(ZKBackend backend)
           
 
Method Summary
 void ensureExists()
           
 boolean exists()
           
 List<QName> getServiceNames()
           
 ServiceNode getServiceNode(QName serviceName)
           
 String getVersion()
           
 boolean isAuthenticationEnabled()
           
 
Methods inherited from class org.talend.esb.servicelocator.client.internal.NodePath
child, child, decode, encode, equals, getNodeName, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RootNodeImpl

public RootNodeImpl(ZKBackend backend)
Method Detail

exists

public boolean exists()
               throws ServiceLocatorException,
                      InterruptedException
Throws:
ServiceLocatorException
InterruptedException

ensureExists

public void ensureExists()
                  throws ServiceLocatorException,
                         InterruptedException
Throws:
ServiceLocatorException
InterruptedException

getServiceNode

public ServiceNode getServiceNode(QName serviceName)
Specified by:
getServiceNode in interface RootNode

getServiceNames

public List<QName> getServiceNames()
                            throws ServiceLocatorException,
                                   InterruptedException
Specified by:
getServiceNames in interface RootNode
Throws:
ServiceLocatorException
InterruptedException

isAuthenticationEnabled

public boolean isAuthenticationEnabled()
                                throws ServiceLocatorException,
                                       InterruptedException
Throws:
ServiceLocatorException
InterruptedException

getVersion

public String getVersion()
                  throws ServiceLocatorException,
                         InterruptedException
Throws:
ServiceLocatorException
InterruptedException


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