Skip navigation links
A C D E F G H I L M O P R S T U 

A

AnnotatedFieldTypeListener<T extends java.lang.annotation.Annotation> - Class in ru.vyarus.guice.ext.core.field
Generic type listener to process annotated fields after bean instantiation.
AnnotatedFieldTypeListener(Class<T>, FieldPostProcessor<T>) - Constructor for class ru.vyarus.guice.ext.core.field.AnnotatedFieldTypeListener
 
AnnotatedMethodDestroyable - Class in ru.vyarus.guice.ext.managed.destroyable
Destroyable annotation used to call @PostConstruct annotated methods on context destroy.
AnnotatedMethodDestroyable(Method, Object) - Constructor for class ru.vyarus.guice.ext.managed.destroyable.AnnotatedMethodDestroyable
 
AnnotatedMethodTypeListener<T extends java.lang.annotation.Annotation> - Class in ru.vyarus.guice.ext.core.method
Generic type listener to process annotated methods after bean instantiation.
AnnotatedMethodTypeListener(Class<T>, MethodPostProcessor<T>) - Constructor for class ru.vyarus.guice.ext.core.method.AnnotatedMethodTypeListener
 

C

checkNoParams(Method) - Static method in class ru.vyarus.guice.ext.core.util.Utils
Checks that method has no parameters, otherwise throws exception.
configure() - Method in class ru.vyarus.guice.ext.ExtAnnotationsModule
 
configureManager(DestroyableManager) - Method in class ru.vyarus.guice.ext.ExtAnnotationsModule
Registers destroyable manager in injector and adds shutdown hook to process destroy on jvm shutdown.

D

destroy() - Method in class ru.vyarus.guice.ext.managed.destroyable.DestroyableManager
Called on context shutdown to call all registered destroyable instances.
Destroyable - Interface in ru.vyarus.guice.ext.managed.destroyable
Marker interface for beans which require some finalization logic (@PostConstruct alternative).
DestroyableManager - Class in ru.vyarus.guice.ext.managed.destroyable
Manage destroyable instances.
DestroyableManager() - Constructor for class ru.vyarus.guice.ext.managed.destroyable.DestroyableManager
 
DestroyableTypeProcessor - Class in ru.vyarus.guice.ext.managed
Registers beans implementing Destroyable interface to DestroyableManager to be executed on shutdown.
DestroyableTypeProcessor(DestroyableManager) - Constructor for class ru.vyarus.guice.ext.managed.DestroyableTypeProcessor
 

E

ExtAnnotationsModule - Class in ru.vyarus.guice.ext
Additional annotations support module: @PostConstruct, @PreDestroy, @Log.
ExtAnnotationsModule() - Constructor for class ru.vyarus.guice.ext.ExtAnnotationsModule
Default module constructor to check annotations on all beans.
ExtAnnotationsModule(String) - Constructor for class ru.vyarus.guice.ext.ExtAnnotationsModule
Constructs annotation module with annotation scan limited to provided package.
ExtAnnotationsModule(Matcher<Object>) - Constructor for class ru.vyarus.guice.ext.ExtAnnotationsModule
Constructs annotation module with custom bean matcher for annotations processing.

F

FieldPostProcessor<T extends java.lang.annotation.Annotation> - Interface in ru.vyarus.guice.ext.core.field
Annotated filed post processor.

G

GeneralTypeListener<T> - Class in ru.vyarus.guice.ext.core.type
Generic type listener for bean types (exact class, by base class or beans annotating interface).
GeneralTypeListener(Class<T>, TypePostProcessor<T>) - Constructor for class ru.vyarus.guice.ext.core.type.GeneralTypeListener
 

H

hear(TypeLiteral<I>, TypeEncounter<I>) - Method in class ru.vyarus.guice.ext.core.field.AnnotatedFieldTypeListener
 
hear(TypeLiteral<I>, TypeEncounter<I>) - Method in class ru.vyarus.guice.ext.core.method.AnnotatedMethodTypeListener
 
hear(TypeLiteral<I>, TypeEncounter<I>) - Method in class ru.vyarus.guice.ext.core.type.GeneralTypeListener
 

I

isPackageValid(Class) - Static method in class ru.vyarus.guice.ext.core.util.Utils
Important check, because JDK proxies of public interfaces have no package (thanks to @binkley https://github.com/99soft/lifegycle/pull/5).

L

Log - Annotation Type in ru.vyarus.guice.ext.log
Log annotation must be used on org.slf4j.Logger fields to automatically inject logger instance.

M

matches(T) - Method in class ru.vyarus.guice.ext.core.util.ObjectPackageMatcher
 
MethodPostProcessor<T extends java.lang.annotation.Annotation> - Interface in ru.vyarus.guice.ext.core.method
Annotated method post processor.

O

ObjectPackageMatcher<T> - Class in ru.vyarus.guice.ext.core.util
Object class matcher.
ObjectPackageMatcher(String) - Constructor for class ru.vyarus.guice.ext.core.util.ObjectPackageMatcher
 

P

PostConstructAnnotationProcessor - Class in ru.vyarus.guice.ext.managed
Process bean @PostConstruct annotated methods: executes annotated method just after bean initialization.
PostConstructAnnotationProcessor() - Constructor for class ru.vyarus.guice.ext.managed.PostConstructAnnotationProcessor
 
preDestroy() - Method in class ru.vyarus.guice.ext.managed.destroyable.AnnotatedMethodDestroyable
 
preDestroy() - Method in interface ru.vyarus.guice.ext.managed.destroyable.Destroyable
Called on context shutdown (by default on jvm shutdown), but may be called manually through destroy manager ru.vyarus.guice.ext.managed.destroyable.DestroyableManager#destroy().
PreDestroyAnnotationProcessor - Class in ru.vyarus.guice.ext.managed
Registers bean methods annotated with @PostConstruct in DestroyableManager to be called on shutdown.
PreDestroyAnnotationProcessor(DestroyableManager) - Constructor for class ru.vyarus.guice.ext.managed.PreDestroyAnnotationProcessor
 
process(T, Field, Object) - Method in interface ru.vyarus.guice.ext.core.field.FieldPostProcessor
Called to post process annotated bean filed.
process(T, Method, Object) - Method in interface ru.vyarus.guice.ext.core.method.MethodPostProcessor
Called to post process annotated bean method.
process(T) - Method in interface ru.vyarus.guice.ext.core.type.TypePostProcessor
Called to post process bean.
process(Log, Field, Object) - Method in class ru.vyarus.guice.ext.log.Slf4jLogAnnotationProcessor
 
process(Destroyable) - Method in class ru.vyarus.guice.ext.managed.DestroyableTypeProcessor
 
process(PostConstruct, Method, Object) - Method in class ru.vyarus.guice.ext.managed.PostConstructAnnotationProcessor
 
process(PreDestroy, Method, Object) - Method in class ru.vyarus.guice.ext.managed.PreDestroyAnnotationProcessor
 

R

register(Destroyable) - Method in class ru.vyarus.guice.ext.managed.destroyable.DestroyableManager
Register destroyable instance to be called on context shutdown.
ru.vyarus.guice.ext - package ru.vyarus.guice.ext
 
ru.vyarus.guice.ext.core.field - package ru.vyarus.guice.ext.core.field
 
ru.vyarus.guice.ext.core.method - package ru.vyarus.guice.ext.core.method
 
ru.vyarus.guice.ext.core.type - package ru.vyarus.guice.ext.core.type
 
ru.vyarus.guice.ext.core.util - package ru.vyarus.guice.ext.core.util
 
ru.vyarus.guice.ext.log - package ru.vyarus.guice.ext.log
 
ru.vyarus.guice.ext.managed - package ru.vyarus.guice.ext.managed
 
ru.vyarus.guice.ext.managed.destroyable - package ru.vyarus.guice.ext.managed.destroyable
 
run() - Method in class ru.vyarus.guice.ext.managed.destroyable.DestroyableManager
 

S

Slf4jLogAnnotationProcessor - Class in ru.vyarus.guice.ext.log
Injects org.slf4j.Logger instance into fields annotated with @Log annotation.
Slf4jLogAnnotationProcessor() - Constructor for class ru.vyarus.guice.ext.log.Slf4jLogAnnotationProcessor
 

T

TypePostProcessor<T> - Interface in ru.vyarus.guice.ext.core.type
Type post processor (type searched by exact type, subclass or implemented interface).

U

Utils - Class in ru.vyarus.guice.ext.core.util
Generic utilities.
A C D E F G H I L M O P R S T U 
Skip navigation links