Package org.jboss.ejb.plugins.jms

Source Code of org.jboss.ejb.plugins.jms.JMSContainerInvoker

/*     */ package org.jboss.ejb.plugins.jms;
/*     */
/*     */ import java.util.ArrayList;
/*     */ import javax.jms.MessageListener;
/*     */ import javax.resource.spi.endpoint.MessageEndpoint;
/*     */ import org.jboss.deployment.DeploymentException;
/*     */ import org.jboss.ejb.EJBProxyFactory;
/*     */ import org.jboss.ejb.MessageDrivenContainer;
/*     */ import org.jboss.ejb.plugins.inflow.JBossJMSMessageEndpointFactory;
/*     */ import org.jboss.ejb.plugins.inflow.MessageEndpointInterceptor;
/*     */ import org.jboss.invocation.InvokerInterceptor;
/*     */ import org.jboss.metadata.MessageDrivenMetaData;
/*     */ import org.jboss.proxy.ClientMethodInterceptor;
/*     */ import org.jboss.proxy.TransactionInterceptor;
/*     */ import org.jboss.util.NotImplementedException;
/*     */
/*     */ public class JMSContainerInvoker extends JBossJMSMessageEndpointFactory
/*     */   implements EJBProxyFactory, JMSContainerInvokerMBean
/*     */ {
/*     */   protected void setupProxyParameters()
/*     */     throws DeploymentException
/*     */   {
/*  55 */     this.interfaces = new Class[] { MessageEndpoint.class, MessageListener.class };
/*     */
/*  58 */     this.interceptors = new ArrayList();
/*  59 */     this.interceptors.add(ClientMethodInterceptor.class);
/*  60 */     this.interceptors.add(MessageEndpointInterceptor.class);
/*  61 */     this.interceptors.add(TransactionInterceptor.class);
/*  62 */     this.interceptors.add(InvokerInterceptor.class);
/*     */   }
/*     */
/*     */   public MessageDrivenMetaData getMetaData()
/*     */   {
/*  67 */     MessageDrivenMetaData config = (MessageDrivenMetaData)this.container.getBeanMetaData();
/*     */
/*  69 */     return config;
/*     */   }
/*     */
/*     */   public boolean getCreateJBossMQDestination()
/*     */   {
/*  75 */     return false;
/*     */   }
/*     */
/*     */   public long getKeepAliveMillis()
/*     */   {
/*  81 */     return 0L;
/*     */   }
/*     */
/*     */   public int getMaxMessages()
/*     */   {
/*  87 */     return 0;
/*     */   }
/*     */
/*     */   public int getMaxPoolSize()
/*     */   {
/*  93 */     return 0;
/*     */   }
/*     */
/*     */   public int getMinPoolSize()
/*     */   {
/*  99 */     return 0;
/*     */   }
/*     */
/*     */   public void setKeepAliveMillis(long keepAlive)
/*     */   {
/* 105 */     throw new NotImplementedException("setKeepAliveMillis");
/*     */   }
/*     */
/*     */   public void setMaxMessages(int maxMessages)
/*     */   {
/* 112 */     throw new NotImplementedException("setMaxMessages");
/*     */   }
/*     */
/*     */   public void setMaxPoolSize(int maxPoolSize)
/*     */   {
/* 119 */     throw new NotImplementedException("setMaxPoolSize");
/*     */   }
/*     */
/*     */   public void setMinPoolSize(int minPoolSize)
/*     */   {
/* 126 */     throw new NotImplementedException("setMinPoolSize");
/*     */   }
/*     */ }

/* Location:           /home/mnovotny/projects/EMBEDDED_JBOSS_BETA3_COMMUNITY/embedded/output/lib/embedded-jboss/lib/jboss-embedded-all.jar
* Qualified Name:     org.jboss.ejb.plugins.jms.JMSContainerInvoker
* JD-Core Version:    0.6.0
*/
TOP

Related Classes of org.jboss.ejb.plugins.jms.JMSContainerInvoker

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.