public class UDDIServiceCache extends Object implements UDDIServiceCacheMBean
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
MalformedURLException
public UDDIServiceCache(UDDIClerk clerk, URLLocalizer urlLocalizer, Properties properties) throws DatatypeConfigurationException, MalformedURLException, RemoteException, org.apache.commons.configuration.ConfigurationException, javax.wsdl.WSDLException, TransportException, Exception
DatatypeConfigurationException
MalformedURLException
RemoteException
org.apache.commons.configuration.ConfigurationException
javax.wsdl.WSDLException
TransportException
Exception
public UDDIClerk getClerk()
public void publishAndRegisterHttpCallbackEndpoint() throws BindException
BindException
public 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 keyDatatypeConfigurationException
public int getServiceCacheSize()
getServiceCacheSize
in interface UDDIServiceCacheMBean
public Set<String> getCacheEntries()
getCacheEntries
in interface UDDIServiceCacheMBean
public void resetCache()
resetCache
in interface UDDIServiceCacheMBean
Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.