1 package com.sun.corba.se.spi.activation;2 3 4 /**5 * com/sun/corba/se/spi/activation/RepositoryOperations.java .6 * Generated by the IDL-to-Java compiler (portable), version "3.2"7 * from ../../../../src/share/classes/com/sun/corba/se/spi/activation/activation.idl8 * Saturday, February 9, 2008 2:04:39 AM PST9 */10 11 public interface RepositoryOperations 12 {13 14 // always uninstalled.15 int registerServer (com.sun.corba.se.spi.activation.RepositoryPackage.ServerDef serverDef) throws com.sun.corba.se.spi.activation.ServerAlreadyRegistered, com.sun.corba.se.spi.activation.BadServerDefinition;16 17 // unregister server definition18 void unregisterServer (int serverId) throws com.sun.corba.se.spi.activation.ServerNotRegistered;19 20 // get server definition21 com.sun.corba.se.spi.activation.RepositoryPackage.ServerDef getServer (int serverId) throws com.sun.corba.se.spi.activation.ServerNotRegistered;22 23 // Return whether the server has been installed24 boolean isInstalled (int serverId) throws com.sun.corba.se.spi.activation.ServerNotRegistered;25 26 // if the server is currently marked as installed.27 void install (int serverId) throws com.sun.corba.se.spi.activation.ServerNotRegistered, com.sun.corba.se.spi.activation.ServerAlreadyInstalled;28 29 // if the server is currently marked as uninstalled.30 void uninstall (int serverId) throws com.sun.corba.se.spi.activation.ServerNotRegistered, com.sun.corba.se.spi.activation.ServerAlreadyUninstalled;31 32 // list registered servers33 int[] listRegisteredServers ();34 35 // servers.36 String [] getApplicationNames ();37 38 // Find the ServerID associated with the given application name.39 int getServerID (String applicationName) throws com.sun.corba.se.spi.activation.ServerNotRegistered;40 } // interface RepositoryOperations41