public class DefaultRegistryProvider extends java.lang.Object implements RegistryProvider
RegistryProvider
.Constructor and Description |
---|
DefaultRegistryProvider(javax.xml.registry.Connection pConnection,
java.util.Locale pLocale)
Creates a new instance with the given
Connection and
Locale . |
Modifier and Type | Method and Description |
---|---|
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. |
public DefaultRegistryProvider(javax.xml.registry.Connection pConnection, java.util.Locale pLocale)
Connection
and
Locale
.pConnection
- The JAXR Connection
instancepLocale
- The JAXR Locale
public javax.xml.registry.Connection getConnection()
RegistryProvider
getConnection
in interface RegistryProvider
Connection
objectpublic java.util.Locale getLocale()
RegistryProvider
Locale
in which the registry will be accessed.getLocale
in interface RegistryProvider
Locale
for accessing the registry