org.oddjob.beanbus.mega
Class MegaBusSessionFactory

java.lang.Object
  extended by org.oddjob.beanbus.mega.MegaBusSessionFactory

public class MegaBusSessionFactory
extends Object

Constructs an ArooaSession for a MegaBeanBus.

Author:
rob

Field Summary
static String AROOA_DESCRIPTOR_RESOURCE
           
 
Constructor Summary
MegaBusSessionFactory()
           
 
Method Summary
 ArooaSession createSession(ArooaSession existingSession, ClassLoader classLoader)
          Create a session.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

AROOA_DESCRIPTOR_RESOURCE

public static final String AROOA_DESCRIPTOR_RESOURCE
See Also:
Constant Field Values
Constructor Detail

MegaBusSessionFactory

public MegaBusSessionFactory()
Method Detail

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.