public class JythonCacheEntryFactory
extends java.lang.Object
implements net.sf.ehcache.constructs.blocking.CacheEntryFactory
| Constructor and Description |
|---|
JythonCacheEntryFactory(PortalManager portalManager,
VelocityService velocityService,
ScriptingServices scriptingServices)
Constructs the factory.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
createEntry(java.lang.Object key)
Creates a jython object instance for the script cache.
|
public JythonCacheEntryFactory(PortalManager portalManager, VelocityService velocityService, ScriptingServices scriptingServices)
portalManager - a PortalManager instancevelocityService - a VelocityService instancescriptingServices - a ScriptingServices instancepublic java.lang.Object createEntry(java.lang.Object key)
throws java.lang.Exception
createEntry in interface net.sf.ehcache.constructs.blocking.CacheEntryFactorykey - the path to the jython scriptjava.lang.Exception - if the jython object failed to be instantiatedCopyright © 2009-2019. All Rights Reserved.