1 22 package org.jboss.ejb3.test.aspectdomain; 23 24 import javax.ejb.Remote ; 25 import javax.ejb.Stateful ; 26 27 import org.jboss.annotation.ejb.cache.Cache; 28 import org.jboss.annotation.ejb.cache.tree.CacheConfig; 29 import org.jboss.annotation.ejb.RemoteBinding; 30 import org.jboss.annotation.ejb.PoolClass; 31 import org.jboss.logging.Logger; 32 33 39 @Stateful(name="DeploymentDescriptorStateful") 40 @Remote (org.jboss.ejb3.test.aspectdomain.Stateful.class) 41 @RemoteBinding(jndiBinding = "DeploymentDescriptorStateful") 42 @PoolClass(value=org.jboss.ejb3.ThreadlocalPool.class, maxSize=30, timeout=10000) 43 @Cache(org.jboss.ejb3.cache.tree.StatefulTreeCache.class) 44 @CacheConfig(name="jboss.cache:service=EJB3SFSBClusteredCache", maxSize=100000, idleTimeoutSeconds=300) 45 public class DeploymentDescriptorStatefulBean 46 implements org.jboss.ejb3.test.aspectdomain.Stateful 47 { 48 private static final Logger log = Logger.getLogger(DeploymentDescriptorStatefulBean.class); 49 50 public String test() throws Exception 51 { 52 return "Not intercepted"; 53 } 54 } 55 | Popular Tags |