Oracle Internet Directory API Reference
10g(10.1.2)

B14083-02


oracle.idm.provisioning.plugin
Class ApplicationContext

java.lang.Object
  extended byoracle.idm.provisioning.plugin.ApplicationContext


public class ApplicationContext
extends java.lang.Object

A context object that contains the application information.

Since:
OCS 2.1

Field Summary
static java.lang.String AUTOMATIC_MODE
Constant - Call Mode - automatic
static java.lang.String DATA_ACCESS
Constant - Call When - Data Access
static java.lang.String INTERACTIVE_MODE
Constant - Call Mode - interactive
static java.lang.String OP_CREATE
Constant - Call Op - Operation Type CREATE
static java.lang.String OP_DELETE
Constant - Call Op - Operation Type DELETE
static java.lang.String OP_MODIFY
Constant - Call Op - Operation Type MODIFY
static java.lang.String POST_DATA_ENTRY
Constant - Call When - post data entry
static java.lang.String PRE_DATA_ENTRY
Constant - Call When - pre data entry
static java.lang.String PRE_EVENT_DELIVERY
Constant - Call When - Pre Event Delivery

Constructor Summary
ApplicationContext(javax.naming.directory.DirContext dirCtx, Application appln)
Constructor
ApplicationContext(javax.naming.directory.DirContext dirCtx, Application appln, java.io.PrintStream dbg)
Constructor

Method Summary
Application getApplication()
Returns the Application Type
java.lang.Object getCallBackCtx()
Get the Call Back Context
java.lang.String getCallMode()
java.lang.String getCallOp()
java.lang.String getCallWhen()
java.util.Locale getClientLocale()
Returns the client locale
javax.naming.directory.DirContext getDirCtx()
Returns the directory context
boolean isDebugEnabled()
returns whether or not debug is enabled?
void log(java.lang.Exception e)
Log the exception.
void log(java.lang.String msg)
log the message
void setCallBackCtx(java.lang.Object callBackCtx)
Set the Call Back Ctx.
void setEventId(java.lang.String evtId)
Set the unique event identifier.
java.lang.String toString()

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait

Field Detail

PRE_DATA_ENTRY

public static final java.lang.String PRE_DATA_ENTRY
Constant - Call When - pre data entry
See Also:
Constant Field Values

POST_DATA_ENTRY

public static final java.lang.String POST_DATA_ENTRY
Constant - Call When - post data entry
See Also:
Constant Field Values

DATA_ACCESS

public static final java.lang.String DATA_ACCESS
Constant - Call When - Data Access
See Also:
Constant Field Values

PRE_EVENT_DELIVERY

public static final java.lang.String PRE_EVENT_DELIVERY
Constant - Call When - Pre Event Delivery
See Also:
Constant Field Values

INTERACTIVE_MODE

public static final java.lang.String INTERACTIVE_MODE
Constant - Call Mode - interactive
See Also:
Constant Field Values

AUTOMATIC_MODE

public static final java.lang.String AUTOMATIC_MODE
Constant - Call Mode - automatic
See Also:
Constant Field Values

OP_CREATE

public static final java.lang.String OP_CREATE
Constant - Call Op - Operation Type CREATE
See Also:
Constant Field Values

OP_MODIFY

public static final java.lang.String OP_MODIFY
Constant - Call Op - Operation Type MODIFY
See Also:
Constant Field Values

OP_DELETE

public static final java.lang.String OP_DELETE
Constant - Call Op - Operation Type DELETE
See Also:
Constant Field Values

Constructor Detail

ApplicationContext

public ApplicationContext(javax.naming.directory.DirContext dirCtx,
                          Application appln)
Constructor

ApplicationContext

public ApplicationContext(javax.naming.directory.DirContext dirCtx,
                          Application appln,
                          java.io.PrintStream dbg)
Constructor

Method Detail

getDirCtx

public javax.naming.directory.DirContext getDirCtx()
Returns the directory context

getApplication

public Application getApplication()
Returns the Application Type

getClientLocale

public java.util.Locale getClientLocale()
Returns the client locale

setEventId

public void setEventId(java.lang.String evtId)
Set the unique event identifier. In case of DAS -> SessionID In case of DIP -> It is the changenumber identifier additional Info
Parameters:
evtId - Unique identifier

getCallMode

public java.lang.String getCallMode()
Returns:
String Returns the Calling mode

getCallOp

public java.lang.String getCallOp()
Returns:
String Returns the Calling Operation

getCallWhen

public java.lang.String getCallWhen()
Returns:
String Returns the When the plugin is called

setCallBackCtx

public void setCallBackCtx(java.lang.Object callBackCtx)
Set the Call Back Ctx. This context object will be passed to the successive plugin call invocation. I.e a a call back context object returned by the Pre Data Entry Plugin will be passed to the Post Data Entry plugin. Note it will be passed through the ApplicationContext object

getCallBackCtx

public java.lang.Object getCallBackCtx()
Get the Call Back Context

isDebugEnabled

public boolean isDebugEnabled()
returns whether or not debug is enabled?

log

public void log(java.lang.String msg)
log the message
Parameters:
msg - Message to be logged

log

public void log(java.lang.Exception e)
Log the exception.
Parameters:
e - an exception object.

toString

public java.lang.String toString()

Oracle Internet Directory API Reference
10g(10.1.2)

B14083-02


Copyright © 2005, Oracle. All Rights Reserved.