KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > SOFA > SOFAnet > Admin > RMI > RMIAdminInterface


1 /*
2  * RMIAdminInterface.java
3  *
4  * Created on 10. květen 2004, 20:39
5  */

6
7 package SOFA.SOFAnet.Admin.RMI;
8
9 import java.rmi.Remote JavaDoc;
10 import java.rmi.RemoteException JavaDoc;
11 import SOFA.SOFAnode.TR.ComponentInfo;
12 import SOFA.SOFAnet.Repository.Licence;
13 import SOFA.SOFAnet.Repository.NodeNameFilter;
14 import SOFA.SOFAnet.Repository.ShareGroups;
15 import SOFA.SOFAnet.Repository.BundleOffer;
16 import SOFA.SOFAnet.Repository.LocalInfo;
17 import SOFA.SOFAnet.Repository.BundleContent;
18 import SOFA.SOFAnet.Repository.InputTrigger;
19 import SOFA.SOFAnet.Repository.OutputTrigger;
20 import SOFA.SOFAnet.Repository.Contract;
21 import SOFA.SOFAnet.Search.SearchPattern;
22 import SOFA.SOFAnet.Search.SearchReplyItem;
23 import SOFA.SOFAnet.Search.RMI.RMISearchConfiguration;
24
25 /**
26  *
27  * @author Ladislav Sobr
28  */

