Package com.sun.xml.registry.uddi
Class RegistryServiceImpl
- java.lang.Object
-
- com.sun.xml.registry.uddi.RegistryServiceImpl
-
- All Implemented Interfaces:
javax.xml.registry.RegistryService
public class RegistryServiceImpl extends Object implements javax.xml.registry.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 javax.xml.registry.BulkResponsegetBulkResponse(String requestId)Returns the BulkResponse associated with specified requestId.javax.xml.registry.BusinessLifeCycleManagergetBusinessLifeCycleManager()Returns the BusinessLifeCycleManager interface implemented by the JAXR providerjavax.xml.registry.BusinessQueryManagergetBusinessQueryManager()Returns the BusinessQueryManager interface implemented by the JAXR providerjavax.xml.registry.CapabilityProfilegetCapabilityProfile()Returns the CapabilityProfile for the JAXR providerConnectionImplgetConnection()StringgetCurrentUser()javax.xml.registry.DeclarativeQueryManagergetDeclarativeQueryManager()Returns the DeclarativeQueryManager interface implemented by the JAXR provider Capbility level 0 registries should throws UnsupportedCapabilityException.javax.xml.registry.infomodel.ClassificationSchemegetDefaultPostalScheme()javax.xml.registry.LifeCycleManagergetLifeCycleManager()Returns the basic LifeCycleManager interface implemented by the JAXR providerUDDIObjectCachegetObjectManager()StringgetServiceId()UDDIMappergetUDDIMapper()javax.xml.soap.SOAPBodyjaxmSend(javax.xml.soap.SOAPMessage msg, boolean secure)StringmakeRegistrySpecificRequest(String request)This method takes a String that is an XML request in a registry specific format.Nodesend(javax.xml.soap.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 javax.xml.registry.CapabilityProfile getCapabilityProfile() throws javax.xml.registry.JAXRExceptionReturns the CapabilityProfile for the JAXR provider- Specified by:
getCapabilityProfilein interfacejavax.xml.registry.RegistryService- Throws:
javax.xml.registry.JAXRException- See Also:
- <{LifeCycleManager}>
-
getBusinessLifeCycleManager
public javax.xml.registry.BusinessLifeCycleManager getBusinessLifeCycleManager() throws javax.xml.registry.JAXRExceptionReturns the BusinessLifeCycleManager interface implemented by the JAXR provider- Specified by:
getBusinessLifeCycleManagerin interfacejavax.xml.registry.RegistryService- Throws:
javax.xml.registry.JAXRException- See Also:
- <{LifeCycleManager}>
-
getBusinessQueryManager
public javax.xml.registry.BusinessQueryManager getBusinessQueryManager() throws javax.xml.registry.JAXRExceptionReturns the BusinessQueryManager interface implemented by the JAXR provider- Specified by:
getBusinessQueryManagerin interfacejavax.xml.registry.RegistryService- Throws:
javax.xml.registry.JAXRException
-
getLifeCycleManager
public javax.xml.registry.LifeCycleManager getLifeCycleManager() throws javax.xml.registry.JAXRExceptionReturns the basic LifeCycleManager interface implemented by the JAXR provider- Capability Level: 0
- Throws:
javax.xml.registry.JAXRException
-
getDeclarativeQueryManager
public javax.xml.registry.DeclarativeQueryManager getDeclarativeQueryManager() throws javax.xml.registry.JAXRException, javax.xml.registry.UnsupportedCapabilityExceptionReturns the DeclarativeQueryManager interface implemented by the JAXR provider Capbility level 0 registries should throws UnsupportedCapabilityException.- Capability Level: 1
- Specified by:
getDeclarativeQueryManagerin interfacejavax.xml.registry.RegistryService- Throws:
javax.xml.registry.JAXRExceptionjavax.xml.registry.UnsupportedCapabilityException
-
makeRegistrySpecificRequest
public String makeRegistrySpecificRequest(String request) throws javax.xml.registry.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 interfacejavax.xml.registry.RegistryService- Returns:
- String that is the XML response in a registry specific manner.
- Throws:
javax.xml.registry.JAXRException
-
getDefaultPostalScheme
public javax.xml.registry.infomodel.ClassificationScheme getDefaultPostalScheme() throws javax.xml.registry.JAXRException- Specified by:
getDefaultPostalSchemein interfacejavax.xml.registry.RegistryService- Throws:
javax.xml.registry.JAXRException
-
getBulkResponse
public javax.xml.registry.BulkResponse getBulkResponse(String requestId) throws javax.xml.registry.JAXRException
Returns the BulkResponse associated with specified requestId. Throws JAXRException if no responses exist for specified requestId.- Specified by:
getBulkResponsein interfacejavax.xml.registry.RegistryService- Throws:
javax.xml.registry.JAXRException
-
getConnection
public ConnectionImpl getConnection()
-
jaxmSend
public javax.xml.soap.SOAPBody jaxmSend(javax.xml.soap.SOAPMessage msg, boolean secure) throws javax.xml.registry.JAXRException- Throws:
javax.xml.registry.JAXRException
-
send
public Node send(javax.xml.soap.SOAPMessage doc, boolean secure) throws javax.xml.registry.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:
javax.xml.registry.JAXRException
-
getCurrentUser
public String getCurrentUser()
-
-