org.jboss.ejb3.timerservice.naming
Class TimerServiceObjectFactory

java.lang.Object
  extended by org.jboss.ejb3.timerservice.naming.TimerServiceObjectFactory
All Implemented Interfaces:
javax.naming.spi.ObjectFactory

public class TimerServiceObjectFactory
extends java.lang.Object
implements javax.naming.spi.ObjectFactory

An implementation of ObjectFactory which is responsible for returing a TimerService for the current EJBContext

Version:
$Revision: $
Author:
Jaikiran Pai

Constructor Summary
TimerServiceObjectFactory()
           
 
Method Summary
 java.lang.Object getObjectInstance(java.lang.Object obj, javax.naming.Name name, javax.naming.Context nameCtx, java.util.Hashtable<?,?> environment)
          Returns TimerService for the current EJBContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimerServiceObjectFactory

public TimerServiceObjectFactory()
Method Detail

getObjectInstance

public java.lang.Object getObjectInstance(java.lang.Object obj,
                                          javax.naming.Name name,
                                          javax.naming.Context nameCtx,
                                          java.util.Hashtable<?,?> environment)
                                   throws java.lang.Exception
Returns TimerService for the current EJBContext

Specified by:
getObjectInstance in interface javax.naming.spi.ObjectFactory
Throws:
java.lang.Exception


Copyright © 2010. All Rights Reserved.