1 package com.sun.corba.se.PortableActivationIDL;2 3 4 /**5 * com/sun/corba/se/PortableActivationIDL/RepositoryOperations.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 RepositoryOperations 12 {13 14 /** register server definition.15 * This returns the serverId of the server. A newly created server is16 * always uninstalled.17 */18 String registerServer (com.sun.corba.se.PortableActivationIDL.RepositoryPackage.ServerDef serverDef) throws com.sun.corba.se.PortableActivationIDL.ServerAlreadyRegistered, com.sun.corba.se.PortableActivationIDL.BadServerDefinition;19 20 /** unregister server definition21 */22 void unregisterServer (String serverId) throws com.sun.corba.se.PortableActivationIDL.ServerNotRegistered;23 24 /** get server definition25 */26 com.sun.corba.se.PortableActivationIDL.RepositoryPackage.ServerDef getServer (String serverId) throws com.sun.corba.se.PortableActivationIDL.ServerNotRegistered;27 28 /** Return whether the server has been installed29 */30 boolean isInstalled (String serverId) throws com.sun.corba.se.PortableActivationIDL.ServerNotRegistered;31 32 /** Mark the server as being installed. Raises ServerAlreadyInstalled33 * if the server is currently marked as installed.34 */35 void install (String serverId) throws com.sun.corba.se.PortableActivationIDL.ServerNotRegistered, com.sun.corba.se.PortableActivationIDL.ServerAlreadyInstalled;36 37 /** Mark the server as being uninstalled. Raises ServerAlreadyUninstalled38 * if the server is currently marked as uninstalled.39 */40 void uninstall (String serverId) throws com.sun.corba.se.PortableActivationIDL.ServerNotRegistered, com.sun.corba.se.PortableActivationIDL.ServerAlreadyUninstalled;41 42 /** list registered servers43 */44 String [] listRegisteredServers ();45 46 /** Returns list of ALL applicationNames defined in ServerDefs of registered 47 * servers.48 */49 String [] getApplicationNames ();50 51 /** Find the ServerID associated with the given application name.52 */53 String getServerID (String applicationName) throws com.sun.corba.se.PortableActivationIDL.ServerNotRegistered;54 } // interface RepositoryOperations55