org.oddjob.beanbus.mega
Class MegaBusSessionFactory
java.lang.Object
org.oddjob.beanbus.mega.MegaBusSessionFactory
public class MegaBusSessionFactory
- extends Object
Constructs an ArooaSession
for a MegaBeanBus
.
- Author:
- rob
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AROOA_DESCRIPTOR_RESOURCE
public static final String AROOA_DESCRIPTOR_RESOURCE
- See Also:
- Constant Field Values
MegaBusSessionFactory
public MegaBusSessionFactory()
createSession
public ArooaSession createSession(ArooaSession existingSession,
ClassLoader classLoader)
- Create a session.
- Parameters:
oddjob
- Used to find the id of Oddjob in any existing session
if a persister is being used.
- Returns:
- A session. Never null.