|
| 1 | +package com.sun.corba.se.PortableActivationIDL; |
| 2 | + |
| 3 | + |
| 4 | +/** |
| 5 | +* com/sun/corba/se/PortableActivationIDL/ActivatorOperations.java . |
| 6 | +* Generated by the IDL-to-Java compiler (portable), version "3.2" |
| 7 | +* from /HUDSON/workspace/8-2-build-linux-amd64/jdk8u77/6540/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl |
| 8 | +* Sunday, March 20, 2016 10:01:25 PM PDT |
| 9 | +*/ |
| 10 | + |
| 11 | +public interface ActivatorOperations |
| 12 | +{ |
| 13 | + |
| 14 | + /** A new ORB started server registers itself with the Activator |
| 15 | + */ |
| 16 | + void registerServer (String serverId, com.sun.corba.se.PortableActivationIDL.ServerProxy serverObj) throws com.sun.corba.se.PortableActivationIDL.ServerNotRegistered; |
| 17 | + |
| 18 | + /** A server is shutting down that was started by this activator. |
| 19 | + * Complete termination of the server is detected by the death of the |
| 20 | + * process implementing the server. |
| 21 | + */ |
| 22 | + void serverGoingDown (String serverId); |
| 23 | + |
| 24 | + /** Called whenever an ORB instance is created. This registers |
| 25 | + * the transport endpoints and the ORB proxy callback object. |
| 26 | + * Note that we cannot detect when an ORB shuts down, although |
| 27 | + * all of the POA shutdowns should still be reported. |
| 28 | + */ |
| 29 | + void registerORB (String serverId, String orbId, com.sun.corba.se.PortableActivationIDL.ORBProxy orb, com.sun.corba.se.PortableActivationIDL.EndPointInfo[] endPointInfo) throws com.sun.corba.se.PortableActivationIDL.ServerNotRegistered, com.sun.corba.se.PortableActivationIDL.NoSuchEndPoint, com.sun.corba.se.PortableActivationIDL.ORBAlreadyRegistered; |
| 30 | + |
| 31 | + /** Construct or find an ORBD object template corresponding to the |
| 32 | + * server's object template and return it. Called whenever a |
| 33 | + * persistent POA is created. |
| 34 | + */ |
| 35 | + org.omg.PortableInterceptor.ObjectReferenceTemplate registerPOA (String serverId, String orbId, org.omg.PortableInterceptor.ObjectReferenceTemplate poaTemplate); |
| 36 | + |
| 37 | + /** Called whenever a POA is destroyed. |
| 38 | + */ |
| 39 | + void poaDestroyed (String serverId, String orbId, org.omg.PortableInterceptor.ObjectReferenceTemplate poaTemplate); |
| 40 | + |
| 41 | + /** If the server is not running, start it up. This is allowed |
| 42 | + * whether or not the server has been installed. |
| 43 | + */ |
| 44 | + void activate (String serverId) throws com.sun.corba.se.PortableActivationIDL.ServerAlreadyActive, com.sun.corba.se.PortableActivationIDL.ServerNotRegistered, com.sun.corba.se.PortableActivationIDL.ServerHeldDown; |
| 45 | + |
| 46 | + /** If the server is running, shut it down |
| 47 | + */ |
| 48 | + void shutdown (String serverId) throws com.sun.corba.se.PortableActivationIDL.ServerNotActive, com.sun.corba.se.PortableActivationIDL.ServerNotRegistered; |
| 49 | + |
| 50 | + /** Invoke the server install hook. If the server is not |
| 51 | + * currently running, this method will activate it. |
| 52 | + */ |
| 53 | + void install (String serverId) throws com.sun.corba.se.PortableActivationIDL.ServerNotRegistered, com.sun.corba.se.PortableActivationIDL.ServerHeldDown, com.sun.corba.se.PortableActivationIDL.ServerAlreadyInstalled; |
| 54 | + |
| 55 | + /** Invoke the server uninstall hook. If the server is not |
| 56 | + * currently running, this method will activate it. |
| 57 | + * After this hook completes, the server may still be running. |
| 58 | + */ |
| 59 | + void uninstall (String serverId) throws com.sun.corba.se.PortableActivationIDL.ServerNotRegistered, com.sun.corba.se.PortableActivationIDL.ServerHeldDown, com.sun.corba.se.PortableActivationIDL.ServerAlreadyUninstalled; |
| 60 | + |
| 61 | + /** list active servers |
| 62 | + */ |
| 63 | + String[] getActiveServers (); |
| 64 | + |
| 65 | + /** list all registered ORBs for a server |
| 66 | + */ |
| 67 | + String[] getORBNames (String serverId) throws com.sun.corba.se.PortableActivationIDL.ServerNotRegistered; |
| 68 | + |
| 69 | + /** Find the server template that corresponds to the ORBD's |
| 70 | + * adapter id. |
| 71 | + */ |
| 72 | + org.omg.PortableInterceptor.ObjectReferenceTemplate lookupPOATemplate (String serverId, String orbId, String[] orbAdapterName); |
| 73 | +} // interface ActivatorOperations |
0 commit comments