1 23 package com.sun.enterprise.deployment; 24 25 import java.util.logging.*; 26 import com.sun.logging.*; 27 28 import com.sun.enterprise.deployment.MethodDescriptor; 29 import com.sun.enterprise.util.LocalStringManagerImpl; 30 import com.sun.enterprise.deployment.util.LogDomains; 31 32 35 36 public class EjbInitInfo 37 { 38 private static LocalStringManagerImpl localStrings = 39 new LocalStringManagerImpl(EjbInitInfo.class); 40 41 static Logger _logger = LogDomains.getLogger(LogDomains.DPL_LOGGER); 42 43 private MethodDescriptor beanMethod; 44 private MethodDescriptor createMethod; 45 46 public MethodDescriptor getBeanMethod() { 47 return beanMethod; 48 } 49 50 public void setBeanMethod(MethodDescriptor method) { 51 beanMethod = method; 52 } 53 54 public MethodDescriptor getCreateMethod() { 55 return createMethod; 56 } 57 58 public void setCreateMethod(MethodDescriptor method) { 59 createMethod = method; 60 } 61 62 63 public String toString() { 64 StringBuffer sb = new StringBuffer (); 65 sb.append("bean method = " + beanMethod + "\t"); 66 sb.append("create method = " + createMethod + "\t"); 67 return sb.toString(); 68 } 69 } 70 71 | Popular Tags |