org.oddjob.arooa.standard
Class StandardArooaSession

java.lang.Object
  extended by org.oddjob.arooa.standard.StandardArooaSession
All Implemented Interfaces:
ArooaSession

public class StandardArooaSession
extends Object
implements ArooaSession


Constructor Summary
StandardArooaSession()
           
StandardArooaSession(ArooaDescriptor descriptor)
          Constructor that takes an ArooaDescriptor.
StandardArooaSession(ArooaDescriptor descriptor, boolean noDefaultDescriptor)
          Constructor that takes an ArooaDescriptor.
 
Method Summary
 ArooaDescriptor getArooaDescriptor()
          Get the ArooaDescriptor to use.
 BeanRegistry getBeanRegistry()
          Get the underlying BeanRegistry.
 ComponentPersister getComponentPersister()
          Get the ComponentPersister to use.
 ComponentPool getComponentPool()
          Get the underlying ComponentPool.
 ComponentProxyResolver getComponentProxyResolver()
          Get the ComponentProxyResolver to use.
 PropertyManager getPropertyManager()
          Get the PropertyManager for this session.
 ArooaTools getTools()
          Get the tools ArooaTools to use.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StandardArooaSession

public StandardArooaSession()

StandardArooaSession

public StandardArooaSession(ArooaDescriptor descriptor)
Constructor that takes an ArooaDescriptor. If the descriptor is null then a StandardArooaDescriptor is created and used. Otherwise the provided descriptor is used.

Parameters:
descriptor -

StandardArooaSession

public StandardArooaSession(ArooaDescriptor descriptor,
                            boolean noDefaultDescriptor)
Constructor that takes an ArooaDescriptor. If the descriptor is null then a StandardArooaDescriptor is created and used. Otherwise the provided descriptor is used.

Parameters:
descriptor -
Method Detail

getComponentPool

public ComponentPool getComponentPool()
Description copied from interface: ArooaSession
Get the underlying ComponentPool.

Specified by:
getComponentPool in interface ArooaSession
Returns:
A ComponentPool. Must not be null.

getBeanRegistry

public BeanRegistry getBeanRegistry()
Description copied from interface: ArooaSession
Get the underlying BeanRegistry.

Specified by:
getBeanRegistry in interface ArooaSession
Returns:
A BeanRegistry. Must not be null.

getPropertyManager

public PropertyManager getPropertyManager()
Description copied from interface: ArooaSession
Get the PropertyManager for this session.

Specified by:
getPropertyManager in interface ArooaSession
Returns:
The PropertyMananger. Must not be null.

getArooaDescriptor

public ArooaDescriptor getArooaDescriptor()
Description copied from interface: ArooaSession
Get the ArooaDescriptor to use.

Specified by:
getArooaDescriptor in interface ArooaSession
Returns:
An ArooaDescriptor. Must not be null.

getTools

public ArooaTools getTools()
Description copied from interface: ArooaSession
Get the tools ArooaTools to use.

Specified by:
getTools in interface ArooaSession
Returns:
An instance of ArooaTools.

getComponentProxyResolver

public ComponentProxyResolver getComponentProxyResolver()
Description copied from interface: ArooaSession
Get the ComponentProxyResolver to use.

Specified by:
getComponentProxyResolver in interface ArooaSession
Returns:
A ComponentProxyResolver. Can be null if no Proxy substitution is required.

getComponentPersister

public ComponentPersister getComponentPersister()
Description copied from interface: ArooaSession
Get the ComponentPersister to use.

Specified by:
getComponentPersister in interface ArooaSession
Returns:
A ComponentPersister. Can be null if no persistence is required.