org.jboss.mail
Class SessionObjectFactory
java.lang.Object
org.jboss.mail.SessionObjectFactory
- All Implemented Interfaces:
- ObjectFactory
public class SessionObjectFactory
- extends Object
- implements ObjectFactory
A jndi ObjectFactory implementation that creates a new Session from the
static class information on each getObjectInstance call.
- Version:
- $Revision: 85945 $
- Author:
- Scott.Stark@jboss.org
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SessionObjectFactory
public SessionObjectFactory()
getObjectInstance
public Object getObjectInstance(Object obj,
Name name,
Context nameCtx,
Hashtable<?,?> environment)
throws Exception
- Specified by:
getObjectInstance
in interface ObjectFactory
- Throws:
Exception
Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.