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.idl8 * Saturday, February 9, 2008 2:04:41 AM PST9 */10 11 public interface LocatorOperations 12 {13 14 /** locate server - returns the port with a specific type for all registered15 * 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 serverId, String 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 for21 * an active server22 * Starts the server if it is not already running.23 */24 com.sun.corba.se.PortableActivationIDL.LocatorPackage.ServerLocationPerORB locateServerForORB (String serverId, String 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 locator27 */28 int getEndpoint (String endPointType) throws com.sun.corba.se.PortableActivationIDL.NoSuchEndPoint;29 30 /** Useful from external BadServerIdHandlers which need31 * to pick a particular port type.32 */33 int getServerPortForType (com.sun.corba.se.PortableActivationIDL.LocatorPackage.ServerLocationPerORB location, String endPointType) throws com.sun.corba.se.PortableActivationIDL.NoSuchEndPoint;34 } // interface LocatorOperations35