1 23 24 package com.sun.enterprise.management.model; 25 26 import javax.management.ObjectName ; 27 import com.sun.enterprise.management.util.J2EEModuleCallBack; 28 29 public class AppClientModuleMdl extends J2EEModuleMdl { 30 private String APPCLIENTMODULE = "AppClientModule"; 31 32 private String appClientName = null; 33 private String applicationName = null; 34 35 public AppClientModuleMdl(J2EEModuleCallBack module) { 36 super(module); 37 appClientName = module.getName(); 38 applicationName = module.getParentName(); 39 if(isStandAloneModule(applicationName)) 40 this.applicationName = "null"; 41 } 42 43 46 public String getj2eeType() { 47 return APPCLIENTMODULE; 48 } 49 50 51 public String getJ2EEApplication() { 52 return this.applicationName; 53 } 54 55 public String getModuleName() { 56 return this.appClientName; 58 } 59 60 public void addVm(String vmId) { 61 super.addVm(vmId); 62 } 63 } 64 | Popular Tags |