com.softwareag.centrasite.appl.framework.persistence.impl
Class DefaultRegistryProvider

java.lang.Object
  extended by com.softwareag.centrasite.appl.framework.persistence.impl.DefaultRegistryProvider
All Implemented Interfaces:
RegistryProvider

public class DefaultRegistryProvider
extends java.lang.Object
implements RegistryProvider

Default implementation of RegistryProvider.


Constructor Summary
DefaultRegistryProvider(javax.xml.registry.Connection pConnection, java.util.Locale pLocale)
          Creates a new instance with the given Connection and Locale.
 
Method Summary
 javax.xml.registry.Connection getConnection()
          Returns the JAXR connection that will be used when performing registry operations.
 java.util.Locale getLocale()
          The Locale in which the registry will be accessed.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultRegistryProvider

public DefaultRegistryProvider(javax.xml.registry.Connection pConnection,
                               java.util.Locale pLocale)
Creates a new instance with the given Connection and Locale.

Method Detail

getConnection

public javax.xml.registry.Connection getConnection()
Description copied from interface: RegistryProvider
Returns the JAXR connection that will be used when performing registry operations.

Specified by:
getConnection in interface RegistryProvider
Returns:
JAXR connection

getLocale

public java.util.Locale getLocale()
Description copied from interface: RegistryProvider
The Locale in which the registry will be accessed.

Specified by:
getLocale in interface RegistryProvider
Returns:
locale