Transfer version 1.1

transfer.com.facade
Class AbstractBaseFacade

WEB-INF.cftags.component
        extended by transfer.com.facade.AbstractBaseFacade
Direct Known Subclasses:
ApplicationFacade , InstanceFacade , NoneFacade , RequestFacade , ServerFacade , SessionFacade

public class AbstractBaseFacade
extends WEB-INF.cftags.component

The abstract base to all the scope facades


Constructor Summary
init(JavaLoader javaLoader, any cacheConfig, any threadPool, EventManager eventManager, CacheMonitor cacheMonitor)
          Constructor
 
Method Summary
 void configure(string key)
          configuration, due to di loops
private AbstractBaseObserverCollection createObservable(string type)
          Returns a Observable collection object
 AbstractBaseObserverCollection getAfterCreateObserverCollection()
 AbstractBaseObserverCollection getAfterDeleteObserverCollection()
 AbstractBaseObserverCollection getAfterDiscardObserverCollection()
 AbstractBaseObserverCollection getAfterNewObserverCollection()
 AbstractBaseObserverCollection getAfterUpdateObserverCollection()
 AbstractBaseObserverCollection getBeforeCreateObserverCollection()
 AbstractBaseObserverCollection getBeforeDeleteObserverCollection()
 AbstractBaseObserverCollection getBeforeUpdateObserverCollection()
private any getCacheConfig()
 any getCacheManager()
          return com.compoundtheory.objectcache.CacheManager
private CacheMonitor getCacheMonitor()
private EventManager getEventManager()
private string getIdentityHashCode(any object)
          Gets the object hash code
private JavaLoader getJavaLoader()
private string getKey()
 AbstractBaseObserverCollection getObserverCollectionByType(string type)
          returns a particular observer collection
private struct getObserverFunctionMap()
private struct getScope()
          Overwrite to return the scope this facade refers to
private string getScopeIdentityHashCode()
          gets the identity hash code of the scope
private struct getScopePlace()
          Returns the place in which the Transfer parts are stored
 SoftReferenceRegister getSoftReferenceRegister()
private any getThreadPool()
 boolean hasAfterCreateObserverCollection()
          Whether it exists in the scope or not
 boolean hasAfterDeleteObserverCollection()
          Whether it exists in the scope or not
 boolean hasAfterDiscardObserverCollection()
          Whether it exists in the scope or not
 boolean hasAfterNewObserverCollection()
          Whether it exists in the scope or not
 boolean hasAfterUpdateObserverCollection()
          Whether it exists in the scope or not
 boolean hasBeforeCreateObserverCollection()
          Whether it exists in the scope or not
 boolean hasBeforeDeleteObserverCollection()
          Whether it exists in the scope or not
 boolean hasBeforeUpdateObserverCollection()
          Whether it exists in the scope or not
 boolean hasCacheManager()
          Whether it exists in the scope or not
private boolean hasScopePlace()
          checks to see if the scope has been accessed at all
 boolean hasSoftReferenceRegister()
          Whether it exists in the scope or not
private boolean scopePlaceKeyExists(string key)
          Returns true if the scope place key exists
private void setAfterCreateObserverCollection(AbstractBaseObserverCollection AfterCreateObserverCollection)
private void setAfterDeleteObserverCollection(AbstractBaseObserverCollection AfterDeleteObserverCollection)
private void setAfterDiscardObserverCollection(AbstractBaseObserverCollection AfterDiscardObserverCollection)
private void setAfterNewObserverCollection(AbstractBaseObserverCollection AfterNewObserverCollection)
private void setAfterUpdateObserverCollection(AbstractBaseObserverCollection AfterUpdateObserverCollection)
private void setBeforeCreateObserverCollection(AbstractBaseObserverCollection BeforeCreateObserverCollection)
private void setBeforeDeleteObserverCollection(AbstractBaseObserverCollection BeforeDeleteObserverCollection)
private void setBeforeUpdateObserverCollection(AbstractBaseObserverCollection BeforeUpdateObserverCollection)
private void setCacheConfig(any cacheConfig)
private void setCacheManager(any CacheManager)
private void setCacheMonitor(CacheMonitor cacheMonitor)
private void setEventManager(EventManager EventManager)
private void setFacadeMap(struct facadeMap)
private void setJavaLoader(JavaLoader JavaLoader)
private void setKey(string Key)
private void setObserverFunctionMap(struct observerFunctionMap)
private void setSoftReferenceRegister(SoftReferenceRegister softReferenceRegister)
private void setThreadPool(any threadPool)
private any throw(string type, string message, [string detail=''])
          Throws an Exception
 
Methods inherited from class WEB-INF.cftags.component
 

Constructor Detail

init

public init(JavaLoader javaLoader, any cacheConfig, any threadPool, EventManager eventManager, CacheMonitor cacheMonitor)
Constructor

Parameters:
javaLoader - The JavaLoader for loading the caching objects
cacheConfig - The cache config
threadPool - the Java thread pool implementation
eventManager
cacheMonitor - The cache monitor
Method Detail

configure

public void configure(string key)
configuration, due to di loops

Parameters:
key - The key to store values under

createObservable

private AbstractBaseObserverCollection createObservable(string type)
Returns a Observable collection object

Parameters:
type - key for what type to get

getAfterCreateObserverCollection

public AbstractBaseObserverCollection getAfterCreateObserverCollection()


getAfterDeleteObserverCollection

public AbstractBaseObserverCollection getAfterDeleteObserverCollection()


getAfterDiscardObserverCollection

public AbstractBaseObserverCollection getAfterDiscardObserverCollection()


getAfterNewObserverCollection

public AbstractBaseObserverCollection getAfterNewObserverCollection()


getAfterUpdateObserverCollection

