public void callTimeout(Timer timer)
{
TimedObject timedObject = (TimedObject)objectMap.get(timedObjectId);
if (timedObject == null)
throw new NoSuchObjectLocalException("Cannot find TimedObject: " + timedObjectId);
timedObject.ejbTimeout(timer);
}
public TimedObjectId addTimedObject(TimedObject timedObject)
{
timedObjectId = new TimedObjectId(ObjectNameFactory.create("txtimer:timedObject=" + timedObject.hashCode()));