1 28 29 30 package com.caucho.management.j2ee; 31 32 35 public class EJBModule extends J2EEModule { 36 private final String _name; 37 38 public EJBModule(String name) 39 { 40 _name = name; 41 } 42 43 protected String getName() 44 { 45 return _name; 46 } 47 48 public String getDeploymentDescriptor() 49 { 50 return ""; 52 } 53 54 58 public String []getEjbs() 59 { 60 return queryObjectNamesSet( 61 new String [][] { 62 { "j2eeType", "EntityBean", "EJBModule", getName() }, 63 { "j2eeType", "StatefulSessionBean", "EJBModule", getName() }, 64 { "j2eeType", "StatelessSessionBean", "EJBModule", getName() }, 65 { "j2eeType", "MessageDrivenSessionBean", "EJBModule", getName() }, 66 }); 67 68 } 69 } 70 | Popular Tags |