KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > corba > se > PortableActivationIDL > LocatorOperations


1 package com.sun.corba.se.PortableActivationIDL;
2
3
4 /**
5 * com/sun/corba/se/PortableActivationIDL/LocatorOperations.java .
6 * Generated by the IDL-to-Java compiler (portable), version "3.2"
7 * from ../../../../src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
8 * Saturday, February 9, 2008 2:04:41 AM PST
9 */

10
11 public interface LocatorOperations
12 {
13
14   /** locate server - returns the port with a specific type for all registered
15     * ORBs of an active server.
16     * Starts the server if it is not already running.
17     */

18   com.sun.corba.se.PortableActivationIDL.LocatorPackage.ServerLocationPerType locateServer (String JavaDoc serverId, String JavaDoc endPoint) throws com.sun.corba.se.PortableActivationIDL.NoSuchEndPoint, com.sun.corba.se.PortableActivationIDL.ServerNotRegistered, com.sun.corba.se.PortableActivationIDL.ServerHeldDown;
19
20   /** locate server - returns all ports registered with a specified ORB for
21     * an active server
22     * Starts the server if it is not already running.
23     */

24   com.sun.corba.se.PortableActivationIDL.LocatorPackage.ServerLocationPerORB locateServerForORB (String JavaDoc serverId, String JavaDoc orbId) throws com.sun.corba.se.PortableActivationIDL.InvalidORBid, com.sun.corba.se.PortableActivationIDL.ServerNotRegistered, com.sun.corba.se.PortableActivationIDL.ServerHeldDown;
25
26   /** get the port for the endpoint of the locator
27     */

28   int getEndpoint (String JavaDoc endPointType) throws com.sun.corba.se.PortableActivationIDL.NoSuchEndPoint;
29
30   /** Useful from external BadServerIdHandlers which need
31     * to pick a particular port type.
32     */

33   int getServerPortForType (com.sun.corba.se.PortableActivationIDL.LocatorPackage.ServerLocationPerORB location, String JavaDoc endPointType) throws com.sun.corba.se.PortableActivationIDL.NoSuchEndPoint;
34 } // interface LocatorOperations
35
Popular Tags