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
WeaveLifecycleProvider es. |
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
WeaveLifecycleProvider
es.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 null
target
- not null
configuration
- not null
public WeaveProcessor(List<String> classpath, File target, Properties configuration, Iterable<Weaver> providers)
WeaveProcessor
instance.classpath
- not null
target
- not null
configuration
- not null
providers
- not (@code null}Copyright © 2018 The Apache Software Foundation. All rights reserved.