public class AutomagicPetiteConfigurator
extends java.lang.Object
Scans all classes on classpath and in jar files, and scans for PetiteBean
annotation (not by loading the class!). If annotation is founded, class will be loaded and
registered as Petite bean.
| Modifier and Type | Field and Description |
|---|---|
protected long |
elapsed |
| Constructor and Description |
|---|
AutomagicPetiteConfigurator() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(PetiteContainer petiteContainer)
Configures
PetiteContainer with specified class path. |
long |
elapsedTime()
Return elapsed number of milliseconds for configuration.
|
AutomagicPetiteConfigurator |
withScanner(java.util.function.Consumer<ClassScanner> scannerConsumer) |
public long elapsedTime()
public AutomagicPetiteConfigurator withScanner(java.util.function.Consumer<ClassScanner> scannerConsumer)
public void configure(PetiteContainer petiteContainer)
PetiteContainer with specified class path.Copyright © 2003-present Jodd Team