geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject cvs commit: incubator-geronimo/modules/core/src/java/org/apache/geronimo/ejb/cache EnterpriseContextInstanceCache.java StatefulInstanceInterceptor.java StatelessInstanceInterceptor.java StatelessInstanceFactory.java StatefulSessionSynchronizationInterceptor.java
Date Sat, 16 Aug 2003 23:16:43 GMT
dain        2003/08/16 16:16:43

  Modified:    modules/core/src/java/org/apache/geronimo/ejb/cache
                        EnterpriseContextInstanceCache.java
                        StatefulInstanceInterceptor.java
                        StatelessInstanceInterceptor.java
                        StatelessInstanceFactory.java
                        StatefulSessionSynchronizationInterceptor.java
  Log:
  Initial revision of deployment dependency management system.
  
  Revision  Changes    Path
  1.5       +5 -5      incubator-geronimo/modules/core/src/java/org/apache/geronimo/ejb/cache/EnterpriseContextInstanceCache.java
  
  Index: EnterpriseContextInstanceCache.java
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/modules/core/src/java/org/apache/geronimo/ejb/cache/EnterpriseContextInstanceCache.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- EnterpriseContextInstanceCache.java	15 Aug 2003 14:12:19 -0000	1.4
  +++ EnterpriseContextInstanceCache.java	16 Aug 2003 23:16:43 -0000	1.5
  @@ -79,21 +79,21 @@
       private Passivator passivator = new Passivator();
       private Log log = LogFactory.getLog(getClass());
   
  -    public void start() throws Exception {
  -        super.start();
  +    protected void doStart() throws Exception {
  +        super.doStart();
           cache = new LRUInstanceCache();
           passivator = new Passivator();
           passivator.start();
       }
   
  -    public void stop() {
  +    protected void doStop() throws Exception {
           passivator.stopRunning();
           passivator = null;
   
           // clean up cache
           cache = null;
   
  -        super.stop();
  +        super.doStop();
       }
   
       public Object get(Object id) throws Exception {
  
  
  
  1.5       +5 -5      incubator-geronimo/modules/core/src/java/org/apache/geronimo/ejb/cache/StatefulInstanceInterceptor.java
  
  Index: StatefulInstanceInterceptor.java
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/modules/core/src/java/org/apache/geronimo/ejb/cache/StatefulInstanceInterceptor.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- StatefulInstanceInterceptor.java	15 Aug 2003 14:12:19 -0000	1.4
  +++ StatefulInstanceInterceptor.java	16 Aug 2003 23:16:43 -0000	1.5
  @@ -83,19 +83,19 @@
       private InstanceCache cache;
       private LockDomain lockDomain;
   
  -    public void start() throws Exception {
  -        super.start();
  +    protected void doStart() throws Exception {
  +        super.doStart();
           RPCContainer container = (RPCContainer)getContainer();
           lockDomain = EJBPlugins.getLockDomain(container);
           pool = EJBPlugins.getInstancePool(container);
           cache = EJBPlugins.getInstanceCache(container);
       }
   
  -    public void stop() {
  +    protected void doStop() throws Exception {
           lockDomain = null;
           cache = null;
           pool = null;
  -        super.stop();
  +        super.doStop();
       }
   
       public InvocationResult invoke(Invocation invocation) throws Exception {
  
  
  
  1.5       +5 -5      incubator-geronimo/modules/core/src/java/org/apache/geronimo/ejb/cache/StatelessInstanceInterceptor.java
  
  Index: StatelessInstanceInterceptor.java
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/modules/core/src/java/org/apache/geronimo/ejb/cache/StatelessInstanceInterceptor.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- StatelessInstanceInterceptor.java	15 Aug 2003 14:12:19 -0000	1.4
  +++ StatelessInstanceInterceptor.java	16 Aug 2003 23:16:43 -0000	1.5
  @@ -77,15 +77,15 @@
   public final class StatelessInstanceInterceptor extends AbstractInterceptor {
       private InstancePool pool;
   
  -    public void start() throws Exception {
  -        super.start();
  +    protected void doStart() throws Exception {
  +        super.doStart();
           RPCContainer container = (RPCContainer)getContainer();
           pool = EJBPlugins.getInstancePool(container);
       }
   
  -    public void stop() {
  +    protected void doStop() throws Exception {
           pool = null;
  -        super.stop();
  +        super.doStop();
       }
   
       public InvocationResult invoke(final Invocation invocation) throws Exception {
  
  
  
  1.5       +5 -5      incubator-geronimo/modules/core/src/java/org/apache/geronimo/ejb/cache/StatelessInstanceFactory.java
  
  Index: StatelessInstanceFactory.java
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/modules/core/src/java/org/apache/geronimo/ejb/cache/StatelessInstanceFactory.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- StatelessInstanceFactory.java	15 Aug 2003 14:12:19 -0000	1.4
  +++ StatelessInstanceFactory.java	16 Aug 2003 23:16:43 -0000	1.5
  @@ -78,16 +78,16 @@
       private Class beanClass;
       private Method ejbCreate;
   
  -    public void start() throws Exception {
  -        super.start();
  +    protected void doStart() throws Exception {
  +        super.doStart();
           beanClass = EJBPlugins.getEJBMetadata((RPCContainer)getContainer()).getBeanClass();
           ejbCreate = beanClass.getMethod("ejbCreate", null);
       }
   
  -    public void stop() {
  +    protected void doStop() throws Exception {
           beanClass = null;
           ejbCreate = null;
  -        super.stop();
  +        super.doStop();
       }
   
       public Object createInstance() throws Exception {
  
  
  
  1.5       +5 -5      incubator-geronimo/modules/core/src/java/org/apache/geronimo/ejb/cache/StatefulSessionSynchronizationInterceptor.java
  
  Index: StatefulSessionSynchronizationInterceptor.java
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/modules/core/src/java/org/apache/geronimo/ejb/cache/StatefulSessionSynchronizationInterceptor.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- StatefulSessionSynchronizationInterceptor.java	15 Aug 2003 14:12:19 -0000	1.4
  +++ StatefulSessionSynchronizationInterceptor.java	16 Aug 2003 23:16:43 -0000	1.5
  @@ -89,8 +89,8 @@
       private InstanceCache cache;
       private boolean hasSynchronization;
   
  -    public void start() throws Exception {
  -        super.start();
  +    protected void doStart() throws Exception {
  +        super.doStart();
           RPCContainer container = (RPCContainer)getContainer();
           tm = EJBPlugins.getTransactionManager(container);
           cache = EJBPlugins.getInstanceCache(container);
  @@ -98,10 +98,10 @@
           hasSynchronization = SessionSynchronization.class.isAssignableFrom(ejbMetadata.getBeanClass());
       }
   
  -    public void stop() {
  +    protected void doStop() throws Exception {
           cache = null;
           tm = null;
  -        super.stop();
  +        super.doStop();
       }
   
       public InvocationResult invoke(Invocation invocation) throws Exception {
  
  
  

Mime
View raw message