public class PetiteRegistry
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
PetiteRegistry.BeanDestroy |
class |
PetiteRegistry.BeanInit |
class |
PetiteRegistry.BeanProvider |
class |
PetiteRegistry.BeanRegister<T> |
class |
PetiteRegistry.BeanWire
Bean wiring.
|
Constructor and Description |
---|
PetiteRegistry(PetiteContainer petiteContainer)
Creates Petite registry.
|
Modifier and Type | Method and Description |
---|---|
PetiteRegistry.BeanRegister |
bean(java.lang.Class beanType)
Starts with bean registration.
|
PetiteRegistry.BeanDestroy |
destroy(java.lang.String beanName)
Starts registration of destroy method.
|
PetiteRegistry.BeanInit |
init(java.lang.String beanName)
Starts registration of init method.
|
static PetiteRegistry |
of(PetiteContainer petiteContainer)
Starts with fluent registration.
|
PetiteContainer |
petiteContainer()
Returns
PetiteContainer . |
PetiteRegistry.BeanProvider |
provider(java.lang.String providerName)
Starts with provider definition.
|
PetiteRegistry.BeanWire |
wire(java.lang.String beanName)
Starts with defining injection points (i.e. wiring) for existing bean.
|
public PetiteRegistry(PetiteContainer petiteContainer)
public static PetiteRegistry of(PetiteContainer petiteContainer)
public PetiteContainer petiteContainer()
PetiteContainer
.public PetiteRegistry.BeanRegister bean(java.lang.Class beanType)
bean(Foo.class).name("").scope(...).wiringMode(...).define().register();
public PetiteRegistry.BeanWire wire(java.lang.String beanName)
public PetiteRegistry.BeanInit init(java.lang.String beanName)
public PetiteRegistry.BeanDestroy destroy(java.lang.String beanName)
public PetiteRegistry.BeanProvider provider(java.lang.String providerName)
Copyright © 2003-present Jodd Team