Package names and namespaces in Java applications
There is no correlation between the correlator namespace defined for a named Java event or monitor, and the Java package structure of the class file in which that event or monitor is implemented. Event expressions are based on the correlator namespace, not on the Java package of the implementation.
Consider the following example. An event type defined in a Java class a.b.c.MyEvent that is given the correlator name x.MyEvent. Also a monitor defined in a Java class a.b.c.MyListener that is given the correlator name y.MyListener. Now, although the two classes are in the same Java package and need not use import statements to see each other, their correlator names are in different namespaces. This means that an event expression in y.MyMonitor will need to use the fully qualified name x.MyEvent to refer the event.
Copyright © 2013
Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or Terracotta Inc., San Francisco, CA, USA, and/or Software AG (Canada) Inc., Cambridge, Ontario, Canada, and/or, Software AG (UK) Ltd., Derby, United Kingdom, and/or Software A.G. (Israel) Ltd., Or-Yehuda, Israel and/or their licensors.