1 22 package org.objectweb.petals.jbi.registry; 23 24 import java.util.List ; 25 26 import javax.jbi.servicedesc.ServiceEndpoint; 27 import javax.naming.Context ; 28 import javax.xml.namespace.QName ; 29 30 37 public interface Registry { 38 39 45 void cleanNewEndpoints() throws RegistryException; 46 47 55 void deregisterConnection(LinkedEndpoint connection) 56 throws RegistryException; 57 58 66 void deregisterExternalEndpoint(ServiceEndpoint externalEndpoint) 67 throws RegistryException; 68 69 77 void deregisterInternalEndpoint(AbstractEndpoint endpoint) 78 throws RegistryException; 79 80 91 AbstractEndpoint getExternalEndpoint(QName service, String name) 92 throws RegistryException; 93 94 109 AbstractEndpoint[] getExternalEndpointsForInterface(QName interfaceName) 110 throws RegistryException; 111 112 123 AbstractEndpoint[] getExternalEndpointsForService(QName serviceName); 124 125 136 AbstractEndpoint getInternalEndpoint(QName service, String name) 137 throws RegistryException; 138 139 153 AbstractEndpoint getInternalEndpoint(QName service, String name, 154 boolean resolveLink) throws RegistryException; 155 156 171 AbstractEndpoint[] getInternalEndpointsForInterface(QName interfaceName) 172 throws RegistryException; 173 174 185 AbstractEndpoint[] getInternalEndpointsForService(QName serviceName); 186 187 192 Context getUsersContext(); 193 194 203 void registerConnection(LinkedEndpoint connection) throws RegistryException; 204 205 214 void registerExternalEndpoint(ServiceEndpoint externalEndpoint) 215 throws RegistryException; 216 217 226 void registerInternalEndpoint(AbstractEndpoint endpoint) 227 throws RegistryException; 228 229 236 List <AbstractEndpoint> retrieveNewEndpoints() throws RegistryException; 237 238 247 void validateEndpoint(AbstractEndpoint endpoint) throws RegistryException; 248 249 } 250 | Popular Tags |