1. package com.sun.corba.se.ActivationIDL;
  2. /**
  3. * com/sun/corba/se/ActivationIDL/RepositoryOperations.java .
  4. * Generated by the IDL-to-Java compiler (portable), version "3.1"
  5. * from ../../../../../../src/share/classes/com/sun/corba/se/ActivationIDL/activation.idl
  6. * Sunday, February 22, 2004 11:21:42 PM PST
  7. */
  8. public interface RepositoryOperations
  9. {
  10. // always uninstalled.
  11. int registerServer (com.sun.corba.se.ActivationIDL.RepositoryPackage.ServerDef serverDef) throws com.sun.corba.se.ActivationIDL.ServerAlreadyRegistered, com.sun.corba.se.ActivationIDL.BadServerDefinition;
  12. // unregister server definition
  13. void unregisterServer (int serverId) throws com.sun.corba.se.ActivationIDL.ServerNotRegistered;
  14. // get server definition
  15. com.sun.corba.se.ActivationIDL.RepositoryPackage.ServerDef getServer (int serverId) throws com.sun.corba.se.ActivationIDL.ServerNotRegistered;
  16. // Return whether the server has been installed
  17. boolean isInstalled (int serverId) throws com.sun.corba.se.ActivationIDL.ServerNotRegistered;
  18. // if the server is currently marked as installed.
  19. void install (int serverId) throws com.sun.corba.se.ActivationIDL.ServerNotRegistered, com.sun.corba.se.ActivationIDL.ServerAlreadyInstalled;
  20. // if the server is currently marked as uninstalled.
  21. void uninstall (int serverId) throws com.sun.corba.se.ActivationIDL.ServerNotRegistered, com.sun.corba.se.ActivationIDL.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.ActivationIDL.ServerNotRegistered;
  28. } // interface RepositoryOperations