Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 2 (11.1.2.0.0)

E17483-01

oracle.jbo.common.sdo
Class SDOSchemaChangeListener

java.lang.Object
  extended by oracle.jbo.common.sdo.SDOSchemaChangeListener
All Implemented Interfaces:
java.util.EventListener, oracle.mds.notifications.MOChangeListener

public class SDOSchemaChangeListener
extends java.lang.Object
implements oracle.mds.notifications.MOChangeListener


Constructor Summary
SDOSchemaChangeListener(java.lang.String helperContextId, java.lang.String resourceLocation, java.lang.String resourceName)
           
 
Method Summary
 void metadataObjectChanged(oracle.mds.notifications.MOChangeEvent event, oracle.mds.core.MDSInstance mdsInstance)
          Notification of the Metadata Object changed event.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SDOSchemaChangeListener

public SDOSchemaChangeListener(java.lang.String helperContextId,
                               java.lang.String resourceLocation,
                               java.lang.String resourceName)
Method Detail

metadataObjectChanged

public void metadataObjectChanged(oracle.mds.notifications.MOChangeEvent event,
                                  oracle.mds.core.MDSInstance mdsInstance)
                           throws oracle.mds.exception.MDSException
Notification of the Metadata Object changed event. This method will be called by the MDSInstance with which this listener was registered whenever a change to a metadata object matching the registration conditions is detected.

The MDS instance is passed into this method primarily for consumption by listeners which are registered declaratively (in the MDS configuration file); since these are automatically instantiated by MDS using their parameterless constructor, they would otherwise have no way of knowing what the MDS instance is, and so would have no way of accessing any metadata.

Specified by:
metadataObjectChanged in interface oracle.mds.notifications.MOChangeListener
Parameters:
event - MOChangeEvent object holding contextual information about the changes made.
mdsInstance - the MDS instance firing this event.
Throws:
oracle.mds.exception.MDSException - if there are any errors when handling the MOChangeEvent.

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 2 (11.1.2.0.0)

E17483-01

Copyright © 1997, 2011, Oracle. All rights reserved.