com.sun.ejb.containers
Class TimerWrapper
java.lang.Object
com.sun.ejb.containers.TimerWrapper
- All Implemented Interfaces:
- IndirectlySerializable, Timer
public class TimerWrapper
- extends Object
- implements Timer, IndirectlySerializable
cancel
public void cancel()
throws IllegalStateException,
NoSuchObjectLocalException,
EJBException
- Specified by:
cancel in interface Timer
- Throws:
IllegalStateException
NoSuchObjectLocalException
EJBException
getTimeRemaining
public long getTimeRemaining()
throws IllegalStateException,
NoMoreTimeoutsException,
NoSuchObjectLocalException
- Specified by:
getTimeRemaining in interface Timer
- Throws:
IllegalStateException
NoMoreTimeoutsException
NoSuchObjectLocalException
getNextTimeout
public Date getNextTimeout()
throws IllegalStateException,
NoMoreTimeoutsException,
NoSuchObjectLocalException
- Specified by:
getNextTimeout in interface Timer
- Throws:
IllegalStateException
NoMoreTimeoutsException
NoSuchObjectLocalException
getInfo
public Serializable getInfo()
throws IllegalStateException,
NoSuchObjectLocalException
- Specified by:
getInfo in interface Timer
- Throws:
IllegalStateException
NoSuchObjectLocalException
getHandle
public TimerHandle getHandle()
throws IllegalStateException,
NoSuchObjectLocalException
- Specified by:
getHandle in interface Timer
- Throws:
IllegalStateException
NoSuchObjectLocalException
getSchedule
public ScheduleExpression getSchedule()
throws IllegalStateException,
NoSuchObjectLocalException,
EJBException
- Specified by:
getSchedule in interface Timer
- Throws:
IllegalStateException
NoSuchObjectLocalException
EJBException
isCalendarTimer
public boolean isCalendarTimer()
throws IllegalStateException,
NoSuchObjectLocalException,
EJBException
- Specified by:
isCalendarTimer in interface Timer
- Throws:
IllegalStateException
NoSuchObjectLocalException
EJBException
isPersistent
public boolean isPersistent()
throws IllegalStateException,
NoSuchObjectLocalException,
EJBException
- Specified by:
isPersistent in interface Timer
- Throws:
IllegalStateException
NoSuchObjectLocalException
EJBException
equals
public boolean equals(Object o)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
toString
public String toString()
- Overrides:
toString in class Object
getSerializableObjectFactory
public SerializableObjectFactory getSerializableObjectFactory()
- Specified by:
getSerializableObjectFactory in interface IndirectlySerializable
Copyright © 2012 GlassFish Community. All Rights Reserved.