public class JythonCacheEntryFactory extends Object implements net.sf.ehcache.constructs.blocking.CacheEntryFactory
| Constructor and Description |
|---|
JythonCacheEntryFactory(PortalManager portalManager,
VelocityService velocityService,
ScriptingServices scriptingServices)
Constructs the factory.
|
public JythonCacheEntryFactory(PortalManager portalManager, VelocityService velocityService, ScriptingServices scriptingServices)
portalManager - a PortalManager instancevelocityService - a VelocityService instancescriptingServices - a ScriptingServices instancepublic Object createEntry(Object key) throws Exception
createEntry in interface net.sf.ehcache.constructs.blocking.CacheEntryFactorykey - the path to the jython scriptException - if the jython object failed to be instantiatedCopyright © 2009-2016. All Rights Reserved.