KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > enhydra > shark > Administration


1 package org.enhydra.shark;
2
3
4 import org.enhydra.shark.api.client.wfservice.*;
5
6 /**
7  * The client interface through which client accesses specific
8  * admin interfaces to perform the various actions on engine.
9  * @author Sasa Bojanic
10  * @author Vladimir Puskas
11  */

12 public class Administration implements AdminInterface {
13
14    protected Administration () {}
15
16    public AdminMisc getAdminMisc () {
17       return SharkEngineManager.getInstance().getObjectFactory().createAdminMisc();
18    }
19
20    public ExecutionAdministration getExecutionAdministration () {
21       return SharkEngineManager.getInstance().getObjectFactory().createExecutionAdministration();
22    }
23
24    public ParticipantMappingAdministration getParticipantMappingAdministration () {
25        return SharkEngineManager.getInstance().getObjectFactory().createParticipantMappingAdministration();
26    }
27
28    public ApplicationMappingAdministration getApplicationMappingAdministration() {
29         return SharkEngineManager.getInstance().getObjectFactory().createApplicationMappingAdministration();
30    }
31
32    public ScriptMappingAdministration getScriptMappingAdministration () {
33         return SharkEngineManager.getInstance().getObjectFactory().createScriptMappingAdministration();
34    }
35
36    public PackageAdministration getPackageAdministration() {
37       return SharkEngineManager.getInstance().getObjectFactory().createPackageAdministration();
38    }
39
40    public UserGroupAdministration getUserGroupAdministration() {
41       return SharkEngineManager.getInstance().getObjectFactory().createUserGroupAdministration();
42    }
43
44    public CacheAdministration getCacheAdministration() {
45       return SharkEngineManager.getInstance().getObjectFactory().createCacheAdministration();
46    }
47
48    public DeadlineAdministration getDeadlineAdministration() {
49       return SharkEngineManager.getInstance().getObjectFactory().createDeadlineAdministration();
50    }
51
52    public LimitAdministration getLimitAdministration() {
53       return SharkEngineManager.getInstance().getObjectFactory().createLimitAdministration();
54    }
55
56
57 }
58
Popular Tags