1 23 24 package com.sun.ejb.base.distributed; 25 26 import com.sun.ejb.spi.distributed.DistributedEJBService; 27 import com.sun.ejb.spi.distributed.DistributedEJBServiceFactory; 28 29 35 public abstract class EJBTimerBaseAction 36 { 37 38 protected DistributedEJBService distributedEJBService = null; 39 40 protected EJBTimerBaseAction() { 41 distributedEJBService = 42 DistributedEJBServiceFactory.getDistributedEJBService(); 43 } 44 45 protected int migrateTimers( String fromServerId ) { 46 return distributedEJBService.migrateTimers( fromServerId ); 47 } 48 49 protected String [] listTimers( String [] servers ) { 50 return distributedEJBService.listTimers( servers ); 51 } 52 53 } 55 | Popular Tags |