Home » openejb-3.1.2-src » org.apache » openejb » core » timer » [javadoc | source]
org.apache.openejb.core.timer
public class: EjbTimerServiceImpl [javadoc | source]
java.lang.Object
   org.apache.openejb.core.timer.EjbTimerServiceImpl

All Implemented Interfaces:
    EjbTimerService

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Constructor:
 public EjbTimerServiceImpl(DeploymentInfo deployment) 
 public EjbTimerServiceImpl(DeploymentInfo deployment,
    TransactionManager transactionManager,
    Executor threadPool,
    TimerStore timerStore,
    int retryAttempts) 
Method from org.apache.openejb.core.timer.EjbTimerServiceImpl Summary:
addTimerData,   cancelled,   createTimer,   createTimer,   createTimer,   createTimer,   getDefaultExecutor,   getDefaultTransactionManager,   getTimer,   getTimers,   getTransactionManager,   schedule,   start,   stop
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.openejb.core.timer.EjbTimerServiceImpl Detail:
 public  void addTimerData(TimerData timerData) 
    Returns a timerData to the TimerStore, if a cancel() is rolled back.
 public  void cancelled(TimerData timerData) 
    Call back from TimerData and ejbTimeout when a timer has been cancelled (or is complete) and should be removed from stores.
 public Timer createTimer(Object primaryKey,
    long duration,
    Serializable info) throws IllegalArgumentException, IllegalStateException, EJBException 
 public Timer createTimer(Object primaryKey,
    Date expiration,
    Serializable info) throws IllegalArgumentException, IllegalStateException, EJBException 
 public Timer createTimer(Object primaryKey,
    long initialDuration,
    long intervalDuration,
    Serializable info) throws IllegalArgumentException, IllegalStateException, EJBException 
 public Timer createTimer(Object primaryKey,
    Date initialExpiration,
    long intervalDuration,
    Serializable info) throws IllegalArgumentException, IllegalStateException, EJBException 
 public static Executor getDefaultExecutor() 
 public static TransactionManager getDefaultTransactionManager() 
 public Timer getTimer(long timerId) 
 public Collection<Timer> getTimers(Object primaryKey) throws IllegalStateException 
 public TransactionManager getTransactionManager() 
 public  void schedule(TimerData timerData) 
    Called from TimerData and start when a timer should be scheduled with the java.util.Timer.
 public  void start() throws TimerStoreException 
 public  void stop()