Skip navigation links

Oracle Internet Directory API Reference
11g Release 1 (11.1.1)

E10664-01


oracle.idm.provisioning.plugin
Class ApplicationContext

java.lang.Object
  extended by oracle.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
 java.lang.String getEventId()
          Returns the unique event identifer
 java.lang.String getGuid()
           
 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 setCallMode(java.lang.String mode)
           
 void setCallOp(java.lang.String op)
           
 void setCallWhen(java.lang.String when)
           
 void setClientLocale(java.util.Locale clientLocale)
          Set the client locale string
 void setDebugEnabled(boolean debugEnabled)
          Set debug enabled
 void setEventId(java.lang.String evtId)
          Set the unique event identifier.
 void setGuid(java.lang.String guid)
           
 java.lang.String toString()
           

 

Methods inherited from class java.lang.Object
clone, equals, finalize, 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

setClientLocale

public void setClientLocale(java.util.Locale clientLocale)
Set the client locale string
Parameters:
clientLocale - the client locale

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

getEventId

public java.lang.String getEventId()
Returns the unique event identifer

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

setCallMode

public void setCallMode(java.lang.String mode)
Parameters:
mode - String Sets the Calling mode

setCallOp

public void setCallOp(java.lang.String op)

setCallWhen

public void setCallWhen(java.lang.String when)

setGuid

public void setGuid(java.lang.String guid)

getGuid

public java.lang.String getGuid()
Returns:
String Sets 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

setDebugEnabled

public void setDebugEnabled(boolean debugEnabled)
Set debug enabled

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 - exception

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

Skip navigation links

Oracle Internet Directory API Reference
11g Release 1 (11.1.1)

E10664-01


Copyright © 1999, 2009 Oracle. All Rights Reserved.