29 public interface RMIAdminInterface extends Remote JavaDoc
30 {
31   String JavaDoc[] binBundlesList() throws RemoteException JavaDoc;
32   String JavaDoc[] licencesList() throws RemoteException JavaDoc;
33   String JavaDoc[] localInfosList() throws RemoteException JavaDoc;
34   LocalInfoDesc[] localInfoDescsList() throws RemoteException JavaDoc;
35   ComponentInfo[] componentsInTRList() throws RemoteException JavaDoc;
36   String JavaDoc[] bundleOffersList() throws RemoteException JavaDoc;
37   String JavaDoc[] inputTriggersList() throws RemoteException JavaDoc;
38   InputTriggerDesc[] inputTriggerDescsList() throws RemoteException JavaDoc;
39   String JavaDoc[] outputTriggersList() throws RemoteException JavaDoc;
40   OutputTriggerDesc[] outputTriggerDescsList() throws RemoteException JavaDoc;
41   String JavaDoc[] contractsList() throws RemoteException JavaDoc;
42   ContractDesc[] contractDescsList() throws RemoteException JavaDoc;
43   
44   Licence getLicence(String JavaDoc bundleName) throws RemoteException JavaDoc;
45   void updateLicence(String JavaDoc bundleName, Licence licence) throws RMIAdminException, RemoteException JavaDoc;
46
47   BundleOffer getBundleOffer(String JavaDoc bundleName) throws RemoteException JavaDoc;
48   void deleteBundleOffer(String JavaDoc bundleName) throws RemoteException JavaDoc;
49
50   LocalInfo getLocalInfo(String JavaDoc bundleName) throws RemoteException JavaDoc;
51   
52   BundleContent getInstalledBundleContent(String JavaDoc bundleName) throws RemoteException JavaDoc;
53   BundleContent getSharedBundleContent(String JavaDoc bundleName) throws RemoteException JavaDoc;
54   
55   void deleteComponentsFromTR(ComponentInfo[] components, boolean interfaces, boolean inferiors) throws RMIAdminException, RemoteException JavaDoc;
56
57   InputTrigger getInputTrigger(String JavaDoc name) throws RemoteException JavaDoc;
58   void updateInputTrigger(String JavaDoc name, InputTrigger inputTrigger) throws RMIAdminException, RemoteException JavaDoc;
59   
60   OutputTrigger getOutputTrigger(String JavaDoc name) throws RemoteException JavaDoc;
61   void updateOutputTrigger(String JavaDoc name, OutputTrigger outputTrigger) throws RMIAdminException, RemoteException JavaDoc;
62
63   Contract getContract(String JavaDoc name) throws RemoteException JavaDoc;
64   void updateContract(String JavaDoc name, Contract contract) throws RMIAdminException, RemoteException JavaDoc;
65
66   RMISearchConfiguration getRMISearchConfiguration() throws RemoteException JavaDoc;
67   void setRMISearchConfiguration(RMISearchConfiguration configuration) throws RemoteException JavaDoc;
68   void applyRMISearchConfiguration() throws RemoteException JavaDoc;
69   
70   void installBundle(String JavaDoc bundleName, boolean reinstall) throws RMIAdminException, RemoteException JavaDoc;
71   void uninstallBundle(String JavaDoc bundleName, boolean deleteComponents, boolean includingInterfaces, boolean force) throws RMIAdminException, RemoteException JavaDoc;
72   void createBinaryBundle(String JavaDoc bundleName, boolean overwrite) throws RMIAdminException, RemoteException JavaDoc;
73   void deleteBinaryBundle(String JavaDoc bundleName) throws RMIAdminException, RemoteException JavaDoc;
74   void deleteBundle(String JavaDoc bundleName) throws RMIAdminException, RemoteException JavaDoc;
75   void createUserBundle(String JavaDoc bundleName, ComponentInfo[] components, boolean subcomponents) throws RMIAdminException, RemoteException JavaDoc;
76   String JavaDoc createComponentBundle(ComponentInfo component, boolean subcomponents) throws RMIAdminException, RemoteException JavaDoc;
77   
78   boolean testPush(String JavaDoc bundleName, String JavaDoc nodeName, boolean offer) throws RMIAdminException, RemoteException JavaDoc;
79   boolean testPull(String JavaDoc bundleName, String JavaDoc nodeName, String JavaDoc contractID) throws RMIAdminException, RemoteException JavaDoc;
80   void pushBundle(String JavaDoc bundleName, String JavaDoc nodeName, int numberOfLicences) throws RMIAdminException, RemoteException JavaDoc;
81   void pullBundle(String JavaDoc bundleName, String JavaDoc nodeName, String JavaDoc contractID, boolean synchro) throws RMIAdminException, RemoteException JavaDoc;
82   void pushBundleOffer(String JavaDoc bundleName, String JavaDoc nodeName) throws RMIAdminException, RemoteException JavaDoc;
83   void createBundleOfferFromBinBundle(String JavaDoc bundleName, boolean overwrite) throws RMIAdminException, RemoteException JavaDoc;
84   void generateTriggersOfContract(String JavaDoc contractID, boolean firstDelete) throws RMIAdminException, RemoteException JavaDoc;
85   void deleteTriggersOfContract(String JavaDoc contractID) throws RMIAdminException, RemoteException JavaDoc;
86   
87   void shareBundle(String JavaDoc bundleName, int numberOfLicences, ShareGroups shareGroups, NodeNameFilter nodeFilter, boolean equality, boolean reshare) throws RMIAdminException, RemoteException JavaDoc;
88   void unshareBundle(String JavaDoc bundleName, boolean recoverLicences, boolean force) throws RMIAdminException, RemoteException JavaDoc;
89   void acquireSharedBundle(String JavaDoc bundleName, String JavaDoc nodeName, boolean tryNoShareClient) throws RMIAdminException, RemoteException JavaDoc;
90   void stopShareClientOfBundle(String JavaDoc bundleName, boolean returnLicence, boolean force) throws RMIAdminException, RemoteException JavaDoc;
91   public void makeShareClientsReturnBundle(String JavaDoc bundleName) throws RMIAdminException, RemoteException JavaDoc;
92   
93   SearchReplyItem[] search(SearchPattern searchPattern, boolean firstOnly, String JavaDoc shareGroup, int timeout) throws RMIAdminException, RemoteException JavaDoc;
94 }
95
Popular Tags