1. package com.sun.corba.se.spi.activation;
  2. /**
  3. * com/sun/corba/se/spi/activation/RepositoryOperations.java .
  4. * Generated by the IDL-to-Java compiler (portable), version "3.2"
  5. * from ../../../../src/share/classes/com/sun/corba/se/spi/activation/activation.idl
  6. * Wednesday, September 15, 2004 3:50:43 AM PDT
  7. */
  8. public interface RepositoryOperations
  9. {
  10. // always uninstalled.
  11. 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;
  12. // unregister server definition
  13. void unregisterServer (int serverId) throws com.sun.corba.se.spi.activation.ServerNotRegistered;
  14. // get server definition
  15. com.sun.corba.se.spi.activation.RepositoryPackage.ServerDef getServer (int serverId) throws com.sun.corba.se.spi.activation.ServerNotRegistered;
  16. // Return whether the server has been installed
  17. boolean isInstalled (int serverId) throws com.sun.corba.se.spi.activation.ServerNotRegistered;
  18. // if the server is currently marked as installed.
  19. void install (int serverId) throws com.sun.corba.se.spi.activation.ServerNotRegistered, com.sun.corba.se.spi.activation.ServerAlreadyInstalled;
  20. // if the server is currently marked as uninstalled.
  21. void uninstall (int serverId) throws com.sun.corba.se.spi.activation.ServerNotRegistered, com.sun.corba.se.spi.activation.ServerAlreadyUninstalled;
  22. // list registered servers
  23. int[] listRegisteredServers ();
  24. // servers.
  25. String[] getApplicationNames ();
  26. // Find the ServerID associated with the given application name.
  27. int getServerID (String applicationName) throws com.sun.corba.se.spi.activation.ServerNotRegistered;
  28. } // interface RepositoryOperations