Package org.oddjob.arooa.parsing
Class SessionDelegate
java.lang.Object
org.oddjob.arooa.parsing.SessionDelegate
- All Implemented Interfaces:
ArooaSession
- Direct Known Subclasses:
DescriptorOverrideSession,MutablesOverrideSession,PropertiesOverrideSession,SubstituationPolicySession
Designed to be partially overridden to modify behaviour.
- Author:
- rob
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet theArooaDescriptorto use.Get the underlyingBeanRegistry.Get theComponentPersisterto use.Get the underlyingComponentPool.Get theComponentProxyResolverto use.Getter for the original.Get thePropertyManagerfor this session.getTools()Get the toolsArooaToolsto use.
-
Constructor Details
-
SessionDelegate
Constructor.- Parameters:
delegate- Existing session.
-
-
Method Details
-
getComponentPool
Description copied from interface:ArooaSessionGet the underlyingComponentPool.- Specified by:
getComponentPoolin interfaceArooaSession- Returns:
- A ComponentPool. Must not be null.
-
getBeanRegistry
Description copied from interface:ArooaSessionGet the underlyingBeanRegistry.- Specified by:
getBeanRegistryin interfaceArooaSession- Returns:
- A BeanRegistry. Must not be null.
-
getPropertyManager
Description copied from interface:ArooaSessionGet thePropertyManagerfor this session.- Specified by:
getPropertyManagerin interfaceArooaSession- Returns:
- The PropertyMananger. Must not be null.
-
getArooaDescriptor
Description copied from interface:ArooaSessionGet theArooaDescriptorto use.- Specified by:
getArooaDescriptorin interfaceArooaSession- Returns:
- An ArooaDescriptor. Must not be null.
-
getTools
Description copied from interface:ArooaSessionGet the toolsArooaToolsto use.- Specified by:
getToolsin interfaceArooaSession- Returns:
- An instance of ArooaTools.
-
getComponentProxyResolver
Description copied from interface:ArooaSessionGet theComponentProxyResolverto use.- Specified by:
getComponentProxyResolverin interfaceArooaSession- Returns:
- A ComponentProxyResolver. Can be null if no Proxy substitution is required.
-
getComponentPersister
Description copied from interface:ArooaSessionGet theComponentPersisterto use.- Specified by:
getComponentPersisterin interfaceArooaSession- Returns:
- A ComponentPersister. Can be null if no persistence is required.
-
getOriginal
Getter for the original.- Returns:
- The original session this instance is delegating to.
-