public AbstractBaseObserverCollection getAfterUpdateObserverCollection()


getBeforeCreateObserverCollection

public AbstractBaseObserverCollection getBeforeCreateObserverCollection()


getBeforeDeleteObserverCollection

public AbstractBaseObserverCollection getBeforeDeleteObserverCollection()


getBeforeUpdateObserverCollection

public AbstractBaseObserverCollection getBeforeUpdateObserverCollection()


getCacheConfig

private any getCacheConfig()


getCacheManager

public any getCacheManager()
return com.compoundtheory.objectcache.CacheManager


getCacheMonitor

private CacheMonitor getCacheMonitor()


getEventManager

private EventManager getEventManager()


getIdentityHashCode

private string getIdentityHashCode(any object)
Gets the object hash code

Parameters:
object - The Object the query is associated with

getJavaLoader

private JavaLoader getJavaLoader()


getKey

private string getKey()


getObserverCollectionByType

public AbstractBaseObserverCollection getObserverCollectionByType(string type)
returns a particular observer collection

Parameters:
type - key for what type to get

getObserverFunctionMap

private struct getObserverFunctionMap()


getScope

private struct getScope()
Overwrite to return the scope this facade refers to


getScopeIdentityHashCode

private string getScopeIdentityHashCode()
gets the identity hash code of the scope


getScopePlace

private struct getScopePlace()
Returns the place in which the Transfer parts are stored


getSoftReferenceRegister

public SoftReferenceRegister getSoftReferenceRegister()


getThreadPool

private any getThreadPool()


hasAfterCreateObserverCollection

public boolean hasAfterCreateObserverCollection()
Whether it exists in the scope or not


hasAfterDeleteObserverCollection

public boolean hasAfterDeleteObserverCollection()
Whether it exists in the scope or not


hasAfterDiscardObserverCollection

public boolean hasAfterDiscardObserverCollection()
Whether it exists in the scope or not


hasAfterNewObserverCollection

public boolean hasAfterNewObserverCollection()
Whether it exists in the scope or not


hasAfterUpdateObserverCollection

public boolean hasAfterUpdateObserverCollection()
Whether it exists in the scope or not


hasBeforeCreateObserverCollection

public boolean hasBeforeCreateObserverCollection()
Whether it exists in the scope or not


hasBeforeDeleteObserverCollection

public boolean hasBeforeDeleteObserverCollection()
Whether it exists in the scope or not


hasBeforeUpdateObserverCollection

public boolean hasBeforeUpdateObserverCollection()
Whether it exists in the scope or not


hasCacheManager

public boolean hasCacheManager()
Whether it exists in the scope or not


hasScopePlace

private boolean hasScopePlace()
checks to see if the scope has been accessed at all


hasSoftReferenceRegister

public boolean hasSoftReferenceRegister()
Whether it exists in the scope or not


scopePlaceKeyExists

private boolean scopePlaceKeyExists(string key)
Returns true if the scope place key exists

Parameters:
key - the key to look for

setAfterCreateObserverCollection

private void setAfterCreateObserverCollection(AbstractBaseObserverCollection AfterCreateObserverCollection)

Parameters:
AfterCreateObserverCollection

setAfterDeleteObserverCollection

private void setAfterDeleteObserverCollection(AbstractBaseObserverCollection AfterDeleteObserverCollection)

Parameters:
AfterDeleteObserverCollection

setAfterDiscardObserverCollection

private void setAfterDiscardObserverCollection(AbstractBaseObserverCollection AfterDiscardObserverCollection)

Parameters:
AfterDiscardObserverCollection

setAfterNewObserverCollection

private void setAfterNewObserverCollection(AbstractBaseObserverCollection AfterNewObserverCollection)

Parameters:
AfterNewObserverCollection

setAfterUpdateObserverCollection

private void setAfterUpdateObserverCollection(AbstractBaseObserverCollection AfterUpdateObserverCollection)

Parameters:
AfterUpdateObserverCollection

setBeforeCreateObserverCollection

private void setBeforeCreateObserverCollection(AbstractBaseObserverCollection BeforeCreateObserverCollection)

Parameters:
BeforeCreateObserverCollection

setBeforeDeleteObserverCollection

private void setBeforeDeleteObserverCollection(AbstractBaseObserverCollection BeforeDeleteObserverCollection)

Parameters:
BeforeDeleteObserverCollection

setBeforeUpdateObserverCollection

private void setBeforeUpdateObserverCollection(AbstractBaseObserverCollection BeforeUpdateObserverCollection)

Parameters:
BeforeUpdateObserverCollection

setCacheConfig

private void setCacheConfig(any cacheConfig)

Parameters:
cacheConfig

setCacheManager

private void setCacheManager(any CacheManager)

Parameters:
CacheManager

setCacheMonitor

private void setCacheMonitor(CacheMonitor cacheMonitor)

Parameters:
cacheMonitor

setEventManager

private void setEventManager(EventManager EventManager)

Parameters:
EventManager

setFacadeMap

private void setFacadeMap(struct facadeMap)

Parameters:
facadeMap

setJavaLoader

private void setJavaLoader(JavaLoader JavaLoader)

Parameters:
JavaLoader

setKey

private void setKey(string Key)

Parameters:
Key

setObserverFunctionMap

private void setObserverFunctionMap(struct observerFunctionMap)

Parameters:
observerFunctionMap

setSoftReferenceRegister

private void setSoftReferenceRegister(SoftReferenceRegister softReferenceRegister)

Parameters:
softReferenceRegister

setThreadPool

private void setThreadPool(any threadPool)

Parameters:
threadPool

throw

private any throw(string type, string message, [string detail=''])
Throws an Exception

Parameters:
type - The type of exception
message - The message to accompany the exception
detail - The detail message for the exception

Transfer version 1.1