A B C D E F G I J L M N O P R S T U V W 

A

accept(Scope) - Method in class jodd.petite.scope.ProtoScope
Allows all scopes to be injected into prototype scoped beans.
accept(Scope) - Method in class jodd.petite.scope.RequestScope
 
accept(Scope) - Method in interface jodd.petite.scope.Scope
Returns true if a bean of referenced scope can be injected into target bean of this scope.
accept(Scope) - Method in class jodd.petite.scope.SessionScope
 
accept(Scope) - Method in class jodd.petite.scope.SingletonScope
Allows only singleton scoped beans to be injected into the target singleton bean.
accept(Scope) - Method in class jodd.petite.scope.ThreadLocalScope
Defines allowed referenced scopes that can be injected into the thread-local scoped bean.
addBean(String, Object) - Method in class jodd.petite.PetiteContainer
Adds object instance to the container as singleton bean using default wiring mode and default init method flag.
addBean(String, Object, WiringMode) - Method in class jodd.petite.PetiteContainer
Adds object instance to the container as singleton bean.
addDestroyMethodPoints(DestroyMethodPoint[]) - Method in class jodd.petite.BeanDefinition
Adds destroy methods.
addInitMethodPoints(InitMethodPoint[]) - Method in class jodd.petite.BeanDefinition
Adds init methods.
addMethodInjectionPoint(MethodInjectionPoint) - Method in class jodd.petite.BeanDefinition
Adds method injection point.
addPropertyInjectionPoint(PropertyInjectionPoint) - Method in class jodd.petite.BeanDefinition
Adds property injection point.
addSelf(String) - Method in class jodd.petite.PetiteContainer
Adds self instance to the container so internal beans may fetch container for further usage.
addSelf() - Method in class jodd.petite.PetiteContainer
Adds self instance to the container so internal beans may fetch container for further usage.
addSetInjectionPoint(SetInjectionPoint) - Method in class jodd.petite.BeanDefinition
Adds set injection point.
args(Class...) - Method in class jodd.petite.PetiteRegistry.BeanProvider
Defines method argument types.
args(Class...) - Method in class jodd.petite.PetiteRegistry.BeanWire.BeanWireMethod
Defines method argument types.
aspect - Variable in class jodd.petite.ScopedProxyManager
 
ATTR_NAME - Static variable in class jodd.petite.scope.RequestScope
 
AutomagicPetiteConfigurator - Class in jodd.petite.config
Auto-magically configures Petite container by analyzing the classpath.
AutomagicPetiteConfigurator() - Constructor for class jodd.petite.config.AutomagicPetiteConfigurator
 

B

bean - Variable in class jodd.petite.BeanData
 
bean(Class) - Method in class jodd.petite.PetiteRegistry
Starts with bean registration.
bean(String) - Method in class jodd.petite.PetiteRegistry.BeanProvider
Defines bean name.
beanCollections - Variable in class jodd.petite.PetiteBeans
Map of all bean collections.
BeanData - Class in jodd.petite
Petite bean is defined by bean definition and bean instance.
BeanData(BeanDefinition, Object) - Constructor for class jodd.petite.BeanData
 
beanDefinition - Variable in class jodd.petite.BeanData
 
BeanDefinition - Class in jodd.petite
Petite bean definition and cache.
BeanDefinition(String, Class, Scope, WiringMode) - Constructor for class jodd.petite.BeanDefinition
 
beanMap - Variable in class jodd.petite.scope.SessionScope.SessionBeans
 
beanName - Variable in class jodd.petite.PetiteRegistry.BeanDestroy
 
beanName - Variable in class jodd.petite.PetiteRegistry.BeanInit
 
beanName - Variable in class jodd.petite.PetiteRegistry.BeanProvider
 
beanName - Variable in class jodd.petite.PetiteRegistry.BeanRegister
 
beanName - Variable in class jodd.petite.PetiteRegistry.BeanWire
 
beanName - Variable in class jodd.petite.ProviderDefinition
 
beans - Variable in class jodd.petite.PetiteBeans
Map of all beans definitions.
beanType - Variable in class jodd.petite.PetiteRegistry.BeanRegister
 
bind() - Method in class jodd.petite.PetiteRegistry.BeanWire.BeanWireCtor
Registers constructor injection point.
bind() - Method in class jodd.petite.PetiteRegistry.BeanWire.BeanWireMethod
Registers method injection point.
bind() - Method in class jodd.petite.PetiteRegistry.BeanWire.BeanWireProperty
Registers property injection point.
bind() - Method in class jodd.petite.PetiteRegistry.BeanWire.BeanWireSet
Defines set injection point.

C

callDestroyMethods(BeanData) - Static method in class jodd.petite.PetiteUtil
Calls destroy methods on given BeanData.
compareTo(Object) - Method in class jodd.petite.InitMethodPoint
 
configure(PetiteContainer, File[]) - Method in class jodd.petite.config.AutomagicPetiteConfigurator
Configures PetiteContainer with specified class path.
configure(PetiteContainer) - Method in class jodd.petite.config.AutomagicPetiteConfigurator
Configures PetiteContainer with default class path.
configure(PetiteContainer) - Method in interface jodd.petite.config.PetiteConfigurator
 
constructor - Variable in class jodd.petite.CtorInjectionPoint
 
container - Variable in class jodd.petite.config.AutomagicPetiteConfigurator
 
context - Static variable in class jodd.petite.scope.ThreadLocalScope
 
