KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > omg > PortableInterceptor > IORInterceptor_3_0Operations


1 package org.omg.PortableInterceptor;
2
3
4 /**
5 * org/omg/PortableInterceptor/IORInterceptor_3_0Operations.java .
6 * Generated by the IDL-to-Java compiler (portable), version "3.2"
7 * from ../../../../src/share/classes/org/omg/PortableInterceptor/Interceptors.idl
8 * Saturday, February 9, 2008 9:40:08 AM GMT
9 */

10
11 public interface IORInterceptor_3_0Operations extends org.omg.PortableInterceptor.IORInterceptorOperations JavaDoc
12 {
13
14   /** The components_established method is invoked on all registered
15      * IORInterceptor_3_0 instances after establish_components
16      * has been invoked on all registered IORInterceptor instances.
17      * The adapter_template is available in info during this call.
18      * The current_factory may be get or set in info during this call.
19      * <p>
20      * Any exception thrown from this method is handled by the Object
21      * Adapter that called this interceptor. In the case of the POA,
22      * an exception results in a OBJ_ADAPTER exception with an OMG
23      * standard minor code of 6.
24      * @param info The IORInfo for the object adapter being created.
25      */

26   void components_established (org.omg.PortableInterceptor.IORInfo JavaDoc info);
27
28   /** Called whenever the state of an adapter manager changes.
29      * For the POA, that is the POAManager. If the state change
30      * is reported through <code>adapter_manager_state_changed</code>,
31      * it is not reported through <code>adapter_state_changed</code>.
32      * @param id the adapter manager id of the adapter manager that
33      * changed state
34      * @param state the new state of the adapter manager
35      */

36   void adapter_manager_state_changed (int id, short state);
37
38   /** Called whenever the state of an object adapter changes, and
39      * the state change is not caused by an adapter manager. Such
40      * changes are reported to all registered <code>IORInterceptor_3_0</code>
41      * instances.
42      * @param templates the sequence of <code>ObjectReferenceTemplate</code> instances
43      * on which this state change occurred.
44      * @param state the new <code>AdapterState</code> shared by all of the templates.
45      */

46   void adapter_state_changed (org.omg.PortableInterceptor.ObjectReferenceTemplate JavaDoc[] templates, short state);
47 } // interface IORInterceptor_3_0Operations
48
Popular Tags