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.
| Constructor and Description |
|---|
AutomagicPetiteConfigurator(PetiteContainer petiteContainer) |
| Modifier and Type | Method and Description |
|---|---|
void |
configure()
Configures
PetiteContainer with specified class path. |
AutomagicPetiteConfigurator |
setPackages(java.lang.String... packages) |
public AutomagicPetiteConfigurator(PetiteContainer petiteContainer)
public AutomagicPetiteConfigurator setPackages(java.lang.String... packages)
public void configure()
PetiteContainer with specified class path.