1. package com.sun.corba.se.PortableActivationIDL;
  2. /**
  3. * com/sun/corba/se/PortableActivationIDL/RepositoryOperations.java .
  4. * Generated by the IDL-to-Java compiler (portable), version "3.2"
  5. * from ../../../../src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
  6. * Wednesday, September 15, 2004 3:50:44 AM PDT
  7. */
  8. public interface RepositoryOperations
  9. {
  10. /** register server definition.
  11. * This returns the serverId of the server. A newly created server is
  12. * always uninstalled.
  13. */
  14. String registerServer (com.sun.corba.se.PortableActivationIDL.RepositoryPackage.ServerDef serverDef) throws com.sun.corba.se.PortableActivationIDL.ServerAlreadyRegistered, com.sun.corba.se.PortableActivationIDL.BadServerDefinition;
  15. /** unregister server definition
  16. */
  17. void unregisterServer (String serverId) throws com.sun.corba.se.PortableActivationIDL.ServerNotRegistered;
  18. /** get server definition
  19. */
  20. com.sun.corba.se.PortableActivationIDL.RepositoryPackage.ServerDef getServer (String serverId) throws com.sun.corba.se.PortableActivationIDL.ServerNotRegistered;
  21. /** Return whether the server has been installed
  22. */
  23. boolean isInstalled (String serverId) throws com.sun.corba.se.PortableActivationIDL.ServerNotRegistered;
  24. /** Mark the server as being installed. Raises ServerAlreadyInstalled
  25. * if the server is currently marked as installed.
  26. */
  27. void install (String serverId) throws com.sun.corba.se.PortableActivationIDL.ServerNotRegistered, com.sun.corba.se.PortableActivationIDL.ServerAlreadyInstalled;
  28. /** Mark the server as being uninstalled. Raises ServerAlreadyUninstalled
  29. * if the server is currently marked as uninstalled.
  30. */
  31. void uninstall (String serverId) throws com.sun.corba.se.PortableActivationIDL.ServerNotRegistered, com.sun.corba.se.PortableActivationIDL.ServerAlreadyUninstalled;
  32. /** list registered servers
  33. */
  34. String[] listRegisteredServers ();
  35. /** Returns list of ALL applicationNames defined in ServerDefs of registered
  36. * servers.
  37. */
  38. String[] getApplicationNames ();
  39. /** Find the ServerID associated with the given application name.
  40. */
  41. String getServerID (String applicationName) throws com.sun.corba.se.PortableActivationIDL.ServerNotRegistered;
  42. } // interface RepositoryOperations