public class UDDIServiceCache extends Object implements UDDIServiceCacheMBean
UDDIClientSubscriptionListenerImpl, 
UDDIServiceCacheMBean, 
UDDISubscriptionListenerPortType, 
ServiceLocator| Modifier and Type | Field and Description | 
|---|---|
static String | 
DEFAULT_SUBSCRIPTION_LISTENER_URL  | 
static String | 
SUBSCRIPTION_LISTENER_PORT_NAME  | 
static QName | 
SUBSCRIPTION_LISTENER_SERVICE_NAME  | 
static String | 
UDDI_CLIENT_SUBSCRIPTION_LISTENER  | 
static String | 
UDDI_ORG_NS  | 
| Constructor and Description | 
|---|
UDDIServiceCache()  | 
UDDIServiceCache(UDDIClerk clerk)  | 
UDDIServiceCache(UDDIClerk clerk,
                URL callbackBaseUrl)  | 
UDDIServiceCache(UDDIClerk clerk,
                URLLocalizer urlLocalizer,
                Properties properties)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addService(String serviceKey,
          Topology topology)
Adds or updates epr information for the given serviceKey. 
 | 
Set<String> | 
getCacheEntries()
Method callable from the mbean 
 | 
UDDIClerk | 
getClerk()  | 
Map<String,Topology> | 
getServiceCacheMap()  | 
int | 
getServiceCacheSize()
Method callable from the mbean 
 | 
boolean | 
hasListener()  | 
Topology | 
lookupService(String serviceKey)  | 
void | 
publishAndRegisterHttpCallbackEndpoint()  | 
void | 
registerAsMBean()  | 
void | 
registerSubscription(String bindingKey)
Create a subscription for changes in any Service in the Registry 
 | 
void | 
removeAll()  | 
void | 
removeService(String serviceKey)  | 
void | 
resetCache()
Method callable from the mbean 
 | 
void | 
shutdown()  | 
public static final String UDDI_ORG_NS
public static final String UDDI_CLIENT_SUBSCRIPTION_LISTENER
public static final QName SUBSCRIPTION_LISTENER_SERVICE_NAME
public static final String SUBSCRIPTION_LISTENER_PORT_NAME
public static final String DEFAULT_SUBSCRIPTION_LISTENER_URL
public UDDIServiceCache()
public UDDIServiceCache(UDDIClerk clerk) throws MalformedURLException
MalformedURLExceptionpublic UDDIServiceCache(UDDIClerk clerk, URLLocalizer urlLocalizer, Properties properties) throws DatatypeConfigurationException, MalformedURLException, RemoteException, org.apache.commons.configuration.ConfigurationException, javax.wsdl.WSDLException, TransportException, Exception
DatatypeConfigurationExceptionMalformedURLExceptionRemoteExceptionorg.apache.commons.configuration.ConfigurationExceptionjavax.wsdl.WSDLExceptionTransportExceptionExceptionpublic UDDIClerk getClerk()
public void publishAndRegisterHttpCallbackEndpoint()
                                            throws BindException
BindExceptionpublic boolean hasListener()
public void registerAsMBean()
public void shutdown()
public void removeAll()
public void addService(String serviceKey, Topology topology)
serviceKey - topology - public void removeService(String serviceKey)
public void registerSubscription(String bindingKey) throws DatatypeConfigurationException
bindingKey - the binding keyDatatypeConfigurationExceptionpublic int getServiceCacheSize()
getServiceCacheSize in interface UDDIServiceCacheMBeanpublic Set<String> getCacheEntries()
getCacheEntries in interface UDDIServiceCacheMBeanpublic void resetCache()
resetCache in interface UDDIServiceCacheMBeanCopyright © 2004–2021 The Apache Software Foundation. All rights reserved.