convertAnnValueToReferences(String) - Static method in class jodd.petite.PetiteUtil
Converts comma-separated string into double string array.
convertRefToReferences(String[]) - Static method in class jodd.petite.PetiteUtil
Converts single string array to double string array.
createBean(Class<E>) - Method in class jodd.petite.PetiteContainer
Creates and wires a bean within the container using default wiring mode and default init methods flag.
createBean(Class<E>, WiringMode) - Method in class jodd.petite.PetiteContainer
Creates and wires a bean within the container and optionally invokes init methods.
createCtorInjectionPoint(Constructor, String[][]) - Method in class jodd.petite.InjectionPointFactory
Creates new ctor injection point.
createMethodInjectionPoint(Method, String[][]) - Method in class jodd.petite.InjectionPointFactory
Creates new method injection point.
createMixingMessage(BeanDefinition, BeanDefinition) - Method in class jodd.petite.ScopedProxyManager
Creates mixed scope message.
createPropertyInjectionPoint(Field, String[]) - Method in class jodd.petite.InjectionPointFactory
Creates new property injection point.
createRequestMap(HttpServletRequest) - Method in class jodd.petite.scope.RequestScope
Creates instance map and stores it in the request.
createScopedProxyBean(PetiteContainer, BeanDefinition) - Method in class jodd.petite.ScopedProxyManager
Creates scoped proxy bean for given bean definition.
createSet(int) - Method in class jodd.petite.SetInjectionPoint
Creates target set for injection.
createSetInjectionPoint(Field) - Method in class jodd.petite.InjectionPointFactory
Creates new set injection point.
ctor - Variable in class jodd.petite.BeanDefinition
 
ctor(Class...) - Method in class jodd.petite.PetiteRegistry.BeanWire
Wires beans constructor.
ctorArgumentTypes - Variable in class jodd.petite.PetiteRegistry.BeanWire.BeanWireCtor
 
CtorInjectionPoint - Class in jodd.petite
Holder for constructor injection points.
ctorResolver - Variable in class jodd.petite.PetiteResolvers
 
CtorResolver - Class in jodd.petite.resolver
Resolver for constructor injection points.
CtorResolver(InjectionPointFactory) - Constructor for class jodd.petite.resolver.CtorResolver
 

D

defaultWiringMode - Variable in class jodd.petite.PetiteConfig
 
define - Variable in class jodd.petite.PetiteRegistry.BeanRegister
 
define() - Method in class jodd.petite.PetiteRegistry.BeanRegister
Bean will be defined rather just registered.
defineParameter(String, Object) - Method in class jodd.petite.PetiteBeans
Defines new parameter.
defineParameters(Map<?, ?>) - Method in class jodd.petite.PetiteBeans
Defines many parameters at once.
defineParameters(Props) - Method in class jodd.petite.PetiteBeans
Defines many parameters at once from Props.
destroy(String) - Method in class jodd.petite.PetiteRegistry
Starts registration of destroy method.
destroyableBeans - Variable in class jodd.petite.scope.ShutdownAwareScope
 
destroyBean(BeanData) - Method in class jodd.petite.scope.ShutdownAwareScope
Removes destroyable bean from the list and calls it destroy methods.
DestroyMethodPoint - Class in jodd.petite
Destroy method point.
DestroyMethodPoint(Method) - Constructor for class jodd.petite.DestroyMethodPoint
 
destroyMethodResolver - Variable in class jodd.petite.PetiteResolvers
 
DestroyMethodResolver - Class in jodd.petite.resolver
Resolver for destroy methods.
DestroyMethodResolver() - Constructor for class jodd.petite.resolver.DestroyMethodResolver
 
destroyMethods - Variable in class jodd.petite.BeanDefinition
 
detectDuplicatedBeanNames - Variable in class jodd.petite.PetiteConfig
 
detectMixedScopes - Variable in class jodd.petite.PetiteConfig
 

E

elapsed - Variable in class jodd.petite.config.AutomagicPetiteConfigurator
 
EMPTY - Static variable in class jodd.petite.DestroyMethodPoint
 
EMPTY - Static variable in class jodd.petite.InitMethodPoint
 
EMPTY - Static variable in class jodd.petite.MethodInjectionPoint
 
EMPTY - Static variable in class jodd.petite.PropertyInjectionPoint
 
EMPTY - Static variable in class jodd.petite.ProviderDefinition
 
EMPTY - Static variable in class jodd.petite.SetInjectionPoint
 
execute() - Method in class jodd.petite.ScopedProxyAdvice
 

F

field - Variable in class jodd.petite.PropertyInjectionPoint
 
field - Variable in class jodd.petite.SetInjectionPoint
 
fieldDefaultReferences(Field) - Method in class jodd.petite.InjectionPointFactory
Builds default field references.

G

get(String) - Method in class jodd.petite.ParamManager
Returns parameter for given name or null if not found.
getBean() - Method in class jodd.petite.BeanData
Returns Petite bean instance.
getBean(Class<T>) - Method in class jodd.petite.PetiteContainer
Returns Petite bean instance.
getBean(String) - Method in class jodd.petite.PetiteContainer
Returns Petite bean instance.
getBean(String[], Map<String, Object>) - Method in class jodd.petite.PetiteContainer
Returns Petite bean instance named as one of the provided names.
getBean(String, Map<String, Object>) - Method in class jodd.petite.PetiteContainer
Returns Petite bean instance.
getBeanDefinition() - Method in class jodd.petite.BeanData
Returns Petite bean definition.
getBeanMap() - Method in class jodd.petite.scope.SessionScope.SessionBeans
Returns bean map used in this session.
getBeanNames() - Method in class jodd.petite.PetiteBeans
Returns set of all bean names.
getBeanProperty(String) - Method in class jodd.petite.PetiteContainer
Returns petite bean property value.
getConfig() - Method in class jodd.petite.PetiteBeans
getCtorInjectionPoint() - Method in class jodd.petite.BeanDefinition
Returns constructor injection point.
getCurrentHttpRequest() - Method in class jodd.petite.scope.RequestScope
Returns request from current thread.
getCurrentHttpSession() - Method in class jodd.petite.scope.SessionScope
Returns request from current thread.
getDefaultWiringMode() - Method in class jodd.petite.PetiteConfig
Returns default wiring mode.
getDestroyMethodPoints() - Method in class jodd.petite.BeanDefinition
Returns destroy method points.
getDetectDuplicatedBeanNames() - Method in class jodd.petite.PetiteConfig
Returns true if container detects duplicated bean names.
getElapsed() - Method in class jodd.petite.config.AutomagicPetiteConfigurator
Return elapsed number of milliseconds for configuration.
getInitMethodPoints() - Method in class jodd.petite.BeanDefinition
Returns init method points.
getLookupReferences() - Method in class jodd.petite.PetiteConfig
 
getMethodInjectionPoints() - Method in class jodd.petite.BeanDefinition
Returns method injection points.
getName() - Method in class jodd.petite.BeanDefinition
Returns bean name.
getParameter(String) - Method in class jodd.petite.PetiteBeans
Returns defined parameter.
getParamManager() - Method in class jodd.petite.PetiteBeans
Returns parameter manager.
getParams() - Method in class jodd.petite.BeanDefinition
Returns parameters.
getPropertyInjectionPoints() - Method in class jodd.petite.BeanDefinition
Returns property injection points.
getRequestMap(HttpServletRequest) - Method in class jodd.petite.scope.RequestScope
Returns instance map from http request.
getResolveReferenceParameters() - Method in class jodd.petite.PetiteConfig
Returns true if parameter references should be resolved.
getScope() - Method in class jodd.petite.BeanDefinition
Returns beans scope type.
getSessionMap(HttpSession) - Method in class jodd.petite.scope.SessionScope
Returns instance map from http session.
getSetInjectionPoints() - Method in class jodd.petite.BeanDefinition
Returns set injection points.
getTotalBeans() - Method in class jodd.petite.PetiteBeans
Returns total number of registered beans.
getTotalScopes() - Method in class jodd.petite.PetiteBeans
Returns total number of used scopes.
getType() - Method in class jodd.petite.BeanDefinition
Returns bean type.
getUseFullTypeNames() - Method in class jodd.petite.PetiteConfig
 
getUseParamo() - Method in class jodd.petite.PetiteConfig
 
getWiringMode() - Method in class jodd.petite.BeanDefinition
Returns wiring mode.

I

init(String) - Method in class jodd.petite.PetiteRegistry
Starts registration of init method.
InitMethodInvocationStrategy - Enum in jodd.petite.meta
Invocation strategy for init methods define moment when init methods are invoked.
InitMethodPoint - Class in jodd.petite
Init method point.
InitMethodPoint(Method, int, InitMethodInvocationStrategy) - Constructor for class jodd.petite.InitMethodPoint
 
initMethodResolver - Variable in class jodd.petite.PetiteResolvers
 
InitMethodResolver - Class in jodd.petite.resolver
Resolver for bean init methods.
InitMethodResolver() - Constructor for class jodd.petite.resolver.InitMethodResolver
 
initMethods - Variable in class jodd.petite.BeanDefinition
 
InjectionPointFactory - Class in jodd.petite
Factory for injection points.
InjectionPointFactory(PetiteConfig) - Constructor for class jodd.petite.InjectionPointFactory
 
injectionPointFactory - Variable in class jodd.petite.PetiteBeans
injectionPointFactory - Variable in class jodd.petite.resolver.CtorResolver
 
injectionPointFactory - Variable in class jodd.petite.resolver.MethodResolver
 
injectionPointFactory - Variable in class jodd.petite.resolver.PropertyResolver
 
injectionPointFactory - Variable in class jodd.petite.resolver.SetResolver
 
injectParams(Object, BeanDefinition) - Method in class jodd.petite.PetiteContainer
Injects all parameters.
instances - Variable in class jodd.petite.scope.SingletonScope
 
invocationStrategy - Variable in class jodd.petite.InitMethodPoint
 
invoke(InitMethodInvocationStrategy) - Method in class jodd.petite.PetiteRegistry.BeanInit
Defines init method invocation strategy,
invokeInitMethods(Object, BeanDefinition, InitMethodInvocationStrategy) - Method in class jodd.petite.PetiteContainer
Invokes all init methods, if they exist.
invokeProvider(ProviderDefinition) - Method in class jodd.petite.PetiteContainer
Invokes provider to get a bean.
isBeanDestroyable(BeanData) - Method in class jodd.petite.scope.ShutdownAwareScope
Returns true if bean is destroyable.
isBeanNameRegistered(String) - Method in class jodd.petite.PetiteBeans
Returns true if bean name is registered.
isDetectMixedScopes() - Method in class jodd.petite.PetiteConfig
 
isWireScopedProxy() - Method in class jodd.petite.PetiteConfig
 

J

jodd - package jodd
 
jodd.petite - package jodd.petite
Petite container.
jodd.petite.config - package jodd.petite.config
Configurators for Petite container.
jodd.petite.meta - package jodd.petite.meta
Annotations used by Petite container.
jodd.petite.proxetta - package jodd.petite.proxetta
Proxetta aware Petite container.
jodd.petite.resolver - package jodd.petite.resolver
Petite resolvers defines and resolves injection points.
jodd.petite.scope - package jodd.petite.scope
Petite bean scopes.
JoddPetite - Class in jodd
Jodd PETITE module.
JoddPetite() - Constructor for class jodd.JoddPetite
 

L

loadClass(String) - Method in class jodd.petite.config.AutomagicPetiteConfigurator
Loads class from classname using default classloader.
lookup(String) - Method in class jodd.petite.scope.ProtoScope
Returns null as no bean instance is stored.
lookup(String) - Method in class jodd.petite.scope.RequestScope
 
lookup(String) - Method in interface jodd.petite.scope.Scope
Lookups for bean name.
lookup(String) - Method in class jodd.petite.scope.SessionScope
 
lookup(String) - Method in class jodd.petite.scope.SingletonScope
 
lookup(String) - Method in class jodd.petite.scope.ThreadLocalScope
 
lookupBeanDefinition(String) - Method in class jodd.petite.PetiteBeans
Lookups for bean definition.
lookupBeanDefinitions(String...) - Method in class jodd.petite.PetiteBeans
Lookups for first founded bean definition.
lookupExistingBeanDefinition(String) - Method in class jodd.petite.PetiteBeans
Lookups for existing bean definition.
lookupReferences - Variable in class jodd.petite.PetiteConfig
 
lookupValue(PetiteContainer, BeanDefinition, BeanDefinition) - Method in class jodd.petite.ScopedProxyManager
Returns scoped proxy bean if injection scopes are mixed on some injection point.

M

method - Variable in class jodd.petite.DestroyMethodPoint
 
method - Variable in class jodd.petite.InitMethodPoint
 
method - Variable in class jodd.petite.MethodInjectionPoint
 
method(String) - Method in class jodd.petite.PetiteRegistry.BeanProvider
Defines provider method name.
method(String) - Method in class jodd.petite.PetiteRegistry.BeanWire
Wires beans method.
method - Variable in class jodd.petite.ProviderDefinition
 
methodArgsTypes - Variable in class jodd.petite.PetiteRegistry.BeanProvider
 
methodArgumentTypes - Variable in class jodd.petite.PetiteRegistry.BeanWire.BeanWireMethod
 
MethodInjectionPoint - Class in jodd.petite
Method injection points.
methodName - Variable in class jodd.petite.PetiteRegistry.BeanProvider
 
methodName - Variable in class jodd.petite.PetiteRegistry.BeanWire.BeanWireMethod
 
methodOrCtorDefaultReferences(AccessibleObject, Class[]) - Method in class jodd.petite.InjectionPointFactory
Builds default method references.
methodResolver - Variable in class jodd.petite.PetiteResolvers
 
MethodResolver - Class in jodd.petite.resolver
Method reference resolver.
MethodResolver(InjectionPointFactory) - Constructor for class jodd.petite.resolver.MethodResolver
 
methods - Variable in class jodd.petite.BeanDefinition
 
methods - Variable in class jodd.petite.PetiteRegistry.BeanDestroy
 
methods(String...) - Method in class jodd.petite.PetiteRegistry.BeanDestroy
Defines destroy methods.
methods - Variable in class jodd.petite.PetiteRegistry.BeanInit
 
methods(String...) - Method in class jodd.petite.PetiteRegistry.BeanInit
Defines init methods.

N

name - Variable in class jodd.petite.BeanDefinition
 
name(String) - Method in class jodd.petite.PetiteRegistry.BeanRegister
Defines bean name.
name - Variable in class jodd.petite.ProviderDefinition
 
name - Variable in class jodd.petite.ScopedProxyAdvice
Bean name for lookup.
newBeanInstance(BeanDefinition, Map<String, Object>) - Method in class jodd.petite.PetiteContainer
Creates new bean instance and performs constructor injection.
newInstance(Class<T>, PetiteContainer) - Static method in class jodd.petite.PetiteUtil
Creates new instance of given type.

O

onEntry(ClassFinder.EntryData) - Method in class jodd.petite.config.AutomagicPetiteConfigurator
Scans all classes and registers only those annotated with PetiteBean.
order - Variable in class jodd.petite.InitMethodPoint
 

P

ParamManager - Class in jodd.petite
Parameter storage and resolver.
ParamManager() - Constructor for class jodd.petite.ParamManager
 
paramManager - Variable in class jodd.petite.PetiteBeans
params - Variable in class jodd.petite.BeanDefinition
 
params - Variable in class jodd.petite.ParamManager
 
petite(PetiteContainer) - Static method in class jodd.petite.PetiteRegistry
Starts with fluent registration.
PETITE_CONTAINER_REF_NAME - Static variable in class jodd.petite.PetiteContainer
Petite container reference name.
PetiteBean - Annotation Type in jodd.petite.meta
Petite bean annotation for classes.
petiteBeanAnnotationBytes - Variable in class jodd.petite.config.AutomagicPetiteConfigurator
 
PetiteBeans - Class in jodd.petite
Base layer of Petite Container.
PetiteBeans(PetiteConfig) - Constructor for class jodd.petite.PetiteBeans
 
petiteConfig - Variable in class jodd.petite.InjectionPointFactory
 
petiteConfig - Variable in class jodd.petite.PetiteBeans
PetiteConfig - Class in jodd.petite
Petite configuration.
PetiteConfig() - Constructor for class jodd.petite.PetiteConfig
 
PetiteConfigurator - Interface in jodd.petite.config
Petite container configurator.
PetiteContainer - Class in jodd.petite
Petite IOC container.
PetiteContainer() - Constructor for class jodd.petite.PetiteContainer
Creates new Petite container using default configuration.
PetiteContainer(PetiteConfig) - Constructor for class jodd.petite.PetiteContainer
Creates new Petite container using provided configuration.
petiteContainer - Variable in class jodd.petite.ScopedProxyAdvice
Petite container.
PetiteDestroyMethod - Annotation Type in jodd.petite.meta
Points to the Petite bean destroy method.
PetiteException - Exception in jodd.petite
Petite exception.
PetiteException(Throwable) - Constructor for exception jodd.petite.PetiteException
 
PetiteException(String) - Constructor for exception jodd.petite.PetiteException
 
PetiteException(String, Throwable) - Constructor for exception jodd.petite.PetiteException
 
PetiteInitMethod - Annotation Type in jodd.petite.meta
Points to the Petite bean init method.
PetiteInject - Annotation Type in jodd.petite.meta
Petite bean reference for fields and constructor arguments.
PetiteProvider - Annotation Type in jodd.petite.meta
Marker for Petite providers.
PetiteReference - Enum in jodd.petite
Petite injection references.
PetiteRegistry - Class in jodd.petite
Petite registry helps with manual registration of Petite beans by allowing fluent interface.
PetiteRegistry(PetiteContainer) - Constructor for class jodd.petite.PetiteRegistry
Creates Petite registry.
PetiteRegistry.BeanDestroy - Class in jodd.petite
 
PetiteRegistry.BeanInit - Class in jodd.petite
 
PetiteRegistry.BeanProvider - Class in jodd.petite
 
PetiteRegistry.BeanRegister - Class in jodd.petite
 
PetiteRegistry.BeanWire - Class in jodd.petite
Bean wiring.
PetiteRegistry.BeanWire.BeanWireCtor - Class in jodd.petite
 
PetiteRegistry.BeanWire.BeanWireMethod - Class in jodd.petite
 
PetiteRegistry.BeanWire.BeanWireProperty - Class in jodd.petite
 
PetiteRegistry.BeanWire.BeanWireSet - Class in jodd.petite
 
petiteResolvers - Variable in class jodd.petite.PetiteBeans
PetiteResolvers - Class in jodd.petite
Holds all resolvers instances and offers delegate methods.
PetiteResolvers(InjectionPointFactory) - Constructor for class jodd.petite.PetiteResolvers
 
PetiteUtil - Class in jodd.petite
Few Petite utilities, used internally.
PetiteUtil() - Constructor for class jodd.petite.PetiteUtil
 
properties - Variable in class jodd.petite.BeanDefinition
 
property(String) - Method in class jodd.petite.PetiteRegistry.BeanWire
Wires beans property.
PropertyInjectionPoint - Class in jodd.petite
Property injection point.
propertyName - Variable in class jodd.petite.PetiteRegistry.BeanWire.BeanWireProperty
 
propertyResolver - Variable in class jodd.petite.PetiteResolvers
 
PropertyResolver - Class in jodd.petite.resolver
Resolves properties.
PropertyResolver(InjectionPointFactory) - Constructor for class jodd.petite.resolver.PropertyResolver
 
ProtoScope - Class in jodd.petite.scope
Prototype scope doesn't pool any beans, so each time bean is requested, a new instance will be created.
ProtoScope() - Constructor for class jodd.petite.scope.ProtoScope
 
provider(String) - Method in class jodd.petite.PetiteRegistry
Starts with provider definition.
ProviderDefinition - Class in jodd.petite
Bean provider definition.
ProviderDefinition(String, String, Method) - Constructor for class jodd.petite.ProviderDefinition
 
ProviderDefinition(String, Method) - Constructor for class jodd.petite.ProviderDefinition
 
providerName - Variable in class jodd.petite.PetiteRegistry.BeanProvider
 
providerResolver - Variable in class jodd.petite.PetiteResolvers
 
ProviderResolver - Class in jodd.petite.resolver
Provider resolver.
ProviderResolver() - Constructor for class jodd.petite.resolver.ProviderResolver
 
providers - Variable in class jodd.petite.PetiteBeans
Map of all providers.
proxetta - Variable in class jodd.petite.proxetta.ProxettaAwarePetiteContainer
 
ProxettaAwarePetiteContainer - Class in jodd.petite.proxetta
Proxetta-aware Petite container that applies proxies on bean registration.
ProxettaAwarePetiteContainer() - Constructor for class jodd.petite.proxetta.ProxettaAwarePetiteContainer
 
ProxettaAwarePetiteContainer(ProxyProxetta) - Constructor for class jodd.petite.proxetta.ProxettaAwarePetiteContainer
 
proxies - Variable in class jodd.petite.ScopedProxyManager
 
proxyClasses - Variable in class jodd.petite.ScopedProxyManager
 
put(String, Object) - Method in class jodd.petite.ParamManager
Adds a parameter.

R

ref(String...) - Method in class jodd.petite.PetiteRegistry.BeanWire.BeanWireCtor
Defines constructor references.
ref(String...) - Method in class jodd.petite.PetiteRegistry.BeanWire.BeanWireMethod
Defines method references.
ref(String) - Method in class jodd.petite.PetiteRegistry.BeanWire.BeanWireProperty
Defines property reference,
ref(String) - Method in class jodd.petite.PetiteRegistry.BeanWire.BeanWireSet
Defines set references.
reference - Variable in class jodd.petite.PetiteRegistry.BeanWire.BeanWireProperty
 
reference - Variable in class jodd.petite.PetiteRegistry.BeanWire.BeanWireSet
 
references - Variable in class jodd.petite.CtorInjectionPoint
 
references - Variable in class jodd.petite.MethodInjectionPoint
 
references - Variable in class jodd.petite.PetiteRegistry.BeanWire.BeanWireCtor
 
references - Variable in class jodd.petite.PetiteRegistry.BeanWire.BeanWireMethod
 
references - Variable in class jodd.petite.PropertyInjectionPoint
 
register() - Method in class jodd.petite.PetiteRegistry.BeanDestroy
Registers destroy methods.
register() - Method in class jodd.petite.PetiteRegistry.BeanInit
Registers init methods.
register() - Method in class jodd.petite.PetiteRegistry.BeanProvider
Registers provider.
register() - Method in class jodd.petite.PetiteRegistry.BeanRegister
Registers a bean.
register(BeanDefinition, Object) - Method in class jodd.petite.scope.ProtoScope
Does nothing, as bean instances are not stored.
register(BeanDefinition, Object) - Method in class jodd.petite.scope.RequestScope
 
register(BeanDefinition, Object) - Method in interface jodd.petite.scope.Scope
Registers the bean within the current scope.
register(BeanDefinition, Object) - Method in class jodd.petite.scope.SessionScope
 
register(BeanDefinition, Object) - Method in class jodd.petite.scope.SingletonScope
 
register(BeanDefinition, Object) - Method in class jodd.petite.scope.ThreadLocalScope
 
registerDestroyableBeans(BeanData) - Method in class jodd.petite.scope.ShutdownAwareScope
Checks if bean data is destroyable (has destroy methods) and registers it for later ShutdownAwareScope.shutdown().
registerPetiteBean(Class, String, Class<? extends Scope>, WiringMode, boolean) - Method in class jodd.petite.PetiteBeans
Registers or defines a bean.
registerPetiteBean(Class, String, Class<? extends Scope>, WiringMode, boolean) - Method in class jodd.petite.proxetta.ProxettaAwarePetiteContainer
Applies proxetta on bean class before bean registration.
registerPetiteCtorInjectionPoint(String, Class[], String[]) - Method in class jodd.petite.PetiteBeans
Registers constructor injection point.
registerPetiteDestroyMethods(String, String...) - Method in class jodd.petite.PetiteBeans
Registers destroy method.
registerPetiteInitMethods(String, InitMethodInvocationStrategy, String...) - Method in class jodd.petite.PetiteBeans
Registers init method.
registerPetiteMethodInjectionPoint(String, String, Class[], String[]) - Method in class jodd.petite.PetiteBeans
Registers method injection point.
registerPetitePropertyInjectionPoint(String, String, String) - Method in class jodd.petite.PetiteBeans
Registers property injection point.
registerPetiteProvider(String, String, String, Class[]) - Method in class jodd.petite.PetiteBeans
Registers instance method provider.
registerPetiteProvider(String, Class, String, Class[]) - Method in class jodd.petite.PetiteBeans
Registers static method provider.
registerPetiteSetInjectionPoint(String, String) - Method in class jodd.petite.PetiteBeans
Registers set injection point.
registerScope(Class<? extends Scope>, Scope) - Method in class jodd.petite.PetiteBeans
Registers new scope.
registerSessionBeans(HttpSession) - Method in class jodd.petite.scope.SessionScope
Registers new session destroy callback if not already registered.
remove(String) - Method in class jodd.petite.scope.ProtoScope
Does nothing.
remove(String) - Method in class jodd.petite.scope.RequestScope
 
remove(String) - Method in interface jodd.petite.scope.Scope
Removes the bean from the scope entirely.
remove(String) - Method in class jodd.petite.scope.SessionScope
 
remove(String) - Method in class jodd.petite.scope.SingletonScope
 
remove(String) - Method in class jodd.petite.scope.ThreadLocalScope
 
removeBean(Class) - Method in class jodd.petite.PetiteBeans
Removes all petite beans of provided type.
removeBean(String) - Method in class jodd.petite.PetiteBeans
Removes bean and returns definition of removed bean.
removeDuplicateNames(String[][]) - Method in class jodd.petite.InjectionPointFactory
 
removeDuplicateNames(String[]) - Method in class jodd.petite.InjectionPointFactory
Removes later duplicated references.
removeRequestMap(HttpServletRequest) - Method in class jodd.petite.scope.RequestScope
Removes instance map from the request.
RequestScope - Class in jodd.petite.scope
Request scope.
RequestScope() - Constructor for class jodd.petite.scope.RequestScope
 
resolve(String, boolean) - Method in class jodd.petite.ParamManager
Returns an array of param keys that belongs to provided bean.
resolve(Class, boolean) - Method in class jodd.petite.resolver.CtorResolver
Resolves constructor injection point from type.
resolve(Object) - Method in class jodd.petite.resolver.DestroyMethodResolver
 
resolve(Object) - Method in class jodd.petite.resolver.InitMethodResolver
 
resolve(Class) - Method in class jodd.petite.resolver.MethodResolver
 
resolve(Class, boolean) - Method in class jodd.petite.resolver.PropertyResolver
Resolves all fields for given type.
resolve(BeanDefinition) - Method in class jodd.petite.resolver.ProviderResolver
Resolves all providers in the class
resolve(Class, boolean) - Method in class jodd.petite.resolver.SetResolver
Resolves all collections for given type.
resolveBeanName(Class) - Method in class jodd.petite.PetiteBeans
Resolves bean's name from bean annotation or type name.
resolveBeanName(Class, boolean) - Static method in class jodd.petite.PetiteUtil
Resolves bean's name from bean annotation or type name.
resolveBeanNamesForType(Class) - Method in class jodd.petite.PetiteBeans
Resolves bean names for give type.
resolveBeanParams(String, boolean) - Method in class jodd.petite.PetiteBeans
Prepares list of all bean parameters and optionally resolves inner references.
resolveBeanScopeType(Class) - Static method in class jodd.petite.PetiteUtil
Resolves bean's scope type from the annotation.
resolveBeanWiringMode(Class) - Static method in class jodd.petite.PetiteUtil
Resolves bean's auto-wire flag from the annotation.
resolveCtorInjectionPoint(Class) - Method in class jodd.petite.PetiteResolvers
Resolves constructor injection point.
resolveDestroyMethodPoint(Object) - Method in class jodd.petite.PetiteResolvers
Resolves destroy method points.
resolveInitMethodPoint(Object) - Method in class jodd.petite.PetiteResolvers
Resolves init method points.
resolveMethodInjectionPoint(Class) - Method in class jodd.petite.PetiteResolvers
Resolves method injection points.
resolvePropertyInjectionPoint(Class, boolean) - Method in class jodd.petite.PetiteResolvers
Resolves property injection points.
resolveProviderDefinitions(BeanDefinition) - Method in class jodd.petite.PetiteResolvers
Resolves provider definition defined in a bean.
resolveReferenceParameters - Variable in class jodd.petite.PetiteConfig
 
resolveScope(Class<S>) - Method in class jodd.petite.PetiteBeans
Resolves and registers scope from a scope type.
resolveSetInjectionPoint(Class, boolean) - Method in class jodd.petite.PetiteResolvers
Resolves set injection points.
resolveSetType(Field) - Method in class jodd.petite.SetInjectionPoint
 
resolveWiringMode(WiringMode) - Method in class jodd.petite.PetiteConfig
Resolves wiring mode by checking if default and null values.

S

scope - Variable in class jodd.petite.BeanDefinition
 
scope(Class<? extends Scope>) - Method in class jodd.petite.PetiteRegistry.BeanRegister
Defines beans scope.
Scope - Interface in jodd.petite.scope
Petite container bean scope.
ScopedProxyAdvice - Class in jodd.petite
Scoped proxy advice.
ScopedProxyAdvice() - Constructor for class jodd.petite.ScopedProxyAdvice
 
scopedProxyManager - Variable in class jodd.petite.PetiteContainer
 
ScopedProxyManager - Class in jodd.petite
Manager for mixing scopes.
ScopedProxyManager() - Constructor for class jodd.petite.ScopedProxyManager
 
scopeLookup() - Method in class jodd.petite.BeanDefinition
Delegates to Scope.lookup(String).
scopeRegister(Object) - Method in class jodd.petite.BeanDefinition
scopeRemove() - Method in class jodd.petite.BeanDefinition
Delegates to Scope.remove(String).
scopes - Variable in class jodd.petite.PetiteBeans
Map of all bean scopes.
scopeType - Variable in class jodd.petite.PetiteRegistry.BeanRegister
 
SESSION_BEANS_NAME - Static variable in class jodd.petite.scope.SessionScope
 
SessionScope - Class in jodd.petite.scope
Session scope stores unique object instances per single http session.
SessionScope() - Constructor for class jodd.petite.scope.SessionScope
 
SessionScope.SessionBeans - Class in jodd.petite.scope
Session beans holder and manager.
SessionScope.SessionBeans() - Constructor for class jodd.petite.scope.SessionScope.SessionBeans
 
set(String) - Method in class jodd.petite.PetiteRegistry.BeanWire
Wires beans set.
setBeanProperty(String, Object) - Method in class jodd.petite.PetiteContainer
Sets petite bean property.
setDefaultWiringMode(WiringMode) - Method in class jodd.petite.PetiteConfig
Specifies default wiring mode.
setDetectDuplicatedBeanNames(boolean) - Method in class jodd.petite.PetiteConfig
Specifies if an exception should be thrown if two beans with same exception are registered with this container.
setDetectMixedScopes(boolean) - Method in class jodd.petite.PetiteConfig
Defines if mixed scopes should be detected as errors.
SetInjectionPoint<T> - Class in jodd.petite
Set injection point.
SetInjectionPoint(Field) - Constructor for class jodd.petite.SetInjectionPoint
 
setLookupReferences(PetiteReference...) - Method in class jodd.petite.PetiteConfig
Specifies references for bean name lookup, when name is not specified, in given order.
setPropertyName - Variable in class jodd.petite.PetiteRegistry.BeanWire.BeanWireSet
 
setResolver - Variable in class jodd.petite.PetiteResolvers
 
SetResolver - Class in jodd.petite.resolver
Resolves collection fields.
SetResolver(InjectionPointFactory) - Constructor for class jodd.petite.resolver.SetResolver
 
setResolveReferenceParameters(boolean) - Method in class jodd.petite.PetiteConfig
Defines if reference parameters should be resolved.
sets - Variable in class jodd.petite.BeanDefinition
 
setUseFullTypeNames(boolean) - Method in class jodd.petite.PetiteConfig
Specifies if type names should be full or short.
setUseParamo(boolean) - Method in class jodd.petite.PetiteConfig
Specifies if Paramo tool should be used to resolve method and ctor argument names.
setWireScopedProxy(boolean) - Method in class jodd.petite.PetiteConfig
Defines if scoped proxies should be wired.
shutdown() - Method in class jodd.petite.PetiteContainer
Shutdowns container.
shutdown() - Method in class jodd.petite.scope.ProtoScope
Does nothing.
shutdown() - Method in class jodd.petite.scope.RequestScope
 
shutdown() - Method in interface jodd.petite.scope.Scope
Shutdowns the scope by removing all beans and calling destroy methods.
shutdown() - Method in class jodd.petite.scope.SessionScope
Shutdowns the Session scope.
shutdown() - Method in class jodd.petite.scope.ShutdownAwareScope
Shutdowns the scope and calls all collected destroyable beans.
shutdown() - Method in class jodd.petite.scope.SingletonScope
Iterate all beans and invokes registered destroy methods.
shutdown() - Method in class jodd.petite.scope.ThreadLocalScope
 
ShutdownAwareScope - Class in jodd.petite.scope
Base Scope class for scopes that collect destroyable beans and implement shutdown routine.
ShutdownAwareScope() - Constructor for class jodd.petite.scope.ShutdownAwareScope
 
SingletonScope - Class in jodd.petite.scope
Singleton scope pools all bean instances so they will be created only once in the container context.
SingletonScope() - Constructor for class jodd.petite.scope.SingletonScope
 
strategy - Variable in class jodd.petite.PetiteRegistry.BeanInit
 

T

targetClass - Variable in class jodd.petite.SetInjectionPoint
 
ThreadLocalScope - Class in jodd.petite.scope
Thread local Petite bean scope.
ThreadLocalScope() - Constructor for class jodd.petite.scope.ThreadLocalScope
 
toString() - Method in class jodd.petite.BeanDefinition
 
toString() - Method in enum jodd.petite.WiringMode
 
totalRegisteredDestroyableBeans() - Method in class jodd.petite.scope.ShutdownAwareScope
Returns number of destroyable beans that have been registered.
type - Variable in class jodd.petite.BeanDefinition
 
type - Variable in class jodd.petite.PetiteRegistry.BeanProvider
 
type(Class) - Method in class jodd.petite.PetiteRegistry.BeanProvider
Defines bean type.
type - Variable in class jodd.petite.SetInjectionPoint
 

U

useFullTypeNames - Variable in class jodd.petite.PetiteConfig
 
useParamo - Variable in class jodd.petite.PetiteConfig
 

V

value() - Method in enum jodd.petite.WiringMode
 
valueBound(HttpSessionBindingEvent) - Method in class jodd.petite.scope.SessionScope.SessionBeans
 
valueOf(String) - Static method in enum jodd.petite.meta.InitMethodInvocationStrategy
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum jodd.petite.PetiteReference
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum jodd.petite.WiringMode
Returns the enum constant of this type with the specified name.
values() - Static method in enum jodd.petite.meta.InitMethodInvocationStrategy
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum jodd.petite.PetiteReference
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum jodd.petite.WiringMode
Returns an array containing the constants of this enum type, in the order they are declared.
valueUnbound(HttpSessionBindingEvent) - Method in class jodd.petite.scope.SessionScope.SessionBeans
Session is destroyed.

W

wire(Object) - Method in class jodd.petite.PetiteContainer
Wires provided bean with the container using default wiring mode.
wire(Object, WiringMode) - Method in class jodd.petite.PetiteContainer
Wires provided bean with the container and optionally invokes init methods.
wire(WiringMode) - Method in class jodd.petite.PetiteRegistry.BeanRegister
Defines beans wire mode.
wire(String) - Method in class jodd.petite.PetiteRegistry
Starts with defining injection points (i.e. wiring) for existing bean.
wireBean(Object, BeanDefinition, Map<String, Object>) - Method in class jodd.petite.PetiteContainer
Wires beans.
wireBeanInjectParamsAndInvokeInitMethods(BeanDefinition, Object, Map<String, Object>) - Method in class jodd.petite.PetiteContainer
Wires bean, injects parameters and invokes init methods.
wireFields(Object, BeanDefinition, Map<String, Object>) - Method in class jodd.petite.PetiteContainer
Wires fields.
wireMethods(Object, BeanDefinition, Map<String, Object>) - Method in class jodd.petite.PetiteContainer
Wires methods.
wireScopedProxy - Variable in class jodd.petite.PetiteConfig
 
wiringMode - Variable in class jodd.petite.BeanDefinition
 
wiringMode - Variable in class jodd.petite.PetiteRegistry.BeanRegister
 
WiringMode - Enum in jodd.petite
Different wiring modes.
A B C D E F G I J L M N O P R S T U V W 

Copyright © 2003-2013 Jodd Team