1 28 29 package com.caucho.server.e_app; 30 31 import com.caucho.util.L10N; 32 33 import javax.annotation.PostConstruct; 34 35 38 public class AppClientBinding { 39 private static final L10N L = new L10N(AppClientBinding.class); 40 41 private EntAppClient _appClient; 42 43 AppClientBinding(EntAppClient appClient) 44 { 45 _appClient = appClient; 46 } 47 48 51 public void addEjbLink(EjbLink link) 52 throws Exception 53 { 54 } 55 56 class EjbLink { 57 public String _ejbName; 58 public String _jndiName; 59 60 public void setEjbName(String ejbName) 61 { 62 _ejbName = ejbName; 63 } 64 65 public void setJndiName(String jndiName) 66 { 67 _jndiName = jndiName; 68 } 69 70 @PostConstruct 71 public void init() 72 { 73 System.out.println("ENB: " + _ejbName + " " + _jndiName); 74 } 75 } 76 } 77 | Popular Tags |