|
Oracle Fusion Middleware Access SDK Java API Reference for Oracle Access Management Access Manager 11g Release 2 Patch Set 1(11.1.2.1.0) E27136-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.oblix.access.ObConfig
Deprecated. Implements methods that allow applications to initialize the Access Server API.
public class ObConfig
The initialization functions are used to:
The ObConfig class includes methods to indicate the location of a configuration file, to initialize the Access Server API from the XML configuration file and to retrieve a value of a configuration item. Clients are expected to call initialize method once before calling any other API.
Constructor Summary | |
---|---|
ObConfig() Deprecated. Default constructor for ObConfig Object |
Method Summary | |
---|---|
static java.util.Hashtable |
getAllItems() Deprecated. Returns all the configuration settings from the configuration file before connecting to the server, or the configuration fetched from the server |
static java.lang.String |
getItem(java.lang.String itemName) Deprecated. Returns the value for the specified configuration item name |
static java.lang.String |
getNAPVersion() Deprecated. Returns NetPoint Access Protocol Version. |
static int |
getNumberOfItems() Deprecated. Returns the count of configuration variables in configuration file. |
static java.lang.String |
getSDKVersion() Deprecated. Returns Access Server API Version. |
static void |
initialize() Deprecated. Initializes the Access Server API. |
static void |
initialize(java.lang.String configLocation) Deprecated. Initializes the Access Server API. |
static void |
shutdown() Deprecated. Disconnects the client from the server. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ObConfig()
Method Detail |
---|
public static void shutdown()
public static int getNumberOfItems() throws ObAccessException
ObAccessException
- if method is invoked before successful initializationpublic static java.util.Hashtable getAllItems() throws ObAccessException
ObAccessException
- If method is invoked before successful initializationpublic static java.lang.String getItem(java.lang.String itemName) throws ObAccessException
itemName
- configuration item name whose value is being requestedObAccessException
- If method is invoked before successful initializationpublic static void initialize() throws ObAccessException
ObAccessException
- In case of initialization failure.public static void initialize(java.lang.String configLocation) throws ObAccessException
configLocation
- The directory where AccessServer API is installed. If configLocation is null, ASDK searches for configuration file at location obtained from environment variable OBACCESS_INSTALL_DIR.ObAccessException
- In case of initialization failure.public static java.lang.String getSDKVersion()
public static java.lang.String getNAPVersion()
|
Oracle Fusion Middleware Access SDK Java API Reference for Oracle Access Management Access Manager 11g Release 2 Patch Set 1(11.1.2.1.0) E27136-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |