|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.soa.esb.listeners.RegistryUtil
public class RegistryUtil
Extraction of common registry utility methods.
Constructor Summary | |
---|---|
RegistryUtil()
|
Method Summary | |
---|---|
static EPRManager |
getEprManager()
Get the EPR manager. |
static java.util.List<EPR> |
getEprs(java.lang.String category,
java.lang.String name)
Get the EPRs associated with the specified service. |
static void |
register(ConfigTree config,
EPR epr)
Register an EPR in the registry. |
static void |
unregister(java.lang.String category,
java.lang.String name,
EPR epr)
Unregister the EPR from the registry. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RegistryUtil()
Method Detail |
---|
public static EPRManager getEprManager()
public static void register(ConfigTree config, EPR epr) throws RegistryException
config
- a config tree containing the deployment-configuration of the service.epr
- the epr (EndPoint Reference) of the service.
RegistryException
- for registration errors.public static void unregister(java.lang.String category, java.lang.String name, EPR epr)
category
- The category name of the servicename
- The name of the serviceepr
- The service EPR.public static java.util.List<EPR> getEprs(java.lang.String category, java.lang.String name) throws RegistryException, ServiceNotFoundException
category
- The category name of the servicename
- The name of the service
RegistryException
- for registration errors.
ServiceNotFoundException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |