Skip navigation links

Oracle Access Manager Access SDK Java API Reference
11g Release 1 (11.1.1)

E22472-01


com.oblix.access
Class ObConfig

java.lang.Object
  extended by com.oblix.access.ObConfig


Deprecated. Implements methods that allow applications to initialize the Access Server API.

public class ObConfig
extends java.lang.Object

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

ObConfig

public ObConfig()
Deprecated. 
Default constructor for ObConfig Object

Method Detail

shutdown

public static void shutdown()
Deprecated. 
Disconnects the client from the server.

getNumberOfItems

public static int getNumberOfItems()
                            throws ObAccessException
Deprecated. 
Returns the count of configuration variables in configuration file.
Returns:
Count of configuration variables in configuration file.
Throws:
ObAccessException - if method is invoked before successful initialization

getAllItems

public static java.util.Hashtable getAllItems()
                                       throws ObAccessException
Deprecated. 
Returns all the configuration settings from the configuration file before connecting to the server, or the configuration fetched from the server
Returns:
Hashtable containing name/value pairs of the configuration variables
Throws:
ObAccessException - If method is invoked before successful initialization

getItem

public static java.lang.String getItem(java.lang.String itemName)
                                throws ObAccessException
Deprecated. 
Returns the value for the specified configuration item name
Parameters:
itemName - configuration item name whose value is being requested
Returns:
String representing configuration variable
Throws:
ObAccessException - If method is invoked before successful initialization

initialize

public static void initialize()
                       throws ObAccessException
Deprecated. 
Initializes the Access Server API. ASDK searches for configuration file at location obtained from environment variable OBACCESS_INSTALL_DIR.
Throws:
ObAccessException - In case of initialization failure.

initialize

public static void initialize(java.lang.String configLocation)
                       throws ObAccessException
Deprecated. 
Initializes the Access Server API.
Parameters:
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.
Throws:
ObAccessException - In case of initialization failure.

getSDKVersion

public static java.lang.String getSDKVersion()
Deprecated. 
Returns Access Server API Version.

getNAPVersion

public static java.lang.String getNAPVersion()
Deprecated. 
Returns NetPoint Access Protocol Version.

Skip navigation links

Oracle Access Manager Access SDK Java API Reference
11g Release 1 (11.1.1)

E22472-01


Copyright © 2000,2011, Oracle® and/or its affiliates. All rights reserved.