public class WeaveProcessor extends Object
WeaveLifecycle.WEAVE.| Modifier and Type | Field and Description | 
|---|---|
protected ClassLoader | 
classLoader
ClassLoader representing classpath. | 
protected List<String> | 
classpath
The classpath which will be used to look up cross references during weaving. 
 | 
protected Properties | 
configuration
Properties for configuring discovered plugin modules. 
 | 
protected org.apache.commons.weaver.Finder | 
finder
Finder instance using for weaving. | 
protected Logger | 
log
Logger instance. 
 | 
protected Iterable<P> | 
providers
The managed  
WeaveLifecycleProvideres. | 
protected File | 
target
The actual path to be woven, replacing any affected classes. 
 | 
| Constructor and Description | 
|---|
WeaveProcessor(List<String> classpath,
              File target,
              Properties configuration)
Create a new  
WeaveProcessor instance using the ServiceLoader mechanism. | 
WeaveProcessor(List<String> classpath,
              File target,
              Properties configuration,
              Iterable<Weaver> providers)
Create a new  
WeaveProcessor instance. | 
protected final Logger log
protected final List<String> classpath
protected final File target
protected final Properties configuration
protected final Iterable<P extends WeaveLifecycleProvider<?>> providers
WeaveLifecycleProvideres.protected final ClassLoader classLoader
ClassLoader representing classpath.protected final org.apache.commons.weaver.Finder finder
Finder instance using for weaving.public WeaveProcessor(List<String> classpath, File target, Properties configuration)
WeaveProcessor instance using the ServiceLoader mechanism.classpath - not nulltarget - not nullconfiguration - not nullpublic WeaveProcessor(List<String> classpath, File target, Properties configuration, Iterable<Weaver> providers)
WeaveProcessor instance.classpath - not nulltarget - not nullconfiguration - not nullproviders - not (@code null}Copyright © 2018 The Apache Software Foundation. All rights reserved.