01: /*
02: * ChainBuilder ESB
03: * Visual Enterprise Integration
04: *
05: * Copyright (C) 2006 Bostech Corporation
06: *
07: * This program is free software; you can redistribute it and/or modify it
08: * under the terms of the GNU General Public License as published by the
09: * Free Software Foundation; either version 2 of the License, or (at your option)
10: * any later version.
11: *
12: * This program is distributed in the hope that it will be useful,
13: * but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
14: * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
15: * for more details.
16: *
17: * You should have received a copy of the GNU General Public License along with
18: * this program; if not, write to the Free Software Foundation, Inc.,
19: * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20: *
21: *
22: * $Id $
23: */
24: package com.bostechcorp.cbesb.console.common;
25:
26: import com.google.gwt.user.client.rpc.IsSerializable;
27:
28: public class JmxAssemblyInfo extends BaseRPCResultInfo implements
29: IsSerializable {
30:
31: public static final int GET_CURRENT_SERVICEASSEMBLY_LIST = 1;
32: public static final int GET_DEPLOY_SERVICEASSEMBLY_LIST = 2;
33: public static final int GET_REMOVE_SERVICEASSEMBLY_LIST = 3;
34:
35: public static final int DEPLOY_SERVICEASSEMBLY = 4;
36: public static final int UNDEPLOY_SERVICEASSEMBLY = 5;
37:
38: public static final int START_SERVICEASSEMBLY = 6;
39: public static final int STOP_SERVICEASSEMBLY = 7;
40: public static final int SHOTDOWN_SERVICEASSEMBLY = 8;
41:
42: public static final int REMOVE_SERVICEASSEMBLY = 9;
43:
44: public static final String[] LifeCycleState = new String[] {
45: "Shutdown", "Started" };
46: public static final String[] LifeCycleOper = new String[] {
47: "Shutdown", "Start" };
48:
49: private String serviceAssemblies[];
50: private String saStates[];
51: private String undeployServiceAssemblies[];
52: private String saJarName[];
53: private int refreshRate = 60000;
54:
55: public String[] getServiceAssemblys() {
56: return serviceAssemblies;
57: }
58:
59: public void setServiceAssemblys(String[] serviceAssemblys) {
60: this .serviceAssemblies = serviceAssemblys;
61: }
62:
63: public String[] getSaStates() {
64: return saStates;
65: }
66:
67: public void setSaStates(String[] saStates) {
68: this .saStates = saStates;
69: }
70:
71: public String[] getUndeployServiceAssemblies() {
72: return undeployServiceAssemblies;
73: }
74:
75: public void setUndeployServiceAssemblies(
76: String[] undeployServiceAssemblies) {
77: this .undeployServiceAssemblies = undeployServiceAssemblies;
78: }
79:
80: public String[] getSaJarName() {
81: return saJarName;
82: }
83:
84: public void setSaJarName(String[] saJarName) {
85: this .saJarName = saJarName;
86: }
87:
88: public int getRefreshRate() {
89: return refreshRate;
90: }
91:
92: public void setRefreshRate(int refreshRate) {
93: this.refreshRate = refreshRate;
94: }
95:
96: }
|