net.sf.composite.specialize.specializers
Class CachingSpecializerProxy
java.lang.Object
net.sf.composite.specialize.specializers.BaseSpecializer
net.sf.composite.specialize.specializers.CachingSpecializerProxy
- All Implemented Interfaces:
- Specializer
public class CachingSpecializerProxy
- extends BaseSpecializer
Caches specialized versions of a composite so that they do not have to be
reconstructed for each request for a specialized version of the composite.
- Since:
- Mar 11, 2005
- Author:
- Matt Sgarlata
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CachingSpecializerProxy
public CachingSpecializerProxy()
CachingSpecializerProxy
public CachingSpecializerProxy(Specializer specializer)
isSpecializableImpl
protected boolean isSpecializableImpl(java.lang.Object composite,
java.lang.Class specializedType)
throws java.lang.Exception
- Description copied from class:
BaseSpecializer
- Implementation template method.
- Specified by:
isSpecializableImpl
in class BaseSpecializer
- Returns:
- boolean
- Throws:
java.lang.Exception
specializeImpl
protected java.lang.Object specializeImpl(java.lang.Object composite,
java.lang.Class specializedType)
throws java.lang.Exception
- Specified by:
specializeImpl
in class BaseSpecializer
- Throws:
java.lang.Exception
getSpecializer
public Specializer getSpecializer()
setSpecializer
public void setSpecializer(Specializer specializer)
Copyright © 2005-2008.