KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > corba > se > PortableActivationIDL > RepositoryOperations


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.idl
8 * Saturday, February 9, 2008 2:04:41 AM PST
9 */

10
11 public interface RepositoryOperations
12 {
13
14   /** register server definition.
15     * This returns the serverId of the server. A newly created server is
16     * always uninstalled.
17     */

18   String JavaDoc 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 definition
21     */

22   void unregisterServer (String JavaDoc serverId) throws com.sun.corba.se.PortableActivationIDL.ServerNotRegistered;
23
24   /** get server definition
25     */

26   com.sun.corba.se.PortableActivationIDL.RepositoryPackage.ServerDef getServer (String JavaDoc serverId) throws com.sun.corba.se.PortableActivationIDL.ServerNotRegistered;
27
28   /** Return whether the server has been installed
29     */

30   boolean isInstalled (String JavaDoc serverId) throws com.sun.corba.se.PortableActivationIDL.ServerNotRegistered;
31
32   /** Mark the server as being installed. Raises ServerAlreadyInstalled
33     * if the server is currently marked as installed.
34     */

35   void install (String JavaDoc serverId) throws com.sun.corba.se.PortableActivationIDL.ServerNotRegistered, com.sun.corba.se.PortableActivationIDL.ServerAlreadyInstalled;
36
37   /** Mark the server as being uninstalled. Raises ServerAlreadyUninstalled
38     * if the server is currently marked as uninstalled.
39     */

40   void uninstall (String JavaDoc serverId) throws com.sun.corba.se.PortableActivationIDL.ServerNotRegistered, com.sun.corba.se.PortableActivationIDL.ServerAlreadyUninstalled;
41
42   /** list registered servers
43     */

44   String JavaDoc[] listRegisteredServers ();
45
46   /** Returns list of ALL applicationNames defined in ServerDefs of registered
47     * servers.
48     */

49   String JavaDoc[] getApplicationNames ();
50
51   /** Find the ServerID associated with the given application name.
52     */

53   String JavaDoc getServerID (String JavaDoc applicationName) throws com.sun.corba.se.PortableActivationIDL.ServerNotRegistered;
54 } // interface RepositoryOperations
55
Popular Tags