[jboss-cvs] /repository.jboss.com/jboss/ejb3/1.0.0.CR9-jboss4.0.5/resources ...

Vladimir Ralev validimir.ralev at jboss.com
Wed Nov 15 12:10:20 EST 2006


  User: vralev  
  Date: 06/11/15 12:10:20

  Added:       repository.jboss.com/jboss/ejb3/1.0.0.CR9-jboss4.0.5/resources   
                        ejb3-interceptors-aop.xml
                        ejb3-entity-cache-service.xml
                        ejb3-clustered-sfsbcache-service.xml
  Log:
  Here comes the 4.0.5 GA tag build
  
  Revision  Changes    Path
  1.1      date: 2006/11/15 17:10:20;  author: vralev;  state: Exp;/repository.jboss.com/jboss/ejb3/1.0.0.CR9-jboss4.0.5/resources/ejb3-interceptors-aop.xml
  
  Index: ejb3-interceptors-aop.xml
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
  <!DOCTYPE aop PUBLIC
     "-//JBoss//DTD JBOSS AOP 1.0//EN"
     "http://www.jboss.org/aop/dtd/jboss-aop_1_0.dtd">
  
  <aop>
     <interceptor class="org.jboss.aspects.remoting.InvokeRemoteInterceptor" scope="PER_VM"/>
     <interceptor class="org.jboss.aspects.security.SecurityClientInterceptor" scope="PER_VM"/>
     <interceptor class="org.jboss.aspects.tx.ClientTxPropagationInterceptor" scope="PER_VM"/>
     <interceptor class="org.jboss.ejb3.remoting.IsLocalInterceptor" scope="PER_VM"/>
     <interceptor class="org.jboss.aspects.remoting.ClusterChooserInterceptor" scope="PER_VM"/>
  
     <interceptor class="org.jboss.aspects.tx.TxPropagationInterceptor" scope="PER_VM"/>
  
     <stack name="ServiceClientInterceptors">
        <interceptor-ref name="org.jboss.ejb3.remoting.IsLocalInterceptor"/>
        <interceptor-ref name="org.jboss.aspects.security.SecurityClientInterceptor"/>
        <interceptor-ref name="org.jboss.aspects.tx.ClientTxPropagationInterceptor"/>
        <interceptor-ref name="org.jboss.aspects.remoting.InvokeRemoteInterceptor"/>
     </stack>
  
     <stack name="AsynchronousStatelessSessionClientInterceptors">
        <interceptor-ref name="org.jboss.ejb3.remoting.IsLocalInterceptor"/>
        <interceptor-ref name="org.jboss.aspects.security.SecurityClientInterceptor"/>
        <interceptor-ref name="org.jboss.aspects.tx.ClientTxPropagationInterceptor"/>
        <interceptor-ref name="org.jboss.aspects.remoting.InvokeRemoteInterceptor"/>
     </stack>
  
     <stack name="AsynchronousStatefulSessionClientInterceptors">
        <interceptor-ref name="org.jboss.ejb3.remoting.IsLocalInterceptor"/>
        <interceptor-ref name="org.jboss.aspects.security.SecurityClientInterceptor"/>
        <interceptor-ref name="org.jboss.aspects.tx.ClientTxPropagationInterceptor"/>
        <interceptor-ref name="org.jboss.aspects.remoting.InvokeRemoteInterceptor"/>
     </stack>
  
     <stack name="StatelessSessionClientInterceptors">
        <interceptor-ref name="org.jboss.ejb3.remoting.IsLocalInterceptor"/>
        <interceptor-ref name="org.jboss.aspects.security.SecurityClientInterceptor"/>
        <interceptor-ref name="org.jboss.aspects.tx.ClientTxPropagationInterceptor"/>
        <interceptor-ref name="org.jboss.aspects.remoting.InvokeRemoteInterceptor"/>
     </stack>
  
     <stack name="StatefulSessionClientInterceptors">
        <interceptor-ref name="org.jboss.ejb3.remoting.IsLocalInterceptor"/>
        <interceptor-ref name="org.jboss.aspects.security.SecurityClientInterceptor"/>
        <interceptor-ref name="org.jboss.aspects.tx.ClientTxPropagationInterceptor"/>
        <interceptor-ref name="org.jboss.aspects.remoting.InvokeRemoteInterceptor"/>
     </stack>
  
     <stack name="ClusteredStatelessSessionClientInterceptors">
        <interceptor-ref name="org.jboss.ejb3.remoting.IsLocalInterceptor"/>
        <interceptor-ref name="org.jboss.aspects.security.SecurityClientInterceptor"/>
        <interceptor-ref name="org.jboss.aspects.tx.ClientTxPropagationInterceptor"/>
        <interceptor-ref name="org.jboss.aspects.remoting.ClusterChooserInterceptor"/>
        <interceptor-ref name="org.jboss.aspects.remoting.InvokeRemoteInterceptor"/>
     </stack>
  
     <stack name="ClusteredStatefulSessionClientInterceptors">
        <interceptor-ref name="org.jboss.ejb3.remoting.IsLocalInterceptor"/>
        <interceptor-ref name="org.jboss.aspects.security.SecurityClientInterceptor"/>
        <interceptor-ref name="org.jboss.aspects.tx.ClientTxPropagationInterceptor"/>
        <interceptor-ref name="org.jboss.aspects.remoting.ClusterChooserInterceptor"/>
        <interceptor-ref name="org.jboss.aspects.remoting.InvokeRemoteInterceptor"/>
     </stack>
  
     <interceptor class="org.jboss.ejb3.asynchronous.AsynchronousInterceptor" scope="PER_CLASS"/>
     <interceptor class="org.jboss.ejb3.ENCPropagationInterceptor" scope="PER_VM"/>
     <interceptor name="Basic Authorization" factory="org.jboss.ejb3.security.RoleBasedAuthorizationInterceptorFactory" scope="PER_CLASS"/>
     <interceptor name="JACC Authorization" factory="org.jboss.ejb3.security.JaccAuthorizationInterceptorFactory" scope="PER_CLASS"/>
     <interceptor factory="org.jboss.ejb3.security.AuthenticationInterceptorFactory" scope="PER_CLASS"/>
     <interceptor factory="org.jboss.ejb3.security.RunAsSecurityInterceptorFactory" scope="PER_CLASS"/>
     <interceptor class="org.jboss.ejb3.entity.ExtendedPersistenceContextPropagationInterceptor" scope="PER_VM"/>
     <interceptor class="org.jboss.ejb3.stateless.StatelessInstanceInterceptor" scope="PER_VM"/>
     <interceptor class="org.jboss.ejb3.stateful.StatefulInstanceInterceptor" scope="PER_VM"/>
     <interceptor class="org.jboss.ejb3.stateful.SessionSynchronizationInterceptor" scope="PER_VM"/>
     <interceptor class="org.jboss.ejb3.service.ServiceSingletonInterceptor" scope="PER_VM"/>
     <interceptor class="org.jboss.ejb3.cache.StatefulReplicationInterceptor" scope="PER_VM"/>
     <interceptor factory="org.jboss.ejb3.stateful.StatefulRemoveFactory" scope="PER_CLASS_JOINPOINT"/>
     <interceptor factory="org.jboss.ejb3.tx.TxInterceptorFactory" scope="PER_CLASS_JOINPOINT"/>
     <interceptor factory="org.jboss.ejb3.interceptor.EJB3InterceptorsFactory" scope="PER_CLASS_JOINPOINT"/>
     <interceptor factory="org.jboss.ejb3.remoting.ReplicantsManagerInterceptorFactory" scope="PER_CLASS"/>
     <interceptor class="org.jboss.ejb3.AllowedOperationsInterceptor" scope="PER_VM"/>
     <interceptor factory="org.jboss.ejb3.mdb.CurrentMessageInjectorInterceptorFactory" scope="PER_CLASS"/>
     <interceptor class="org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor" scope="PER_VM"/>
  
     <domain name="Stateless Bean">
        <bind pointcut="execution(public * *->*(..))">
           <interceptor-ref name="org.jboss.ejb3.asynchronous.AsynchronousInterceptor"/>
           <interceptor-ref name="org.jboss.ejb3.ENCPropagationInterceptor"/>
           <interceptor-ref name="org.jboss.ejb3.security.AuthenticationInterceptorFactory"/>
        </bind>
        <bind pointcut="execution(public * @org.jboss.annotation.security.SecurityDomain->*(..))">
           <interceptor-ref name="Basic Authorization"/>
        </bind>
        <bind pointcut="execution(public * @javax.annotation.security.RunAs->*(..))">
           <interceptor-ref name="org.jboss.ejb3.security.RunAsSecurityInterceptorFactory"/>
        </bind>
        <bind pointcut="execution(public * @org.jboss.annotation.ejb.Clustered->*(..))">
           <interceptor-ref name="org.jboss.ejb3.remoting.ReplicantsManagerInterceptorFactory"/>
        </bind>
        <bind pointcut="execution(public * *->*(..))">
           <interceptor-ref name="org.jboss.ejb3.stateless.StatelessInstanceInterceptor"/>
           <interceptor-ref name="org.jboss.aspects.tx.TxPropagationInterceptor"/>
           <interceptor-ref name="org.jboss.ejb3.tx.TxInterceptorFactory"/>
           <interceptor-ref name="org.jboss.ejb3.AllowedOperationsInterceptor"/>
           <interceptor-ref name="org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor"/>
           <interceptor-ref name="org.jboss.ejb3.interceptor.EJB3InterceptorsFactory"/>
        </bind>
        <annotation expr="!class(@org.jboss.annotation.ejb.PoolClass)">
           @org.jboss.annotation.ejb.PoolClass (value=org.jboss.ejb3.ThreadlocalPool.class, maxSize=30, timeout=10000)
        </annotation>
     </domain>
  
     <domain name="JACC Stateless Bean">
        <bind pointcut="execution(public * *->*(..))">
           <interceptor-ref name="org.jboss.ejb3.asynchronous.AsynchronousInterceptor"/>
           <interceptor-ref name="org.jboss.ejb3.ENCPropagationInterceptor"/>
           <interceptor-ref name="org.jboss.ejb3.security.AuthenticationInterceptorFactory"/>
        </bind>
        <bind pointcut="execution(public * @org.jboss.annotation.security.SecurityDomain->*(..))">
           <interceptor-ref name="JACC Authorization"/>
        </bind>
        <bind pointcut="execution(public * @javax.annotation.security.RunAs->*(..))">
           <interceptor-ref name="org.jboss.ejb3.security.RunAsSecurityInterceptorFactory"/>
        </bind>
        <bind pointcut="execution(public * @org.jboss.annotation.ejb.Clustered->*(..))">
           <interceptor-ref name="org.jboss.ejb3.remoting.ReplicantsManagerInterceptorFactory"/>
        </bind>
        <bind pointcut="execution(public * *->*(..))">
           <interceptor-ref name="org.jboss.ejb3.stateless.StatelessInstanceInterceptor"/>
           <interceptor-ref name="org.jboss.aspects.tx.TxPropagationInterceptor"/>
           <interceptor-ref name="org.jboss.ejb3.tx.TxInterceptorFactory"/>
           <interceptor-ref name="org.jboss.ejb3.AllowedOperationsInterceptor"/>
           <interceptor-ref name="org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor"/>
           <interceptor-ref name="org.jboss.ejb3.interceptor.EJB3InterceptorsFactory"/>
        </bind>
        <annotation expr="!class(@org.jboss.annotation.ejb.PoolClass)">
           @org.jboss.annotation.ejb.PoolClass (value=org.jboss.ejb3.ThreadlocalPool.class, maxSize=30, timeout=10000)
        </annotation>
     </domain>
  
     <domain name="Base Stateful Bean">
        <bind pointcut="execution(public * *->*(..))">
           <interceptor-ref name="org.jboss.ejb3.asynchronous.AsynchronousInterceptor"/>
           <interceptor-ref name="org.jboss.ejb3.ENCPropagationInterceptor"/>
           <interceptor-ref name="org.jboss.ejb3.security.AuthenticationInterceptorFactory"/>
        </bind>
        <bind pointcut="execution(public * @org.jboss.annotation.security.SecurityDomain->*(..))">
           <interceptor-ref name="Basic Authorization"/>
        </bind>
        <bind pointcut="execution(public * @javax.annotation.security.RunAs->*(..))">
           <interceptor-ref name="org.jboss.ejb3.security.RunAsSecurityInterceptorFactory"/>
        </bind>
        <bind pointcut="execution(public * @org.jboss.annotation.ejb.Clustered->*(..))">
           <interceptor-ref name="org.jboss.ejb3.remoting.ReplicantsManagerInterceptorFactory"/>
        </bind>
        <bind pointcut="execution(public * *->@javax.ejb.Remove(..))">
           <interceptor-ref name="org.jboss.ejb3.stateful.StatefulRemoveFactory"/>
        </bind>
        <bind pointcut="execution(public * *->*(..))">
           <interceptor-ref name="org.jboss.ejb3.stateful.StatefulInstanceInterceptor"/>
           <interceptor-ref name="org.jboss.aspects.tx.TxPropagationInterceptor"/>
           <interceptor-ref name="org.jboss.ejb3.tx.TxInterceptorFactory"/>
           <interceptor-ref name="org.jboss.ejb3.AllowedOperationsInterceptor"/>
        </bind>
        <bind pointcut="execution(public * $instanceof{javax.ejb.SessionSynchronization}->*(..))">
           <interceptor-ref name="org.jboss.ejb3.stateful.SessionSynchronizationInterceptor"/>
        </bind>
        <bind pointcut="execution(public * *->*(..))">
           <interceptor-ref name="org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor"/>
           <interceptor-ref name="org.jboss.ejb3.entity.ExtendedPersistenceContextPropagationInterceptor"/>
           <interceptor-ref name="org.jboss.ejb3.interceptor.EJB3InterceptorsFactory"/>
        </bind>
  
        <bind pointcut="execution(public * @org.jboss.annotation.ejb.Clustered->*(..)) AND !execution(public * *->@javax.ejb.Remove(..))">
           <interceptor-ref name="org.jboss.ejb3.cache.StatefulReplicationInterceptor"/>
        </bind>
        <annotation expr="!class(@org.jboss.annotation.ejb.PoolClass)">
           @org.jboss.annotation.ejb.PoolClass (value=org.jboss.ejb3.ThreadlocalPool.class, maxSize=30, timeout=10000)
        </annotation>
     </domain>
  
     <domain name="Stateful Bean" extends="Base Stateful Bean" inheritBindings="true">
        <!-- NON Clustered cache configuration -->
        <annotation expr="!class(@org.jboss.annotation.ejb.cache.Cache) AND !class(@org.jboss.annotation.ejb.Clustered)">
           @org.jboss.annotation.ejb.cache.Cache (org.jboss.ejb3.cache.simple.SimpleStatefulCache.class)
        </annotation>
        <annotation expr="!class(@org.jboss.annotation.ejb.cache.simple.PersistenceManager) AND !class(@org.jboss.annotation.ejb.Clustered)">
           @org.jboss.annotation.ejb.cache.simple.PersistenceManager (org.jboss.ejb3.cache.simple.StatefulSessionFilePersistenceManager.class)
        </annotation>
        <annotation expr="!class(@org.jboss.annotation.ejb.cache.simple.CacheConfig) AND !class(@org.jboss.annotation.ejb.Clustered)">
           @org.jboss.annotation.ejb.cache.simple.CacheConfig (maxSize=100000, idleTimeoutSeconds=300)
        </annotation>
  
        <!-- Clustered cache configuration -->
        <annotation expr="!class(@org.jboss.annotation.ejb.cache.Cache) AND class(@org.jboss.annotation.ejb.Clustered)">
           @org.jboss.annotation.ejb.cache.Cache (org.jboss.ejb3.cache.tree.StatefulTreeCache.class)
        </annotation>
        <annotation expr="!class(@org.jboss.annotation.ejb.cache.tree.CacheConfig) AND class(@org.jboss.annotation.ejb.Clustered)">
           @org.jboss.annotation.ejb.cache.tree.CacheConfig (name="jboss.cache:service=EJB3SFSBClusteredCache", maxSize=100000, idleTimeoutSeconds=300)
        </annotation>
     </domain>
  
     <domain name="JACC Stateful Bean">
        <bind pointcut="execution(public * *->*(..))">
           <interceptor-ref name="org.jboss.ejb3.asynchronous.AsynchronousInterceptor"/>
           <interceptor-ref name="org.jboss.ejb3.ENCPropagationInterceptor"/>
           <interceptor-ref name="org.jboss.ejb3.security.AuthenticationInterceptorFactory"/>
        </bind>
        <bind pointcut="execution(public * @org.jboss.annotation.security.SecurityDomain->*(..))">
           <interceptor-ref name="JACC Authorization"/>
        </bind>
        <bind pointcut="execution(public * @javax.annotation.security.RunAs->*(..))">
           <interceptor-ref name="org.jboss.ejb3.security.RunAsSecurityInterceptorFactory"/>
        </bind>
        <bind pointcut="execution(public * @org.jboss.annotation.ejb.Clustered->*(..))">
           <interceptor-ref name="org.jboss.ejb3.remoting.ReplicantsManagerInterceptorFactory"/>
        </bind>
        <bind pointcut="execution(public * *->@javax.ejb.Remove(..))">
           <interceptor-ref name="org.jboss.ejb3.stateful.StatefulRemoveFactory"/>
        </bind>
        <bind pointcut="execution(public * *->*(..))">
           <interceptor-ref name="org.jboss.ejb3.stateful.StatefulInstanceInterceptor"/>
           <interceptor-ref name="org.jboss.aspects.tx.TxPropagationInterceptor"/>
           <interceptor-ref name="org.jboss.ejb3.tx.TxInterceptorFactory"/>
           <interceptor-ref name="org.jboss.ejb3.AllowedOperationsInterceptor"/>
        </bind>
        <bind pointcut="execution(public * $instanceof{javax.ejb.SessionSynchronization}->*(..))">
           <interceptor-ref name="org.jboss.ejb3.stateful.SessionSynchronizationInterceptor"/>
        </bind>
        <bind pointcut="execution(public * *->*(..))">
           <interceptor-ref name="org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor"/>
           <interceptor-ref name="org.jboss.ejb3.entity.ExtendedPersistenceContextPropagationInterceptor"/>
           <interceptor-ref name="org.jboss.ejb3.interceptor.EJB3InterceptorsFactory"/>
        </bind>
  
        <bind pointcut="execution(public * @org.jboss.annotation.ejb.Clustered->*(..)) AND !execution(public * *->@javax.ejb.Remove(..))">
           <interceptor-ref name="org.jboss.ejb3.cache.StatefulReplicationInterceptor"/>
        </bind>
        <annotation expr="!class(@org.jboss.annotation.ejb.PoolClass)">
           @org.jboss.annotation.ejb.PoolClass (value=org.jboss.ejb3.ThreadlocalPool.class, maxSize=30, timeout=10000)
        </annotation>
  
        <!-- NON Clustered cache configuration -->
        <annotation expr="!class(@org.jboss.annotation.ejb.cache.Cache) AND !class(@org.jboss.annotation.ejb.Clustered)">
           @org.jboss.annotation.ejb.cache.Cache (org.jboss.ejb3.cache.simple.SimpleStatefulCache.class)
        </annotation>
        <annotation expr="!class(@org.jboss.annotation.ejb.cache.simple.PersistenceManager) AND !class(@org.jboss.annotation.ejb.Clustered)">
           @org.jboss.annotation.ejb.cache.simple.PersistenceManager (org.jboss.ejb3.cache.simple.StatefulSessionFilePersistenceManager.class)
        </annotation>
        <annotation expr="!class(@org.jboss.annotation.ejb.cache.simple.CacheConfig) AND !class(@org.jboss.annotation.ejb.Clustered)">
           @org.jboss.annotation.ejb.cache.simple.CacheConfig (maxSize=100000, idleTimeoutSeconds=300)
        </annotation>
  
        <!-- Clustered cache configuration -->
        <annotation expr="!class(@org.jboss.annotation.ejb.cache.Cache) AND class(@org.jboss.annotation.ejb.Clustered)">
           @org.jboss.annotation.ejb.cache.Cache (org.jboss.ejb3.cache.tree.StatefulTreeCache.class)
        </annotation>
        <annotation expr="!class(@org.jboss.annotation.ejb.cache.tree.CacheConfig) AND class(@org.jboss.annotation.ejb.Clustered)">
           @org.jboss.annotation.ejb.cache.tree.CacheConfig (name="jboss.cache:service=EJB3SFSBClusteredCache", maxSize=100000, idleTimeoutSeconds=300)
        </annotation>
     </domain>
  
     <domain name="Embedded Stateful Bean" extends="Base Stateful Bean" inheritBindings="true">
        <!-- NON Clustered cache configuration -->
        <annotation expr="!class(@org.jboss.annotation.ejb.cache.Cache)">
           @org.jboss.annotation.ejb.cache.Cache (org.jboss.ejb3.cache.NoPassivationCache.class)
        </annotation>
  
     </domain>
  
     <domain name="Message Driven Bean">
        <bind pointcut="execution(public * @javax.annotation.security.RunAs->*(..))">
           <interceptor-ref name="org.jboss.ejb3.security.RunAsSecurityInterceptorFactory"/>
        </bind>
        <bind pointcut="execution(public * *->*(..))">
           <interceptor-ref name="org.jboss.ejb3.stateless.StatelessInstanceInterceptor"/>
           <interceptor-ref name="org.jboss.ejb3.tx.TxInterceptorFactory"/>
           <interceptor-ref name="org.jboss.ejb3.AllowedOperationsInterceptor"/>
           <interceptor-ref name="org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor"/>
           <interceptor-ref name="org.jboss.ejb3.interceptor.EJB3InterceptorsFactory"/>
        </bind>
        <annotation expr="!class(@org.jboss.annotation.ejb.PoolClass)">
           @org.jboss.annotation.ejb.PoolClass (value=org.jboss.ejb3.StrictMaxPool.class, maxSize=30, timeout=10000)
        </annotation>
     </domain>
     
     <domain name="Consumer Bean">
        <bind pointcut="execution(public * @javax.annotation.security.RunAs->*(..))">
           <interceptor-ref name="org.jboss.ejb3.security.RunAsSecurityInterceptorFactory"/>
        </bind>
        <bind pointcut="execution(public * *->*(..))">
           <interceptor-ref name="org.jboss.ejb3.stateless.StatelessInstanceInterceptor"/>
           <interceptor-ref name="org.jboss.ejb3.tx.TxInterceptorFactory"/>
           <interceptor-ref name="org.jboss.ejb3.AllowedOperationsInterceptor"/>
           <interceptor-ref name="org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor"/>
        </bind>
        <bind pointcut="execution(public * *->*(..)) AND (has(* *->@org.jboss.annotation.ejb.CurrentMessage(..)) OR hasfield(* *->@org.jboss.annotation.ejb.CurrentMessage))">
           <interceptor-ref name="org.jboss.ejb3.mdb.CurrentMessageInjectorInterceptorFactory"/>
        </bind>
        <bind pointcut="execution(public * *->*(..))">
           <interceptor-ref name="org.jboss.ejb3.interceptor.EJB3InterceptorsFactory"/>
        </bind>
        <annotation expr="!class(@org.jboss.annotation.ejb.PoolClass)">
           @org.jboss.annotation.ejb.PoolClass (value=org.jboss.ejb3.StrictMaxPool.class, maxSize=30, timeout=10000)
        </annotation>
     </domain>
  
     <domain name="Service Bean">
        <bind pointcut="execution(public * *->*(..))">
           <interceptor-ref name="org.jboss.ejb3.asynchronous.AsynchronousInterceptor"/>
           <interceptor-ref name="org.jboss.ejb3.ENCPropagationInterceptor"/>
        </bind>
        <bind pointcut="!execution(* *->create()) AND !execution(* *->start()) AND !execution(*->new(..))">
           <interceptor-ref name="org.jboss.ejb3.security.AuthenticationInterceptorFactory"/>
        </bind>      
        <bind pointcut="execution(public * @org.jboss.annotation.security.SecurityDomain->*(..))">
           <interceptor-ref name="Basic Authorization"/>
        </bind>
        <bind pointcut="execution(public * @javax.annotation.security.RunAs->*(..))">
           <interceptor-ref name="org.jboss.ejb3.security.RunAsSecurityInterceptorFactory"/>
        </bind>
        <bind pointcut="execution(public * *->*(..))">
           <interceptor-ref name="org.jboss.aspects.tx.TxPropagationInterceptor"/>
           <interceptor-ref name="org.jboss.ejb3.tx.TxInterceptorFactory"/>
           <interceptor-ref name="org.jboss.ejb3.AllowedOperationsInterceptor"/>
           <interceptor-ref name="org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor"/>
        </bind>
        <bind pointcut="execution(public * *->*(..)) AND !execution(* *->create()) AND !execution(* *->start())">
           <interceptor-ref name="org.jboss.ejb3.interceptor.EJB3InterceptorsFactory"/>
        </bind>
     </domain>
  
     <domain name="JACC Service Bean">
        <bind pointcut="execution(public * *->*(..))">
           <interceptor-ref name="org.jboss.ejb3.asynchronous.AsynchronousInterceptor"/>
           <interceptor-ref name="org.jboss.ejb3.ENCPropagationInterceptor"/>
        </bind>
        <bind pointcut="!execution(* *->create()) AND !execution(* *->start()) AND !execution(*->new(..))">
           <interceptor-ref name="org.jboss.ejb3.security.AuthenticationInterceptorFactory"/>
        </bind>      
        <bind pointcut="execution(public * @org.jboss.annotation.security.SecurityDomain->*(..))">
           <interceptor-ref name="Basic Authorization"/>
        </bind>
        <bind pointcut="execution(public * @javax.annotation.security.RunAs->*(..))">
           <interceptor-ref name="org.jboss.ejb3.security.RunAsSecurityInterceptorFactory"/>
        </bind>
        <bind pointcut="execution(public * *->*(..))">
           <interceptor-ref name="org.jboss.aspects.tx.TxPropagationInterceptor"/>
           <interceptor-ref name="org.jboss.ejb3.tx.TxInterceptorFactory"/>
           <interceptor-ref name="org.jboss.ejb3.AllowedOperationsInterceptor"/>
           <interceptor-ref name="org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor"/>
        </bind>
        <bind pointcut="execution(public * *->*(..)) AND !execution(* *->create()) AND !execution(* *->start())">
           <interceptor-ref name="org.jboss.ejb3.interceptor.EJB3InterceptorsFactory"/>
        </bind>
     </domain>
  
  
  </aop>
  
  
  1.1      date: 2006/11/15 17:10:20;  author: vralev;  state: Exp;/repository.jboss.com/jboss/ejb3/1.0.0.CR9-jboss4.0.5/resources/ejb3-entity-cache-service.xml
  
  Index: ejb3-entity-cache-service.xml
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
  <server>
  
    <!--  ====================================================================  -->
    <!--  Defines TreeCache configuration                                       -->
    <!--  ====================================================================  -->
    <mbean code="org.jboss.cache.TreeCache" name="jboss.cache:service=EJB3EntityTreeCache">
      <depends>jboss:service=Naming</depends>
      <depends>jboss:service=TransactionManager</depends>
      
      <!-- uncomment next three statements if using JGroups multiplexer,
            requires JGroups 2.3 or later, JBossCache 1.4 or later -->
      <!--
      <depends>jgroups.mux:name=Multiplexer</depends>
      <attribute name="MultiplexerService">jgroups.mux:name=Multiplexer</attribute>
      <attribute name="MultiplexerStack">fc-fast-minimalthreads</attribute>
      -->
  
      <!-- Configure the TransactionManager -->
      <attribute name="TransactionManagerLookupClass">org.jboss.cache.JBossTransactionManagerLookup</attribute>
  
      <!--
              Node locking level : SERIALIZABLE
                                   REPEATABLE_READ (default)
                                   READ_COMMITTED
                                   READ_UNCOMMITTED
                                   NONE
      -->
      <attribute name="IsolationLevel">REPEATABLE_READ</attribute>
  
      <!--     Valid modes are LOCAL
                               REPL_ASYNC
                               REPL_SYNC
      -->
      <attribute name="CacheMode">REPL_SYNC</attribute>
  
      <!-- Name of cluster. Needs to be the same for all clusters, in order
               to find each other -->
      <attribute name="ClusterName">EJB3-entity-cache</attribute>
  
      <attribute name="ClusterConfig">
        <config>
          <!-- UDP: if you have a multihomed machine,
                  set the bind_addr attribute to the appropriate NIC IP address
          -->
          <!-- UDP: On Windows machines, because of the media sense feature
                   being broken with multicast (even after disabling media sense)
                   set the loopback attribute to true
          -->
          <UDP mcast_addr="${jboss.partition.udpGroup:228.1.2.3}" mcast_port="43333" ip_ttl="${jgroups.mcast.ip_ttl:2}" ip_mcast="true"
             mcast_send_buf_size="150000" mcast_recv_buf_size="80000" ucast_send_buf_size="150000"
             ucast_recv_buf_size="80000" loopback="false" />
          <PING timeout="2000" num_initial_members="3" up_thread="false" down_thread="false" />
          <MERGE2 min_interval="10000" max_interval="20000" />
          <FD_SOCK down_thread="false" up_thread="false"/>
          <FD shun="true" up_thread="false" down_thread="false"
             timeout="20000" max_tries="5"/>
          <VERIFY_SUSPECT timeout="1500" up_thread="false" down_thread="false" />
          <pbcast.NAKACK gc_lag="50" max_xmit_size="8192" retransmit_timeout="600,1200,2400,4800" up_thread="false"
             down_thread="false" />
          <UNICAST timeout="600,1200,2400" window_size="100" min_threshold="10" down_thread="false" />
          <pbcast.STABLE desired_avg_gossip="20000" up_thread="false" down_thread="false" />
          <FRAG frag_size="8192" down_thread="false" up_thread="false" />
          <pbcast.GMS join_timeout="5000" join_retry_timeout="2000" shun="true" print_local_addr="true" />
          <pbcast.STATE_TRANSFER up_thread="false" down_thread="false" />
        </config>
      </attribute>
  
      <!--    The max amount of time (in milliseconds) we wait until the
              initial state (ie. the contents of the cache) are retrieved from
              existing members in a clustered environment
      -->
      <attribute name="InitialStateRetrievalTimeout">5000</attribute>
  
      <!--    Number of milliseconds to wait until all responses for a
              synchronous call have been received.
      -->
      <attribute name="SyncReplTimeout">10000</attribute>
  
      <!--  Max number of milliseconds to wait for a lock acquisition -->
      <attribute name="LockAcquisitionTimeout">15000</attribute>
  
      <!--  Name of the eviction policy class. -->
      <attribute name="EvictionPolicyClass">org.jboss.cache.eviction.LRUPolicy</attribute>
  
      <!--  Specific eviction policy configurations. This is LRU -->
      <attribute name="EvictionPolicyConfig">
        <config>
          <attribute name="wakeUpIntervalSeconds">5</attribute>
          <!--  Cache wide default -->
          <region name="/_default_">
           <attribute name="maxNodes">5000</attribute>
           <attribute name="timeToLiveSeconds">1000</attribute>
         </region>
        </config>
      </attribute>
  
    </mbean>
  
  </server>
  
  
  
  
  1.1      date: 2006/11/15 17:10:20;  author: vralev;  state: Exp;/repository.jboss.com/jboss/ejb3/1.0.0.CR9-jboss4.0.5/resources/ejb3-clustered-sfsbcache-service.xml
  
  Index: ejb3-clustered-sfsbcache-service.xml
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
  <server>
     <mbean code="org.jboss.ejb3.cache.tree.PassivationTreeCache" name="jboss.cache:service=EJB3SFSBClusteredCache">
     
        <!-- uncomment next three statements if using JGroups multiplexer,
               requires JGroups 2.3 or later, JBossCache 1.4 or later -->
        <!--
        <depends>jgroups.mux:name=Multiplexer</depends>
        <attribute name="MultiplexerService">jgroups.mux:name=Multiplexer</attribute>
        <attribute name="MultiplexerStack">fc-fast-minimalthreads</attribute>
        -->
        
        <!--
                Node locking level : SERIALIZABLE
                                     REPEATABLE_READ (default)
                                     READ_COMMITTED
                                     READ_UNCOMMITTED
                                     NONE
        -->
        <attribute name="IsolationLevel">READ_UNCOMMITTED</attribute>
  
        <!--     Valid modes are LOCAL
                                 REPL_ASYNC
                                 REPL_SYNC
        -->
        <attribute name="CacheMode">REPL_SYNC</attribute>
  
        <attribute name="ClusterName">SFSB-Cache</attribute>
  
        <attribute name="ClusterConfig">
           <config>
              <!-- UDP: if you have a multihomed machine,
                      set the bind_addr attribute to the appropriate NIC IP address
              -->
              <!-- UDP: On Windows machines, because of the media sense feature
                       being broken with multicast (even after disabling media sense)
                       set the loopback attribute to true
              -->
              <UDP mcast_addr="${jboss.partition.udpGroup:228.1.2.3}" mcast_port="45551" ip_ttl="${jgroups.mcast.ip_ttl:64}" ip_mcast="true"
                 mcast_send_buf_size="150000" mcast_recv_buf_size="80000" ucast_send_buf_size="150000"
                 ucast_recv_buf_size="80000" loopback="false"/>
              <PING timeout="2000" num_initial_members="3" up_thread="false" down_thread="false"/>
              <MERGE2 min_interval="10000" max_interval="20000"/>
              <FD_SOCK down_thread="false" up_thread="false"/>
              <FD shun="true" up_thread="false" down_thread="false"
                 timeout="20000" max_tries="5"/>
              <VERIFY_SUSPECT timeout="1500" up_thread="false" down_thread="false"/>
              <pbcast.NAKACK gc_lag="50" max_xmit_size="8192" retransmit_timeout="600,1200,2400,4800" up_thread="false"
                 down_thread="false"/>
              <UNICAST timeout="600,1200,2400" window_size="100" min_threshold="10" down_thread="false"/>
              <pbcast.STABLE desired_avg_gossip="20000" up_thread="false" down_thread="false"/>
              <FRAG frag_size="8192" down_thread="false" up_thread="false"/>
              <pbcast.GMS join_timeout="5000" join_retry_timeout="2000" shun="true" print_local_addr="true"/>
              <pbcast.STATE_TRANSFER up_thread="false" down_thread="false"/>
           </config>
        </attribute>
  
        <!--    Number of milliseconds to wait until all responses for a
                synchronous call have been received.
        -->
        <attribute name="SyncReplTimeout">10000</attribute>
  
        <!--  Max number of milliseconds to wait for a lock acquisition -->
        <attribute name="LockAcquisitionTimeout">15000</attribute>
  
        <!--  Name of the eviction policy class. -->
        <attribute name="EvictionPolicyClass">org.jboss.cache.eviction.LRUPolicy</attribute>
  
        <!--  Specific eviction policy configurations. This is LRU -->
        <attribute name="EvictionPolicyConfig">
           <config>
              <attribute name="wakeUpIntervalSeconds">5</attribute>
              <name>statefulClustered</name>
              <!-- So default region would never timeout -->
              <region name="/_default_">
                 <attribute name="maxNodes">0</attribute>
                 <attribute name="timeToIdleSeconds">0</attribute>
              </region>
  
           </config>
        </attribute>
  
  
        <!-- New 1.3.x cache loader config block -->
        <!-- Note this is used for AS5.0 only -->
        <attribute name="CacheLoaderConfiguration">
            <config>
                <!-- We need to turn it on
                <passivation>false</passivation>
                -->
                <passivation>true</passivation>
                <preload>/</preload>
                <shared>false</shared>
  
                <cacheloader>
                    <class>org.jboss.cache.loader.FileCacheLoader</class>
                        <!--
                        -->
                    <properties>
                         location=${jboss.server.data.dir}${/}sfsb
                    </properties>
                    <async>false</async>
                    <fetchPersistentState>false</fetchPersistentState>
                    <ignoreModifications>false</ignoreModifications>
                </cacheloader>
  
            </config>
        </attribute>
  
     </mbean>
  
  </server>
  
  
  
  



More information about the jboss-cvs-commits mailing list