|
Oracle Internet Directory API Reference 11g Release 1 (11.1.1) E10664-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IEventsFromOID
Applications interested in receiving changes from OID should implement this interface. The applications register with the OID for the changes occurring at OID. The DIP engine would instantiate an object of this class and invoke the initialize(), sendEventsToApp(), and truncate() method in the same sequence. The initialize method would provide the appropriate information from the profile in the form of a java.util.Hashtable object. The property names, i.e. the hash table key that could be used by the interface implementer will be defined as constants in this interface.
Method Summary | |
---|---|
void |
initialize(java.lang.Object provProfile) Initialize. |
EventStatus[] |
sendEventsToApp(Event[] evts) OID Events are deliverd to the application through this method. |
void |
terminate(java.lang.Object prof) The applications can perform the termination logic in this method. |
Method Detail |
---|
void initialize(java.lang.Object provProfile) throws EventPluginInitException
initialize
in interface IEventPlugin
provProfile
- The Provisioning Profile object that would contain necessary information exposed to the applicationsEventInitializationException
- the applications must throw this exception in case of error.EventPluginInitException
EventStatus[] sendEventsToApp(Event[] evts) throws EventDeliveryException
evts
- an array of LDAPEvent objects returned by the DIP engineEventDeliveryException
- the applications must throw this exception in case of any error.void terminate(java.lang.Object prof) throws PluginException
IEventPlugin
terminate
in interface IEventPlugin
prof
- Provisioning Profile Object will be sent. refer to oracle.ldap.odip.engine.ProvProfile for more detailsPluginException
- when an exception occurs.
|
Oracle Internet Directory API Reference 11g Release 1 (11.1.1) E10664-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |