A B C D E F G I J L M N O P R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- accept(Scope) - Method in class jodd.petite.scope.ProtoScope
-
Allows all scopes to be injected into prototype scoped beans.
- accept(Scope) - Method in interface jodd.petite.scope.Scope
-
Returns
trueif a bean of referenced scope can be injected into target bean of this scope. - 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() - Method in class jodd.petite.PetiteContainer
-
Adds self instance to the container so internal beans may fetch container for further usage.
- addSelf(String) - 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 - Variable in class jodd.petite.PetiteBeans
- AnnotationResolver - Class in jodd.petite
- AnnotationResolver() - Constructor for class jodd.petite.AnnotationResolver
- 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
- AutomagicPetiteConfigurator - Class in jodd.petite
-
Auto-magically configures Petite container by analyzing the classpath.
- AutomagicPetiteConfigurator(PetiteContainer) - Constructor for class jodd.petite.AutomagicPetiteConfigurator
- AUTOWIRE - jodd.petite.WiringMode
-
Auto-wires beans.
B
- bean() - Method in class jodd.petite.BeanData
-
Returns Petite bean instance.
- 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<T> - Class in jodd.petite
-
Petite bean is defined by
bean definitionand it's bean instance. - BeanData(PetiteContainer, BeanDefinition<T>) - Constructor for class jodd.petite.BeanData
- BeanData(PetiteContainer, BeanDefinition<T>, T) - Constructor for class jodd.petite.BeanData
- BeanDefinition<T> - Class in jodd.petite
-
Petite bean definition and cache.
- BeanDefinition(String, Class<T>, Scope, WiringMode, Consumer<T>) - Constructor for class jodd.petite.BeanDefinition
- beanHasAnnotationName(Class) - Method in class jodd.petite.AnnotationResolver
-
Returns
trueif bean has name defined by Petite annotation. - beanName - Variable in class jodd.petite.def.ProviderDefinition
- 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.BeanWire
- beanNames() - Method in class jodd.petite.PetiteBeans
-
Returns set of all bean names.
- BeanReferences - Class in jodd.petite.def
-
Set of names that represent bean reference for the single injection point.
- beans - Variable in class jodd.petite.PetiteBeans
-
Map of all beans definitions.
- beansAlt - Variable in class jodd.petite.PetiteBeans
-
Map of alternative beans names.
- beansCount() - Method in class jodd.petite.PetiteBeans
-
Returns total number of registered beans.
- 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.
- buildDefaultReference(PropertyDescriptor) - Method in class jodd.petite.resolver.ReferencesResolver
-
Builds default field references.
C
- callDestroyMethods() - Method in class jodd.petite.BeanData
-
Calls destroy methods on given BeanData.
- compareTo(Object) - Method in class jodd.petite.def.InitMethodPoint
- config() - Method in class jodd.petite.PetiteBeans
-
Returns
Petite configuration. - configure() - Method in class jodd.petite.AutomagicPetiteConfigurator
-
Configures
PetiteContainerwith specified class path. - constructor - Variable in class jodd.petite.def.CtorInjectionPoint
- consumer - Variable in class jodd.petite.BeanDefinition
- consumer() - Method in class jodd.petite.BeanDefinition
-
Returns an optional consumer.
- context - Static variable in class jodd.petite.scope.ThreadLocalScope
- contextTemplateParser - Variable in class jodd.petite.ParamManager
- 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.
- createBeandDefinitionForExternalBeans(Class<T>, WiringMode) - Method in class jodd.petite.PetiteBeans
-
Creates
BeanDefinitionfor all external beans. - createBeanDefinitionForRegistration(String, Class<T>, Scope, WiringMode, Consumer<T>) - Method in class jodd.petite.PetiteBeans
-
Creates
BeanDefinitiononbean registration. - createBeanDefinitionForRegistration(String, Class<T>, Scope, WiringMode, Consumer<T>) - Method in class jodd.petite.proxetta.ProxettaAwarePetiteContainer
-
Applies proxetta on bean class before bean registration.
- createContainerRegistry() - Method in class jodd.petite.PetiteContainer
-
Creates
PetiteRegistryhelper tool for this container. - createMixingMessage(BeanDefinition, BeanDefinition) - Method in class jodd.petite.ScopedProxyManager
-
Creates mixed scope message.
- createScopedProxyBean(PetiteContainer, BeanDefinition) - Method in class jodd.petite.ScopedProxyManager
-
Creates scoped proxy bean for given bean definition.
- createSet(int) - Method in class jodd.petite.def.SetInjectionPoint
-
Creates target set for injection.
- 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() - Method in class jodd.petite.BeanDefinition
-
Returns constructor injection point.
- CtorInjectionPoint - Class in jodd.petite.def
-
Holder for constructor injection points.
- CtorInjectionPoint(Constructor, BeanReferences[]) - Constructor for class jodd.petite.def.CtorInjectionPoint
- ctorResolver - Variable in class jodd.petite.PetiteResolvers
- CtorResolver - Class in jodd.petite.resolver
-
Resolver for constructor injection points.
- CtorResolver(ReferencesResolver) - Constructor for class jodd.petite.resolver.CtorResolver
D
- DEFAULT - jodd.petite.WiringMode
-
Default wiring mode is set by the container.
- DEFAULT - Static variable in enum jodd.petite.PetiteReferenceType
-
Default array of reference types.
- defaultWiringMode - Variable in class jodd.petite.PetiteConfig
- 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. - definition() - Method in class jodd.petite.BeanData
-
Returns
BeanDefinition. - 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.def
-
Destroy method point.
- DestroyMethodPoint(Method) - Constructor for class jodd.petite.def.DestroyMethodPoint
- destroyMethodPoints() - Method in class jodd.petite.BeanDefinition
-
Returns destroy method points.
- 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
- EMPTY - Static variable in class jodd.petite.def.CtorInjectionPoint
- EMPTY - Static variable in class jodd.petite.def.DestroyMethodPoint
- EMPTY - Static variable in class jodd.petite.def.InitMethodPoint
- EMPTY - Static variable in class jodd.petite.def.MethodInjectionPoint
- EMPTY - Static variable in class jodd.petite.def.PropertyInjectionPoint
- EMPTY - Static variable in class jodd.petite.def.ProviderDefinition
- EMPTY - Static variable in class jodd.petite.def.SetInjectionPoint
- execute() - Method in class jodd.petite.ScopedProxyAdvice
- externalsCache - Variable in class jodd.petite.PetiteBeans
-
Cache used for storing the internals about the external types that are not registered withing the container.
F
- filterParametersForBeanName(String, boolean) - Method in class jodd.petite.ParamManager
-
Returns an array of param keys that belongs to provided bean.
- forEachBean(Consumer<BeanDefinition>) - Method in class jodd.petite.PetiteBeans
-
Iterates all beans.
- forEachBeanType(Class, Consumer<String>) - Method in class jodd.petite.PetiteBeans
-
Iterates all beans that are of given type.
G
- get(String) - Method in class jodd.petite.ParamManager
-
Returns parameter for given name or
nullif not found. - 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(BeanReferences) - Method in class jodd.petite.PetiteContainer
-
Returns Petite bean instance named as one of the provided names.
- getBeanProperty(String) - Method in class jodd.petite.PetiteContainer
-
Returns petite bean property value.
- getDefaultWiringMode() - Method in class jodd.petite.PetiteConfig
-
Returns default wiring mode.
- getDetectDuplicatedBeanNames() - Method in class jodd.petite.PetiteConfig
-
Returns
trueif container detects duplicated bean names. - getLookupReferences() - Method in class jodd.petite.PetiteConfig
- getParameter(String) - Method in class jodd.petite.PetiteBeans
-
Returns defined parameter.
- getResolveReferenceParameters() - Method in class jodd.petite.PetiteConfig
-
Returns
trueif parameter references should be resolved. - getUseFullTypeNames() - Method in class jodd.petite.PetiteConfig
- getUseParamo() - Method in class jodd.petite.PetiteConfig
I
- implicitParamInjection - Variable in class jodd.petite.PetiteConfig
- init(String) - Method in class jodd.petite.PetiteRegistry
-
Starts registration of init method.
- initBeanDefinition(BeanDefinition) - Method in class jodd.petite.PetiteContainer
-
Resolves and initializes bean definition.
- InitMethodInvocationStrategy - Enum in jodd.petite.meta
-
Invocation strategy for init methods define moment when init methods are invoked.
- InitMethodPoint - Class in jodd.petite.def
-
Init method point.
- InitMethodPoint(Method, int, InitMethodInvocationStrategy) - Constructor for class jodd.petite.def.InitMethodPoint
- initMethodPoints() - Method in class jodd.petite.BeanDefinition
-
Returns init method points.
- 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
- injectParams(ParamManager, boolean) - Method in class jodd.petite.BeanData
-
Injects all parameters.
- instances - Variable in class jodd.petite.scope.SingletonScope
- invocationStrategy - Variable in class jodd.petite.def.InitMethodPoint
- invoke() - Method in annotation type jodd.petite.meta.PetiteInitMethod
-
Defines init method invocation strategy, i.e.
- invoke(InitMethodInvocationStrategy) - Method in class jodd.petite.PetiteRegistry.BeanInit
-
Defines init method invocation strategy,
- invokeConsumerIfRegistered() - Method in class jodd.petite.BeanData
- invokeInitMethods(InitMethodInvocationStrategy) - Method in class jodd.petite.BeanData
-
Invokes init methods.
- invokeMethod(Object, Method) - Method in class jodd.petite.PetiteContainer
-
Invokes the method of some bean with the container, when its parameters requires to be injected into.
- invokeMethodInjectionPoint(MethodInjectionPoint) - Method in class jodd.petite.BeanData
- invokeProvider(ProviderDefinition) - Method in class jodd.petite.PetiteContainer
-
Invokes provider to get a bean.
- isBeanDestroyable(BeanData) - Method in class jodd.petite.scope.ShutdownAwareScope
-
Returns
trueif bean is destroyable. - isBeanNameRegistered(String) - Method in class jodd.petite.PetiteBeans
-
Returns
trueif bean name is registered. - isDetectMixedScopes() - Method in class jodd.petite.PetiteConfig
- isEmpty() - Method in class jodd.petite.def.BeanReferences
-
Returns true if BeanReferences is empty.
- isImplicitParamInjection() - Method in class jodd.petite.PetiteConfig
-
Returns
trueif implicit parameter injection is enabled. - isUseAltBeanNames() - Method in class jodd.petite.PetiteConfig
-
Returns if alternative bean names are in use.
- isWireScopedProxy() - Method in class jodd.petite.PetiteConfig
J
- jodd.petite - package jodd.petite
-
Petite container.
- jodd.petite.def - package jodd.petite.def
-
Bean definition classes.
- 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.
L
- lookup(String) - Method in class jodd.petite.scope.ProtoScope
-
Returns
nullas no bean instance is stored. - lookup(String) - Method in interface jodd.petite.scope.Scope
-
Lookups for bean name.
- 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(BeanReferences) - 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. - lookupMixingScopedBean(BeanDefinition, BeanReferences) - Method in class jodd.petite.PetiteContainer
- 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.def.DestroyMethodPoint
- method - Variable in class jodd.petite.def.InitMethodPoint
- method - Variable in class jodd.petite.def.MethodInjectionPoint
- method - Variable in class jodd.petite.def.ProviderDefinition
- 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.
- methodArgsTypes - Variable in class jodd.petite.PetiteRegistry.BeanProvider
- methodArgumentTypes - Variable in class jodd.petite.PetiteRegistry.BeanWire.BeanWireMethod
- MethodInjectionPoint - Class in jodd.petite.def
-
Method injection points.
- MethodInjectionPoint(Method, BeanReferences[]) - Constructor for class jodd.petite.def.MethodInjectionPoint
- methodInjectionPoints() - Method in class jodd.petite.BeanDefinition
-
Returns method injection points.
- methodName - Variable in class jodd.petite.PetiteRegistry.BeanProvider
- methodName - Variable in class jodd.petite.PetiteRegistry.BeanWire.BeanWireMethod
- methodResolver - Variable in class jodd.petite.PetiteResolvers
- MethodResolver - Class in jodd.petite.resolver
-
Methods injection points resolver.
- MethodResolver(ReferencesResolver) - Constructor for class jodd.petite.resolver.MethodResolver
- methods - Variable in class jodd.petite.BeanDefinition
- methods - Variable in class jodd.petite.PetiteRegistry.BeanDestroy
- methods - Variable in class jodd.petite.PetiteRegistry.BeanInit
- methods(String...) - Method in class jodd.petite.PetiteRegistry.BeanDestroy
-
Defines destroy methods.
- methods(String...) - Method in class jodd.petite.PetiteRegistry.BeanInit
-
Defines init methods.
N
- name - Variable in class jodd.petite.BeanDefinition
- name - Variable in class jodd.petite.def.ProviderDefinition
- name - Variable in class jodd.petite.ScopedProxyAdvice
-
Bean name for lookup.
- name() - Method in class jodd.petite.BeanDefinition
-
Returns bean name.
- name(int) - Method in class jodd.petite.def.BeanReferences
-
Returns the name on the index.
- name(String) - Method in class jodd.petite.PetiteRegistry.BeanRegister
-
Defines bean name.
- NAME - jodd.petite.PetiteReferenceType
-
Field or argument name is used as bean name.
- newBeanInstance() - Method in class jodd.petite.BeanData
-
Creates a new instance.
- NONE - jodd.petite.WiringMode
-
No wiring at all.
O
- of(String...) - Static method in class jodd.petite.def.BeanReferences
-
Creates new bean reference.
- of(PetiteContainer) - Static method in class jodd.petite.PetiteRegistry
-
Starts with fluent registration.
- OPTIONAL - jodd.petite.WiringMode
-
Explicit and loose wiring.
- order - Variable in class jodd.petite.def.InitMethodPoint
- order() - Method in annotation type jodd.petite.meta.PetiteInitMethod
-
Indicates the order of init method.
- originalTarget - Variable in class jodd.petite.proxetta.ProxettaBeanDefinition
P
- paramManager - Variable in class jodd.petite.PetiteBeans
- paramManager() - Method in class jodd.petite.PetiteBeans
-
Returns parameter manager.
- ParamManager - Class in jodd.petite
-
Parameters storage and resolver.
- ParamManager() - Constructor for class jodd.petite.ParamManager
- params - Variable in class jodd.petite.BeanDefinition
- params - Variable in class jodd.petite.ParamManager
- params() - Method in class jodd.petite.BeanDefinition
-
Returns parameters.
- parseKeyTemplate(String) - Method in class jodd.petite.ParamManager
- 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 markups the Petite components.
- PetiteBeans - Class in jodd.petite
-
Base layer of
Petite Container. - PetiteBeans(PetiteConfig) - Constructor for class jodd.petite.PetiteBeans
- petiteConfig - Variable in class jodd.petite.PetiteBeans
- PetiteConfig - Class in jodd.petite
-
Petite configuration.
- PetiteConfig() - Constructor for class jodd.petite.PetiteConfig
- petiteContainer - Variable in class jodd.petite.ScopedProxyAdvice
-
Petite container.
- petiteContainer() - Method in class jodd.petite.PetiteRegistry
-
Returns
PetiteContainer. - 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. - PetiteDestroyMethod - Annotation Type in jodd.petite.meta
-
Markups the Petite bean destroy method.
- PetiteException - Exception in jodd.petite
-
Petite exception.
- PetiteException(String) - Constructor for exception jodd.petite.PetiteException
- PetiteException(String, Throwable) - Constructor for exception jodd.petite.PetiteException
- PetiteException(Throwable) - Constructor for exception jodd.petite.PetiteException
- PetiteInitMethod - Annotation Type in jodd.petite.meta
-
Markups the Petite bean initialization 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.
- PetiteReferenceType - Enum in jodd.petite
-
Petite injectionreferences. - 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<T> - 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(ReferencesResolver) - Constructor for class jodd.petite.PetiteResolvers
- PetiteValue - Annotation Type in jodd.petite.meta
-
Petite parameter value.
- POST_CONSTRUCT - jodd.petite.meta.InitMethodInvocationStrategy
-
Init methods are invoked right after class is created, i.e.
- POST_DEFINE - jodd.petite.meta.InitMethodInvocationStrategy
-
Init methods are invoked after the wiring and before parameters are injected.
- POST_INITIALIZE - jodd.petite.meta.InitMethodInvocationStrategy
-
Init methods are invoked after bean is completely initialized, i.e.
- properties - Variable in class jodd.petite.BeanDefinition
- property - Variable in class jodd.petite.def.ValueInjectionPoint
- property(String) - Method in class jodd.petite.PetiteRegistry.BeanWire
-
Wires beans property.
- propertyDescriptor - Variable in class jodd.petite.def.PropertyInjectionPoint
- propertyDescriptor - Variable in class jodd.petite.def.SetInjectionPoint
- PropertyInjectionPoint - Class in jodd.petite.def
-
Property injection point.
- PropertyInjectionPoint(PropertyDescriptor, BeanReferences) - Constructor for class jodd.petite.def.PropertyInjectionPoint
- propertyInjectionPoints() - Method in class jodd.petite.BeanDefinition
-
Returns property injection points.
- 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(ReferencesResolver) - 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.def
-
Bean provider definition.
- ProviderDefinition(String, Method) - Constructor for class jodd.petite.def.ProviderDefinition
- ProviderDefinition(String, String, Method) - Constructor for class jodd.petite.def.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(Proxetta<?, ProxyAspect>) - Constructor for class jodd.petite.proxetta.ProxettaAwarePetiteContainer
- ProxettaAwarePetiteContainer(Proxetta<?, ProxyAspect>, PetiteConfig) - Constructor for class jodd.petite.proxetta.ProxettaAwarePetiteContainer
- ProxettaBeanDefinition<T> - Class in jodd.petite.proxetta
-
Enhanced version of
BeanDefinitionthat keeps data about original target class and applied proxy aspects. - ProxettaBeanDefinition(String, Class<T>, Scope, WiringMode, Class, ProxyAspect[], Consumer<T>) - Constructor for class jodd.petite.proxetta.ProxettaBeanDefinition
- proxies - Variable in class jodd.petite.ScopedProxyManager
- proxyAspects - Variable in class jodd.petite.proxetta.ProxettaBeanDefinition
- proxyClasses - Variable in class jodd.petite.ScopedProxyManager
- put(String, Object) - Method in class jodd.petite.ParamManager
-
Adds a parameter.
R
- readAllReferencesFromAnnotation(Executable) - Method in class jodd.petite.resolver.ReferencesResolver
-
Extracts references from method or constructor annotation.
- readReferenceFromAnnotation(FieldDescriptor) - Method in class jodd.petite.resolver.ReferencesResolver
- readReferenceFromAnnotation(PropertyDescriptor) - Method in class jodd.petite.resolver.ReferencesResolver
-
Extracts references for given property.
- 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.
- 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.
- 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 interface jodd.petite.scope.Scope
-
Registers the bean within the current scope.
- register(BeanDefinition, Object) - Method in class jodd.petite.scope.SingletonScope
- register(BeanDefinition, Object) - Method in class jodd.petite.scope.ThreadLocalScope
- 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
-
Checks if bean data is destroyable (has destroy methods) and registers it for later
ShutdownAwareScope.shutdown(). - registerPetiteBean(Class) - 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.
- registerPetiteBean(Class<T>, Consumer<T>) - Method in class jodd.petite.PetiteBeans
-
Registers a bean using provided class that is annotated.
- 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, Class, String, Class[]) - Method in class jodd.petite.PetiteBeans
-
Registers static method provider.
- registerPetiteProvider(String, String, String, Class[]) - Method in class jodd.petite.PetiteBeans
-
Registers instance 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.
- remove(String) - Method in class jodd.petite.scope.ProtoScope
-
Does nothing.
- remove(String) - Method in interface jodd.petite.scope.Scope
-
Removes the bean from the scope entirely.
- 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.
- resolve(Class) - Method in class jodd.petite.resolver.MethodResolver
-
Resolve method injection points in given class.
- resolve(Class<?>) - Method in class jodd.petite.resolver.DestroyMethodResolver
- resolve(Class<?>) - Method in class jodd.petite.resolver.InitMethodResolver
- resolve(Class, boolean) - Method in class jodd.petite.resolver.CtorResolver
-
Resolves constructor injection point from type.
- resolve(Class, boolean) - Method in class jodd.petite.resolver.PropertyResolver
-
Resolves all properties for given type.
- resolve(Class, boolean) - Method in class jodd.petite.resolver.SetResolver
-
Resolves all collections for given type.
- resolve(Class, String) - Method in class jodd.petite.resolver.ProviderResolver
-
Resolves all providers in the class
- resolveBeanName(Class) - Method in class jodd.petite.PetiteBeans
-
Resolves bean's name from bean annotation or type name.
- resolveBeanName(Class, boolean) - Method in class jodd.petite.AnnotationResolver
-
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
nullvalues.
S
- scope - Variable in class jodd.petite.BeanDefinition
- scope() - Method in class jodd.petite.BeanDefinition
-
Returns beans scope type.
- scope() - Method in annotation type jodd.petite.meta.PetiteBean
-
Bean scope,
singletonby default. - 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() - Method in class jodd.petite.BeanData
-
Registers scope.
- scopeRegister(Object) - Method in class jodd.petite.BeanDefinition
-
Delegates to
Scope.register(jodd.petite.BeanDefinition, Object)if scope is defined. - scopeRemove() - Method in class jodd.petite.BeanDefinition
-
Delegates to
Scope.remove(String). - 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.
- 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.
- setPackages(String...) - Method in class jodd.petite.AutomagicPetiteConfigurator
- 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 interface jodd.petite.scope.Scope
-
Shutdowns the scope by removing all beans and calling destroy methods.
- 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
Scopeclass 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
- STRICT - jodd.petite.WiringMode
-
Explicit and strict wiring.
T
- targetClass - Variable in class jodd.petite.def.SetInjectionPoint
- ThreadLocalScope - Class in jodd.petite.scope
-
Thread local Petite bean scope.
- ThreadLocalScope(PetiteContainer) - Constructor for class jodd.petite.scope.ThreadLocalScope
- toString() - Method in class jodd.petite.BeanDefinition
- toString() - Method in class jodd.petite.def.BeanReferences
- 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.def.SetInjectionPoint
- type - Variable in class jodd.petite.PetiteRegistry.BeanProvider
- type() - Method in class jodd.petite.BeanDefinition
-
Returns bean type.
- type(Class) - Method in class jodd.petite.PetiteRegistry.BeanProvider
-
Defines bean type.
- TYPE_FULL_NAME - jodd.petite.PetiteReferenceType
-
Full type name (package and class name) is used as bean name.
- TYPE_SHORT_NAME - jodd.petite.PetiteReferenceType
-
Un-capitalized short type name is used as bean name.
U
- useAltBeanNames - Variable in class jodd.petite.PetiteConfig
- useFullTypeNames - Variable in class jodd.petite.PetiteConfig
- useParamo - Variable in class jodd.petite.PetiteConfig
V
- value() - Method in annotation type jodd.petite.meta.PetiteBean
-
Unique bean name.
- value() - Method in annotation type jodd.petite.meta.PetiteInject
-
Name(s) of bean(s) to inject.
- value() - Method in annotation type jodd.petite.meta.PetiteProvider
-
Defines provider name that will be used to provide instance to inject.
- value() - Method in annotation type jodd.petite.meta.PetiteValue
-
Defines parameter key which value will be injected.
- value() - Method in enum jodd.petite.WiringMode
- ValueInjectionPoint - Class in jodd.petite.def
- ValueInjectionPoint(String, String) - Constructor for class jodd.petite.def.ValueInjectionPoint
- 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.PetiteReferenceType
-
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 - Variable in class jodd.petite.BeanDefinition
- 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.PetiteReferenceType
-
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.
- valueTemplate - Variable in class jodd.petite.def.ValueInjectionPoint
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(String) - Method in class jodd.petite.PetiteRegistry
-
Starts with defining injection points (i.e.
- wire(WiringMode) - Method in class jodd.petite.PetiteRegistry.BeanRegister
-
Defines beans wire mode.
- wireBean() - Method in class jodd.petite.BeanData
-
Wires beans.
- wireMethods() - Method in class jodd.petite.BeanData
-
Invokes single method injection point on given bean with given bean definition.
- wireProperties() - Method in class jodd.petite.BeanData
- wireScopedProxy - Variable in class jodd.petite.PetiteConfig
- wireSets() - Method in class jodd.petite.BeanData
- wiring() - Method in annotation type jodd.petite.meta.PetiteBean
-
Wiring mode.
- wiringMode - Variable in class jodd.petite.BeanDefinition
- wiringMode() - Method in class jodd.petite.BeanDefinition
-
Returns wiring mode.
- WiringMode - Enum in jodd.petite
-
Wiring modes for Petite beans.
- with(Consumer<T>) - Method in class jodd.petite.PetiteRegistry.BeanRegister
All Classes All Packages