Package com.sun.xml.registry.uddi
Class RegistryServiceImpl
- java.lang.Object
-
- com.sun.xml.registry.uddi.RegistryServiceImpl
-
- All Implemented Interfaces:
RegistryService
public class RegistryServiceImpl extends Object implements RegistryService
Implementation class for RegistryService- Author:
- Farrukh S. Najmi
- See Also:
RegistryService
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BulkResponsegetBulkResponse(String requestId)Returns the BulkResponse associated with specified requestId.BusinessLifeCycleManagergetBusinessLifeCycleManager()Returns the BusinessLifeCycleManager interface implemented by the JAXR providerBusinessQueryManagergetBusinessQueryManager()Returns the BusinessQueryManager interface implemented by the JAXR providerCapabilityProfilegetCapabilityProfile()Returns the CapabilityProfile for the JAXR providerConnectionImplgetConnection()StringgetCurrentUser()DeclarativeQueryManagergetDeclarativeQueryManager()Returns the DeclarativeQueryManager interface implemented by the JAXR provider Capbility level 0 registries should throws UnsupportedCapabilityException.ClassificationSchemegetDefaultPostalScheme()Gets the default user-defined postal scheme for codifying the attributes of PostalAddress.LifeCycleManagergetLifeCycleManager()Returns the basic LifeCycleManager interface implemented by the JAXR providerUDDIObjectCachegetObjectManager()StringgetServiceId()UDDIMappergetUDDIMapper()SOAPBodyjaxmSend(SOAPMessage msg, boolean secure)StringmakeRegistrySpecificRequest(String request)This method takes a String that is an XML request in a registry specific format.Nodesend(SOAPMessage doc, boolean secure)Currently, default is to use jaxm.
-
-
-
Method Detail
-
getUDDIMapper
public UDDIMapper getUDDIMapper()
-
getServiceId
public String getServiceId()
-
getObjectManager
public UDDIObjectCache getObjectManager()
-
getCapabilityProfile
public CapabilityProfile getCapabilityProfile() throws JAXRException
Returns the CapabilityProfile for the JAXR provider- Specified by:
getCapabilityProfilein interfaceRegistryService- Returns:
- the CapabilityProfile for a JAXR provider
- Throws:
JAXRException- If the JAXR provider encounters an internal error- See Also:
- <{LifeCycleManager}>
-
getBusinessLifeCycleManager
public BusinessLifeCycleManager getBusinessLifeCycleManager() throws JAXRException
Returns the BusinessLifeCycleManager interface implemented by the JAXR provider- Specified by:
getBusinessLifeCycleManagerin interfaceRegistryService- Returns:
- the BusinessLifeCycleManager
- Throws:
JAXRException- If the JAXR provider encounters an internal error- See Also:
- <{LifeCycleManager}>
-
getBusinessQueryManager
public BusinessQueryManager getBusinessQueryManager() throws JAXRException
Returns the BusinessQueryManager interface implemented by the JAXR provider- Specified by:
getBusinessQueryManagerin interfaceRegistryService- Returns:
- the BusinessQueryManaer
- Throws:
JAXRException- If the JAXR provider encounters an internal error
-
getLifeCycleManager
public LifeCycleManager getLifeCycleManager() throws JAXRException
Returns the basic LifeCycleManager interface implemented by the JAXR provider- Capability Level: 0
- Throws:
JAXRException
-
getDeclarativeQueryManager
public DeclarativeQueryManager getDeclarativeQueryManager() throws JAXRException, UnsupportedCapabilityException
Returns the DeclarativeQueryManager interface implemented by the JAXR provider Capbility level 0 registries should throws UnsupportedCapabilityException.- Capability Level: 1
- Specified by:
getDeclarativeQueryManagerin interfaceRegistryService- Returns:
- the DeclarativeQueryManager
- Throws:
JAXRException- If the JAXR provider encounters an internal errorUnsupportedCapabilityException
-
makeRegistrySpecificRequest
public String makeRegistrySpecificRequest(String request) throws JAXRException
This method takes a String that is an XML request in a registry specific format. It sends the request to the registry and returns a String that is the registry specific XML response.- Capability Level: 0
- Specified by:
makeRegistrySpecificRequestin interfaceRegistryService- Parameters:
request- the registry-specific request in a String representation- Returns:
- String that is the XML response in a registry specific manner.
- Throws:
JAXRException- If the JAXR provider encounters an internal error
-
getDefaultPostalScheme
public ClassificationScheme getDefaultPostalScheme() throws JAXRException
Description copied from interface:RegistryServiceGets the default user-defined postal scheme for codifying the attributes of PostalAddress.- Capability Level: 0
- Specified by:
getDefaultPostalSchemein interfaceRegistryService- Returns:
- the ClassificationScheme that is the default postal scheme
- Throws:
JAXRException- If the JAXR provider encounters an internal error
-
getBulkResponse
public BulkResponse getBulkResponse(String requestId) throws JAXRException
Returns the BulkResponse associated with specified requestId. Throws JAXRException if no responses exist for specified requestId.- Specified by:
getBulkResponsein interfaceRegistryService- Parameters:
requestId- the id for a previous asynchronous request- Returns:
- the BulkResponse that contains the result for the specified request
- Throws:
InvalidRequestException- if no responses exist for specified requestIdJAXRException- If the JAXR provider encounters an internal error
-
getConnection
public ConnectionImpl getConnection()
-
jaxmSend
public SOAPBody jaxmSend(SOAPMessage msg, boolean secure) throws JAXRException
- Throws:
JAXRException
-
send
public Node send(SOAPMessage doc, boolean secure) throws JAXRException
Currently, default is to use jaxm. Can use soap4j by setting "useSOAP" property to true on connection factory or with -DuseSOAP=true for all connections. This is temporary while we're working on jaxm issues.- Throws:
JAXRException
-
getCurrentUser
public String getCurrentUser()
-
-