1 28 29 package com.caucho.jca.cfg; 30 31 import com.caucho.config.ConfigException; 32 import com.caucho.log.Log; 33 import com.caucho.util.L10N; 34 35 import java.util.logging.Logger ; 36 37 40 public class InboundResourceAdapterConfig { 41 private static final L10N L = new L10N(InboundResourceAdapterConfig.class); 42 private static final Logger log = Log.open(InboundResourceAdapterConfig.class); 43 44 private ResourceAdapterConfig _resourceAdapter; 45 46 InboundResourceAdapterConfig(ResourceAdapterConfig ra) 47 { 48 _resourceAdapter = ra; 49 } 50 51 54 public MessageAdapterConfig createMessageadapter() 55 { 56 MessageAdapterConfig msg = new MessageAdapterConfig(); 57 58 return msg; 59 } 60 61 public class MessageAdapterConfig { 62 public void addMessagelistener(MessageListenerConfig listener) 63 throws ConfigException 64 { 65 _resourceAdapter.addMessageListener(listener); 66 } 67 } 68 } 69 | Popular Tags |