Package | Description |
---|---|
com.caucho.config.timer | |
com.caucho.ejb | |
com.caucho.ejb.embeddable | |
com.caucho.ejb.message | |
com.caucho.ejb.timer | |
javax.ejb | |
javax.ejb.embeddable | |
javax.ejb.spi |
Modifier and Type | Method and Description |
---|---|
void |
EjbTimer.cancel()
Cause the timer and all its associated expiration notifications to be
Canceled.
|
TimerHandle |
EjbTimer.getHandle()
Get a serializable handle to the timer.
|
java.io.Serializable |
EjbTimer.getInfo()
Get the information associated with the timer at the time of creation.
|
java.util.Date |
EjbTimer.getNextTimeout()
Get the point in time at which the next timer expiration is scheduled to
occur.
|
ScheduleExpression |
EjbTimer.getSchedule()
Get the schedule expression corresponding to this timer.
|
Timer |
EjbTimerHandle.getTimer()
Obtain a reference to the timer represented by this handle.
|
long |
EjbTimer.getTimeRemaining()
Get the number of milliseconds that will elapse before the next scheduled
timer expiration.
|
boolean |
EjbTimer.isCalendarTimer()
Query whether this timer is a calendar-based timer.
|
boolean |
EjbTimer.isPersistent()
Query whether this timer has persistent semantics.
|
Modifier and Type | Class and Description |
---|---|
class |
EJBExceptionWrapper
Wraps the actual exception with an EJB exception
|
Modifier and Type | Method and Description |
---|---|
static EJBException |
EJBExceptionWrapper.create(java.lang.Throwable exn)
Creates an EJBException from a throwable.
|
Modifier and Type | Method and Description |
---|---|
EJBContainer |
EJBContainerProvider.createEJBContainer(java.util.Map<?,?> properties) |
Constructor and Description |
---|
EJBContainerImpl() |
EJBContainerImpl(java.lang.String name,
java.util.Map<?,?> properties) |
Modifier and Type | Method and Description |
---|---|
void |
MessageListenerAdapter.ejbRemove() |
void |
MessageListenerAdapter.setMessageDrivenContext(MessageDrivenContext ctx) |
Modifier and Type | Method and Description |
---|---|
Timer |
EjbTimerService.createCalendarTimer(ScheduleExpression schedule)
Create a calendar-based timer based on the input schedule expression.
|
Timer |
EjbTimerService.createCalendarTimer(ScheduleExpression schedule,
TimerConfig timerConfig)
Create a calendar-based timer based on the input schedule expression.
|
Timer |
EjbTimerService.createIntervalTimer(java.util.Date initialExpiration,
long intervalDuration,
TimerConfig timerConfig)
Create an interval timer whose first expiration occurs at a given point in
time and whose subsequent expirations occur after a specified interval.
|
Timer |
EjbTimerService.createIntervalTimer(long initialDuration,
long intervalDuration,
TimerConfig timerConfig)
Create an interval timer whose first expiration occurs after a specified
duration, and whose subsequent expirations occur after a specified
interval.
|
Timer |
EjbTimerService.createSingleActionTimer(java.util.Date expiration,
TimerConfig timerConfig)
Create a single-action timer that expires at a given point in time.
|
Timer |
EjbTimerService.createSingleActionTimer(long duration,
TimerConfig timerConfig)
Create a single-action timer that expires after a specified duration.
|
Timer |
EjbTimerService.createTimer(java.util.Date initialExpiration,
long intervalDuration,
java.io.Serializable info)
Create an interval timer whose first expiration occurs at a given point in
time and whose subsequent expirations occur after a specified interval.
|
Timer |
EjbTimerService.createTimer(java.util.Date expiration,
java.io.Serializable info)
Create a single-action timer that expires at a given point in time.
|
Timer |
EjbTimerService.createTimer(long initialDuration,
long intervalDuration,
java.io.Serializable info)
Create an interval timer whose first expiration occurs after a specified
duration, and whose subsequent expirations occur after a specified
interval.
|
Timer |
EjbTimerService.createTimer(long duration,
java.io.Serializable info)
Create a single-action timer that expires after a specified duration.
|
java.util.Collection<Timer> |
EjbTimerService.getTimers()
Get all the active timers associated with this bean.
|
Modifier and Type | Class and Description |
---|---|
class |
AccessLocalException
The main ejb context.
|
class |
ConcurrentAccessException
A ConcurrentAccessException indicates that the client has attempted an
invocation on a stateful session bean while another invocation is in
progress.
|
class |
ConcurrentAccessTimeoutException
This exception indicates that an attempt to concurrently access a bean method
resulted in a timeout.
|
class |
EJBAccessException
The main ejb context.
|
class |
EJBTransactionRequiredException
The main ejb context.
|
class |
EJBTransactionRolledbackException
The main ejb context.
|
class |
IllegalLoopbackException
This exception indicates that an attempt was made to perform an illegal loop
back invocation on a Singleton with container-managed concurrency.
|
class |
NoMoreTimeoutsException |
class |
NoSuchEJBException
The main ejb context.
|
class |
NoSuchEntityException
The main ejb context.
|
class |
NoSuchObjectLocalException
The main ejb context.
|
class |
TransactionRequiredLocalException
The main ejb context.
|
class |
TransactionRolledbackLocalException
The main ejb context.
|
Modifier and Type | Method and Description |
---|---|
void |
SessionSynchronization.afterBegin() |
void |
SessionSynchronization.afterCompletion(boolean committed) |
void |
SessionSynchronization.beforeCompletion() |
void |
Timer.cancel()
Cause the timer and all its associated expiration notifications to be
Canceled.
|
Timer |
TimerService.createCalendarTimer(ScheduleExpression schedule)
Create a calendar-based timer based on the input schedule expression.
|
Timer |
TimerService.createCalendarTimer(ScheduleExpression schedule,
TimerConfig timerConfig)
Create a calendar-based timer based on the input schedule expression.
|
Timer |
TimerService.createIntervalTimer(java.util.Date initialExpiration,
long intervalDuration,
TimerConfig timerConfig)
Create an interval timer whose first expiration occurs at a given point in
time and whose subsequent expirations occur after a specified interval.
|
Timer |
TimerService.createIntervalTimer(long initialDuration,
long intervalDuration,
TimerConfig timerConfig)
Create an interval timer whose first expiration occurs after a specified
duration, and whose subsequent expirations occur after a specified
interval.
|
Timer |
TimerService.createSingleActionTimer(java.util.Date expiration,
TimerConfig timerConfig)
Create a single-action timer that expires at a given point in time.
|
Timer |
TimerService.createSingleActionTimer(long duration,
TimerConfig timerConfig)
Create a single-action timer that expires after a specified duration.
|
Timer |
TimerService.createTimer(java.util.Date initialExpiration,
long intervalDuration,
java.io.Serializable info)
Create an interval timer whose first expiration occurs at a given point in
time and whose subsequent expirations occur after a specified interval.
|
Timer |
TimerService.createTimer(java.util.Date expiration,
java.io.Serializable info)
Create a single-action timer that expires at a given point in time.
|
Timer |
TimerService.createTimer(long initialDuration,
long intervalDuration,
java.io.Serializable info)
Create an interval timer whose first expiration occurs after a specified
duration, and whose subsequent expirations occur after a specified
interval.
|
Timer |
TimerService.createTimer(long duration,
java.io.Serializable info)
Create a single-action timer that expires after a specified duration.
|
void |
SessionBean.ejbActivate() |
void |
EntityBean.ejbActivate() |
void |
EntityBean.ejbLoad() |
void |
SessionBean.ejbPassivate() |
void |
EntityBean.ejbPassivate() |
void |
MessageDrivenBean.ejbRemove() |
void |
SessionBean.ejbRemove() |
void |
EntityBean.ejbRemove() |
void |
EntityBean.ejbStore() |
EJBLocalHome |
EJBLocalObject.getEJBLocalHome() |
TimerHandle |
Timer.getHandle()
Get a serializable handle to the timer.
|
java.io.Serializable |
Timer.getInfo()
Get the information associated with the timer at the time of creation.
|
java.util.Date |
Timer.getNextTimeout()
Get the point in time at which the next timer expiration is scheduled to
occur.
|
java.lang.Object |
EJBLocalObject.getPrimaryKey() |
ScheduleExpression |
Timer.getSchedule()
Get the schedule expression corresponding to this timer.
|
Timer |
TimerHandle.getTimer()
Obtain a reference to the timer represented by this handle.
|
long |
Timer.getTimeRemaining()
Get the number of milliseconds that will elapse before the next scheduled
timer expiration.
|
java.util.Collection<Timer> |
TimerService.getTimers()
Get all the active timers associated with this bean.
|
boolean |
Timer.isCalendarTimer()
Query whether this timer is a calendar-based timer.
|
boolean |
EJBLocalObject.isIdentical(EJBLocalObject obj) |
boolean |
Timer.isPersistent()
Query whether this timer has persistent semantics.
|
void |
EJBLocalObject.remove() |
void |
EJBLocalHome.remove(java.lang.Object primaryKey) |
void |
EntityBean.setEntityContext(EntityContext ctx) |
void |
MessageDrivenBean.setMessageDrivenContext(MessageDrivenContext ctx) |
void |
SessionBean.setSessionContext(SessionContext ctx) |
void |
EntityBean.unsetEntityContext() |
Modifier and Type | Method and Description |
---|---|
static EJBContainer |
EJBContainer.createEJBContainer() |
static EJBContainer |
EJBContainer.createEJBContainer(java.util.Map<?,?> properties) |
Modifier and Type | Method and Description |
---|---|
EJBContainer |
EJBContainerProvider.createEJBContainer(java.util.Map<?,?> properties) |