@Deprecated public class UserPrefsManager extends Object
| Modifier and Type | Method and Description |
|---|---|
static UserPrefsServices |
createUserPrefsServices()
Deprecated.
This method instantiates the appropriate factory implementation
based on the configuration provided in the "jndi.properties" file
found in the CLASSPATH.
|
static UserPrefsServices |
createUserPrefsServices(Hashtable properties)
Deprecated.
This method creates UserPrefsServices using the specified
properties (e.g.
|
static UserPrefsServices |
createUserPrefsServicesLocal()
Deprecated.
|
static UserPrefsServices |
createUserPrefsServicesLocal(Hashtable properties)
Deprecated.
This method creates UserPrefsServicesLocal using the specified
properties (e.g.
|
static UserPrefsServices |
createUserPrefsServicesRemote(Hashtable properties)
Deprecated.
|
public static UserPrefsServices createUserPrefsServices() throws IllegalArgumentException, UserPrefsException
UserPrefsException - if the attempt to obtain handle to the main preferences
interface instance failedIllegalArgumentExceptionpublic static UserPrefsServices createUserPrefsServicesLocal() throws IllegalArgumentException, UserPrefsException
UserPrefsException - if the attempt to obtain handle to the main preferences
interface instance has failedIllegalArgumentExceptionpublic static UserPrefsServices createUserPrefsServices(Hashtable properties) throws IllegalArgumentException, UserPrefsException
properties - - values used for creating the UserPrefsServices. If the
value of properties is null, then a default initial
context, based on jndi.properties file present in
the classpath, is created.IllegalArgumentExceptionUserPrefsExceptionpublic static UserPrefsServices createUserPrefsServicesRemote(Hashtable properties) throws UserPrefsException
UserPrefsExceptionpublic static UserPrefsServices createUserPrefsServicesLocal(Hashtable properties) throws IllegalArgumentException, UserPrefsException
properties - - values used for creating the UserPrefsServices. If the
value of properties is null, then a default initial
context, based on jndi.properties file present in
the classpath, is created.IllegalArgumentExceptionUserPrefsExceptionCopyright © 2009,2014 Oracle and/or its affiliates. All rights reserved.