1 22 package org.objectweb.petals.jbi.routing.mock; 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 import org.objectweb.petals.jbi.registry.AbstractEndpoint; 31 import org.objectweb.petals.jbi.registry.LinkedEndpoint; 32 import org.objectweb.petals.jbi.registry.Registry; 33 import org.objectweb.petals.jbi.registry.RegistryException; 34 35 40 public class MockRegistry implements Registry { 41 42 public void deregisterExternalEndpoint(ServiceEndpoint externalEndpoint) 43 throws RegistryException { 44 } 45 46 public void deregisterInternalEndpoint(AbstractEndpoint endpoint) 47 throws RegistryException { 48 } 49 50 public AbstractEndpoint[] getExternalEndpointsForInterface( 51 QName interfaceName) throws RegistryException { 52 return null; 53 } 54 55 public AbstractEndpoint[] getExternalEndpointsForService(QName serviceName) { 56 return null; 57 } 58 59 public AbstractEndpoint getInternalEndpoint(QName service, String name) 60 throws RegistryException { 61 return null; 62 } 63 64 public AbstractEndpoint[] getInternalEndpointsForInterface( 65 QName interfaceName) throws RegistryException { 66 return null; 67 } 68 69 public AbstractEndpoint[] getInternalEndpointsForService(QName serviceName) { 70 return null; 71 } 72 73 public void registerExternalEndpoint(ServiceEndpoint externalEndpoint) 74 throws RegistryException { 75 } 76 77 public void registerInternalEndpoint(AbstractEndpoint endpoint) 78 throws RegistryException { 79 } 80 81 public void validateEndpoint(AbstractEndpoint endpoint) 82 throws RegistryException { 83 } 84 85 public List <AbstractEndpoint> retrieveNewEndpoints() 86 throws RegistryException { 87 return null; 88 } 89 90 public void registerConnection(LinkedEndpoint linkedEndpoint) 91 throws RegistryException { 92 } 93 94 public AbstractEndpoint getExternalEndpoint(QName service, String name) 95 throws RegistryException { 96 return null; 97 } 98 99 public void deregisterConnection(LinkedEndpoint connection) 100 throws RegistryException { 101 } 102 103 public void cleanNewEndpoints() throws RegistryException { 104 } 105 106 public AbstractEndpoint getInternalEndpoint(QName service, String name, boolean resolveLink) throws RegistryException { 107 return null; 108 } 109 110 public Context getUsersContext() { 111 return null; 112 } 113 114 } 115 | Popular Tags |