org.oddjob.arooa
Interface ArooaSession

All Known Implementing Classes:
DescriptorOverrideSession, PropertiesConfigurationSession, PropertiesInterceptor.Session, SessionDelegate, StandardArooaSession, SubstituationPolicySession

public interface ArooaSession

An ArooaSession encapsulates everything an ArooaParser needs to do it's job.

Author:
Rob Gordon.

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.
 

Method Detail

getArooaDescriptor

ArooaDescriptor getArooaDescriptor()
Get the ArooaDescriptor to use.

Returns:
An ArooaDescriptor. Must not be null.

getComponentPool

ComponentPool getComponentPool()
Get the underlying ComponentPool.

Returns:
A ComponentPool. Must not be null.

getBeanRegistry

BeanRegistry getBeanRegistry()
Get the underlying BeanRegistry.

Returns:
A BeanRegistry. Must not be null.

getPropertyManager

PropertyManager getPropertyManager()
Get the PropertyManager for this session.

Returns:
The PropertyMananger. Must not be null.

getTools

ArooaTools getTools()
Get the tools ArooaTools to use.

Returns:
An instance of ArooaTools.

getComponentPersister

ComponentPersister getComponentPersister()
Get the ComponentPersister to use.

Returns:
A ComponentPersister. Can be null if no persistence is required.

getComponentProxyResolver

ComponentProxyResolver getComponentProxyResolver()
Get the ComponentProxyResolver to use.

Returns:
A ComponentProxyResolver. Can be null if no Proxy substitution is required.