Package jodd.petite
Class AutomagicPetiteConfigurator
- java.lang.Object
-
- jodd.petite.AutomagicPetiteConfigurator
-
public class AutomagicPetiteConfigurator extends java.lang.ObjectAuto-magically configures Petite container by analyzing the classpath.Scans all classes on classpath and in jar files, and scans for
PetiteBeanannotation (not by loading the class!). If annotation is founded, class will be loaded and registered as Petite bean.
-
-
Constructor Summary
Constructors Constructor Description AutomagicPetiteConfigurator(PetiteContainer petiteContainer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfigure()ConfiguresPetiteContainerwith specified class path.AutomagicPetiteConfiguratorsetPackages(java.lang.String... packages)
-
-
-
Constructor Detail
-
AutomagicPetiteConfigurator
public AutomagicPetiteConfigurator(PetiteContainer petiteContainer)
-
-
Method Detail
-
setPackages
public AutomagicPetiteConfigurator setPackages(java.lang.String... packages)
-
configure
public void configure()
ConfiguresPetiteContainerwith specified class path.
-
-