- accept(Scope) - Method in class jodd.petite.scope.DefaultScope
-
- 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 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.
- acceptedScopes - Variable in class jodd.petite.scope.ThreadLocalScope
-
- acceptScope(Class<? extends Scope>) - Method in class jodd.petite.scope.ThreadLocalScope
-
- 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.
- 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
-
- AutomagicPetiteConfigurator - Class in jodd.petite.config
-
Auto-magically configures Petite container by analyzing the classpath.
- AutomagicPetiteConfigurator() - Constructor for class jodd.petite.config.AutomagicPetiteConfigurator
-
- get(String) - Method in class jodd.petite.ParamManager
-
Returns parameter for given name or null
if 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(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.
- 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.
- getDefaultScope() - Method in class jodd.petite.PetiteConfig
-
Returns default scope type.
- getDefaultWiringMode() - Method in class jodd.petite.PetiteConfig
-
Returns default wiring mode.
- 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.
- getHttpSessionId() - Method in class jodd.petite.scope.SessionScope
-
Returns request from current thread.
- 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.
- 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.
- 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.
- 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.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(String, Object) - Method in class jodd.petite.scope.DefaultScope
-
- register(String, Object) - Method in class jodd.petite.scope.ProtoScope
-
- register(String, Object) - Method in interface jodd.petite.scope.Scope
-
Registers the bean within the current scope.
- register(String, Object) - Method in class jodd.petite.scope.SessionScope
-
- register(String, Object) - Method in class jodd.petite.scope.SingletonScope
-
- register(String, Object) - Method in class jodd.petite.scope.ThreadLocalScope
-
- 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.
- 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.
- remove(String) - Method in class jodd.petite.scope.DefaultScope
-
- remove(String) - Method in class jodd.petite.scope.ProtoScope
-
- 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.
- 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.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.
- 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.