|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Registry
Registry interface for the ESB.
Method Summary | |
---|---|
java.util.List<java.lang.String> |
findAllServices()
Find all Services assigned to the Red Hat/JBossESB organization. |
EPR |
findEPR(java.lang.String serviceCategoryName,
java.lang.String serviceName)
Returns the first EPR in the list that belong to a specific category and service combination. |
java.util.List<EPR> |
findEPRs(java.lang.String serviceCategoryName,
java.lang.String serviceName)
Finds all the EPRs that belong to a specific category and service combination. |
java.util.List<java.lang.String> |
findServices(java.lang.String serviceCategoryName)
Find all services that belong to the supplied category. |
void |
registerEPR(java.lang.String serviceCategoryName,
java.lang.String serviceName,
java.lang.String serviceDescription,
EPR epr,
java.lang.String eprDescription)
Registers an EPR under the specified category and service. |
void |
unRegisterEPR(java.lang.String serviceCategoryName,
java.lang.String serviceName,
EPR epr)
Removes an EPR from the Registry. |
void |
unRegisterService(java.lang.String category,
java.lang.String serviceName)
Removes a service from the Registry along with all the ServiceBindings underneath it. |
Method Detail |
---|
void unRegisterService(java.lang.String category, java.lang.String serviceName) throws RegistryException, ServiceNotFoundException
category
- - name of the service category, for example 'transformation'.serviceName
- - name of the service, for example 'smooks'.
RegistryException
ServiceNotFoundException
void registerEPR(java.lang.String serviceCategoryName, java.lang.String serviceName, java.lang.String serviceDescription, EPR epr, java.lang.String eprDescription) throws RegistryException
serviceCategoryName
- - name of the category to which the service belongs.serviceName
- - name of the service to which the EPS belongs.serviceDescription
- - human readable description of the service,
only used when it the service does not yet exist.epr
- - the EndPointReference (EPR) that needs to be registered.eprDescription
- - human readable description of the EPR
RegistryException
void unRegisterEPR(java.lang.String serviceCategoryName, java.lang.String serviceName, EPR epr) throws RegistryException, ServiceNotFoundException
serviceCategoryName
- - name of the category to which the service belongs.serviceName
- - name of the service to which the EPS belongs.epr
- - the EndPointReference (EPR) that needs to be unregistered.
RegistryException
ServiceNotFoundException
java.util.List<java.lang.String> findAllServices() throws RegistryException
RegistryException
java.util.List<java.lang.String> findServices(java.lang.String serviceCategoryName) throws RegistryException
serviceCategoryName
- - name of the category to which the service belongs.
RegistryException
java.util.List<EPR> findEPRs(java.lang.String serviceCategoryName, java.lang.String serviceName) throws RegistryException, ServiceNotFoundException
serviceCategoryName
- - name of the category to which the service belongs.serviceName
- - name of the service to which the EPS belongs.
RegistryException
ServiceNotFoundException
EPR findEPR(java.lang.String serviceCategoryName, java.lang.String serviceName) throws RegistryException, ServiceNotFoundException
serviceCategoryName
- - name of the category to which the service belongs.serviceName
- - name of the service to which the EPS belongs.
RegistryException
ServiceNotFoundException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |