|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jafer.registry.uddi.RegistryManager
public class RegistryManager
This class defines the registry manager that provides all the objects and managers for accessing a specificly defined registry
Field Summary | |
---|---|
protected static java.util.logging.Logger |
logger
Stores a reference to the Logger |
private org.uddi4j.client.UDDIProxy |
registryConnection
Stores a reference to the UDDI4J Proxy manager that communicates with the registry |
private TModelManager |
tModelManager
Stores a reference to the TModelManager that loads and initialises all the required TModels |
Constructor Summary | |
---|---|
RegistryManager(java.lang.String inquiryURL,
java.lang.String publishURL)
Constructor for the Registry Manager. |
Method Summary | |
---|---|
Category |
getCategory(CategoryType categoryType,
java.lang.String value)
This method returns an instance of a category with the defined value. |
ServiceLocator |
getServiceLocator()
This method creates a new service locator that has been enabled for searching the registry for service provides and available services. |
ServiceManager |
getServiceManager(java.lang.String username,
java.lang.String credential)
This method returns a service manager that has been enbled for creating and maintaining service providers and services. |
private TModelManager |
getTModelManager()
Returns a fully initialised TModel Manager. |
void |
initialiseRegistry(java.lang.String username,
java.lang.String credential)
This method can be used to initialises the registry with the required support objects. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private TModelManager tModelManager
private org.uddi4j.client.UDDIProxy registryConnection
protected static java.util.logging.Logger logger
Constructor Detail |
---|
public RegistryManager(java.lang.String inquiryURL, java.lang.String publishURL) throws RegistryException
inquiryURL
- The URL to the registry inquiry servicepublishURL
- The URL to the registry publish service
RegistryException
Method Detail |
---|
public void initialiseRegistry(java.lang.String username, java.lang.String credential) throws RegistryException, InvalidAuthorisationDetailsException
initialiseRegistry
in interface RegistryManager
username
- The username of the user using the registry.credential
- The credential required to authenticate user
RegistryException
InvalidAuthorisationDetailsException
public ServiceLocator getServiceLocator() throws RegistryException, RegistryNotInitialisedException
getServiceLocator
in interface RegistryManager
RegistryException
RegistryNotInitialisedException
public ServiceManager getServiceManager(java.lang.String username, java.lang.String credential) throws RegistryException, RegistryNotInitialisedException
getServiceManager
in interface RegistryManager
username
- The username of the user using the registry.credential
- The credential required to authenticate user
RegistryException
RegistryNotInitialisedException
public Category getCategory(CategoryType categoryType, java.lang.String value) throws RegistryException, RegistryNotInitialisedException
getCategory
in interface RegistryManager
categoryType
- The type of category to createvalue
- The value assigned to the category
RegistryException
RegistryNotInitialisedException
private TModelManager getTModelManager() throws RegistryException, RegistryNotInitialisedException
RegistryException
RegistryNotInitialisedException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |