- 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.
- AnnotationResolver - Class in jodd.petite
-
- AnnotationResolver() - Constructor for class jodd.petite.AnnotationResolver
-
- annotationResolver - Variable in class jodd.petite.PetiteBeans
-
- 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
-
Auto-magically configures Petite container by analyzing the classpath.
- AutomagicPetiteConfigurator(PetiteContainer) - Constructor for class jodd.petite.AutomagicPetiteConfigurator
-
- readAllReferencesFromAnnotation(Executable) - Method in class jodd.petite.resolver.ReferencesResolver
-
Extracts references from method or constructor annotation.
- readReferenceFromAnnotation(PropertyDescriptor) - Method in class jodd.petite.resolver.ReferencesResolver
-
Extracts references for given property.
- 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.def.CtorInjectionPoint
-
- references - Variable in class jodd.petite.def.MethodInjectionPoint
-
- references - Variable in class jodd.petite.def.PropertyInjectionPoint
-
- references - Variable in class jodd.petite.PetiteRegistry.BeanWire.BeanWireCtor
-
- references - Variable in class jodd.petite.PetiteRegistry.BeanWire.BeanWireMethod
-
- referencesResolver - Variable in class jodd.petite.PetiteBeans
-
- referencesResolver - Variable in class jodd.petite.PetiteResolvers
-
- referencesResolver - Variable in class jodd.petite.resolver.CtorResolver
-
- referencesResolver - Variable in class jodd.petite.resolver.MethodResolver
-
- referencesResolver - Variable in class jodd.petite.resolver.PropertyResolver
-
- ReferencesResolver - Class in jodd.petite.resolver
-
Annotation reader for methods and constructors.
- ReferencesResolver(PetiteConfig) - Constructor for class jodd.petite.resolver.ReferencesResolver
-
- 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
-
- registerAsConsumer(ClassScanner) - Method in class jodd.petite.AutomagicPetiteConfigurator
-
Registers a class consumer that registers only those annotated with
PetiteBean.
- registerBean(String, BeanDefinition) - Method in class jodd.petite.PetiteBeans
-
Registers bean definition by putting it in the beans map.
- registerBeanAndWireAndInjectParamsAndInvokeInitMethods(BeanData) - Method in class jodd.petite.PetiteContainer
-
Wires bean, injects parameters and invokes init methods.
- registerDestroyableBeans(BeanData) - Method in class jodd.petite.scope.ShutdownAwareScope
-
- registerPetiteBean(Class) - Method in class jodd.petite.PetiteBeans
-
Registers a bean using provided class that is annotated.
- registerPetiteBean(Class<T>, Consumer<T>) - Method in class jodd.petite.PetiteBeans
-
Registers a bean using provided class that is annotated.
- registerPetiteBean(Class<T>, String, Class<? extends Scope>, WiringMode, boolean, Consumer<T>) - Method in class jodd.petite.PetiteBeans
-
Registers or defines a bean.
- 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() - Method in class jodd.petite.def.BeanReferences
-
Removes later duplicated references in an array.
- removeRequestMap(HttpServletRequest) - Method in class jodd.petite.scope.RequestScope
-
Removes instance map from the request.
- RequestScope - Class in jodd.petite.scope
-
Request scope.
- RequestScope(PetiteContainer) - Constructor for class jodd.petite.scope.RequestScope
-
- resolve(Class, boolean) - Method in class jodd.petite.resolver.CtorResolver
-
Resolves constructor injection point from type.
- resolve(Class<?>) - Method in class jodd.petite.resolver.DestroyMethodResolver
-
- resolve(Class<?>) - Method in class jodd.petite.resolver.InitMethodResolver
-
- resolve(Class) - Method in class jodd.petite.resolver.MethodResolver
-
Resolve method injection points in given class.
- resolve(Class, boolean) - Method in class jodd.petite.resolver.PropertyResolver
-
Resolves all properties for given type.
- resolve(Class, String) - 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, boolean) - Method in class jodd.petite.AnnotationResolver
-
Resolves bean's name from bean annotation or type name.
- resolveBeanName(Class) - Method in class jodd.petite.PetiteBeans
-
Resolves bean's name from bean annotation or type name.
- resolveBeanNamesForType(Class) - Method in class jodd.petite.PetiteBeans
-
Resolves bean names for give type.
- resolveBeanScopeType(Class) - Method in class jodd.petite.AnnotationResolver
-
Resolves bean's scope type from the annotation.
- resolveBeanWiringMode(Class) - Method in class jodd.petite.AnnotationResolver
-
Resolves bean's auto-wire flag from the annotation.
- resolveCtorInjectionPoint(Class) - Method in class jodd.petite.PetiteResolvers
-
Resolves constructor injection point.
- resolveDestroyMethodPoint(Class) - Method in class jodd.petite.PetiteResolvers
-
Resolves destroy method points.
- resolveInitMethodPoint(Class) - Method in class jodd.petite.PetiteResolvers
-
Resolves init method points.
- resolveMethodInjectionPoint(Class) - Method in class jodd.petite.PetiteResolvers
-
Resolves method injection points.
- resolveParamInjectionPoints(Class) - Method in class jodd.petite.ParamManager
-
- resolvePropertyInjectionPoint(Class, boolean) - Method in class jodd.petite.PetiteResolvers
-
Resolves property injection points.
- resolveProviderDefinitions(Class, String) - Method in class jodd.petite.PetiteResolvers
-
Resolves provider definition defined in a bean.
- resolveReferenceFromValue(PropertyDescriptor, String) - Method in class jodd.petite.resolver.ReferencesResolver
-
Resolves reference from given values.
- resolveReferenceFromValues(Executable, String...) - Method in class jodd.petite.resolver.ReferencesResolver
-
Takes given parameters references and returns reference set for given method or constructor.
- 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(PropertyDescriptor) - Method in class jodd.petite.def.SetInjectionPoint
-
- resolveWiringMode(WiringMode) - Method in class jodd.petite.PetiteConfig
-
Resolves wiring mode by checking if default and null values.
- scope - Variable in class jodd.petite.BeanDefinition
-
- scope() - Method in class jodd.petite.BeanDefinition
-
Returns beans scope type.
- 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
-
- scopeRegister() - Method in class jodd.petite.BeanData
-
Registers scope.
- scopeRegister(Object) - Method in class jodd.petite.BeanDefinition
-
- scopeRemove() - Method in class jodd.petite.BeanDefinition
-
- scopes - Variable in class jodd.petite.PetiteBeans
-
Map of all bean scopes.
- scopesCount() - Method in class jodd.petite.PetiteBeans
-
Returns total number of used scopes.
- SESSION_BEANS_NAME - Static variable in class jodd.petite.scope.SessionScope
-
- SessionBeans() - Constructor for class jodd.petite.scope.SessionScope.SessionBeans
-
- SessionScope - Class in jodd.petite.scope
-
Session scope stores unique object instances per single http session.
- SessionScope(PetiteContainer) - Constructor for class jodd.petite.scope.SessionScope
-
- SessionScope.SessionBeans - Class in jodd.petite.scope
-
Session beans holder and manager.
- 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.
- setExternalsCache(TypeCache<BeanDefinition>) - Method in class jodd.petite.PetiteBeans
-
Sets the type of cache used for storing the configurations for external types that
are not part of the container.
- setImplicitParamInjection(boolean) - Method in class jodd.petite.PetiteConfig
-
Enables implicit parameter injection.
- SetInjectionPoint<T> - Class in jodd.petite.def
-
Set injection point.
- SetInjectionPoint(PropertyDescriptor) - Constructor for class jodd.petite.def.SetInjectionPoint
-
- setLookupReferences(PetiteReferenceType...) - 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() - 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
-
- setterInjectionPoints() - Method in class jodd.petite.BeanDefinition
-
Returns set injection points.
- setUseAltBeanNames(boolean) - Method in class jodd.petite.PetiteConfig
-
Enables alternative bean names.
- 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(PetiteContainer) - Constructor for class jodd.petite.scope.SingletonScope
-
- size() - Method in class jodd.petite.def.BeanReferences
-
Returns the number of name references in this set.
- strategy - Variable in class jodd.petite.PetiteRegistry.BeanInit
-