public final class ComponentInstantiatorSourceImpl extends java.lang.Object implements ComponentInstantiatorSource, UpdateListener, java.lang.Runnable, PlasticManagerDelegate, PlasticClassListener
PlasticManager that allows certain classes to be modified as they are loaded.| Constructor and Description | 
|---|
| ComponentInstantiatorSourceImpl(org.slf4j.Logger logger,
                               LoggerSource loggerSource,
                               PlasticProxyFactory proxyFactory,
                               ComponentClassTransformWorker2 transformerChain,
                               ClasspathURLConverter classpathURLConverter,
                               OperationTracker tracker,
                               java.util.Map<java.lang.String,ControlledPackageType> configuration,
                               boolean productionMode,
                               ComponentClassResolver resolver,
                               InternalComponentInvalidationEventHub invalidationHub) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | checkForUpdates()Invoked to force the receiver to check for updates to whatever underlying resources it makes use of. | 
| void | classWillLoad(PlasticClassEvent event)Invoked just before a class is to be loaded. | 
| <T> ClassInstantiator<T> | configureInstantiator(java.lang.String className,
                     ClassInstantiator<T> instantiator)Configures the instantiator for a transformed PlasticClass. | 
| boolean | exists(java.lang.String className)Checks to see if a fully qualified class name exists. | 
| void | forceComponentInvalidation()Forces invalidation logic, as if a component class on the disk had changed, forcing a reload
 of all pages and components. | 
| Instantiator | getInstantiator(java.lang.String className)Given the name of a component class, provides an instantiator for that component. | 
| PlasticProxyFactory | getProxyFactory()Returns a proxy factory that can be used to generate additional classes around enhanced classes, or create
 subclasses of enhanced classes. | 
| void | listenForUpdates(UpdateListenerHub hub) | 
| void | run() | 
| void | transform(PlasticClass plasticClass)Perform whatever transformations are appropriate on this PlasticClass. | 
public ComponentInstantiatorSourceImpl(org.slf4j.Logger logger, LoggerSource loggerSource, @Builtin PlasticProxyFactory proxyFactory, @Primary ComponentClassTransformWorker2 transformerChain, ClasspathURLConverter classpathURLConverter, OperationTracker tracker, java.util.Map<java.lang.String,ControlledPackageType> configuration, @Symbol(value="tapestry.production-mode") boolean productionMode, ComponentClassResolver resolver, InternalComponentInvalidationEventHub invalidationHub)
@PostInjection public void listenForUpdates(UpdateListenerHub hub)
public void checkForUpdates()
UpdateListenercheckForUpdates in interface UpdateListenerpublic void forceComponentInvalidation()
ComponentInstantiatorSourceforceComponentInvalidation in interface ComponentInstantiatorSourcepublic void run()
run in interface java.lang.Runnablepublic Instantiator getInstantiator(java.lang.String className)
ComponentInstantiatorSourcegetInstantiator in interface ComponentInstantiatorSourceclassName - FQCN to find (and perhaps transform and load)public boolean exists(java.lang.String className)
ComponentInstantiatorSourceexists in interface ComponentInstantiatorSourceclassName - name of class to checkpublic PlasticProxyFactory getProxyFactory()
ComponentInstantiatorSourcegetProxyFactory in interface ComponentInstantiatorSourcepublic void transform(PlasticClass plasticClass)
PlasticClassTransformertransform in interface PlasticClassTransformerpublic <T> ClassInstantiator<T> configureInstantiator(java.lang.String className, ClassInstantiator<T> instantiator)
PlasticManagerDelegateconfigureInstantiator in interface PlasticManagerDelegateclassName - fully qualified class name that was transformedinstantiator - default instantiator, which has an empty InstanceContextInstanceContext valuespublic void classWillLoad(PlasticClassEvent event)
PlasticClassListenerclassWillLoad in interface PlasticClassListenerevent - describes the class to be loaded, and gives access to its disassembled
            bytecode (for debugging purposes)${project.version} - Copyright © 2003-2015 The Apache Software Foundation.