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

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
 
AnnotationMemberValueVisitor - Class in ru.vyarus.guice.ext.core.generator
Sets annotation method value.
AnnotationMemberValueVisitor(ConstPool, Object) - Constructor for class ru.vyarus.guice.ext.core.generator.AnnotationMemberValueVisitor
 

C

checkNoParams(Method) - Static method in class ru.vyarus.guice.ext.core.util.Utils
Checks that method has no parameters, otherwise throws exception.
com.google.inject.internal - package com.google.inject.internal
 
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
 
DYNAMIC_CLASS_POSTFIX - Static variable in class ru.vyarus.guice.ext.core.generator.DynamicClassGenerator
Postfix applied to interface or abstract class name to get generated class name.
DynamicClassException - Exception in ru.vyarus.guice.ext.core.generator
Indicates error during dynamic class generation.
DynamicClassException(String, Throwable) - Constructor for exception ru.vyarus.guice.ext.core.generator.DynamicClassException
 
DynamicClassGenerator - Class in ru.vyarus.guice.ext.core.generator
Dynamically generates new class from abstract class or interface.
DynamicClassProvider - Class in com.google.inject.internal
Provider allows using interfaces or abstract classes as normal guice beans.
DynamicClassProvider(Injector) - Constructor for class com.google.inject.internal.DynamicClassProvider
 

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
 
generate(Class<T>) - Static method in class ru.vyarus.guice.ext.core.generator.DynamicClassGenerator
Generates dynamic class, which guice may use as implementation and generate proxy above it, correctly applying aop features.
get() - Method in class com.google.inject.internal.DynamicClassProvider
 

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.generator - package ru.vyarus.guice.ext.core.generator
 
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

ScopeAnnotation - Annotation Type in ru.vyarus.guice.ext.core.generator
Guice doesn't allow scope annotations on abstract types (com.google.inject.internal.Annotations#checkForMisplacedScopeAnnotations()), so you can't use it directly.
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.

V

visitAnnotationMemberValue(AnnotationMemberValue) - Method in class ru.vyarus.guice.ext.core.generator.AnnotationMemberValueVisitor
 
visitArrayMemberValue(ArrayMemberValue) - Method in class ru.vyarus.guice.ext.core.generator.AnnotationMemberValueVisitor
 
visitBooleanMemberValue(BooleanMemberValue) - Method in class ru.vyarus.guice.ext.core.generator.AnnotationMemberValueVisitor
 
visitByteMemberValue(ByteMemberValue) - Method in class ru.vyarus.guice.ext.core.generator.AnnotationMemberValueVisitor
 
visitCharMemberValue(CharMemberValue) - Method in class ru.vyarus.guice.ext.core.generator.AnnotationMemberValueVisitor
 
visitClassMemberValue(ClassMemberValue) - Method in class ru.vyarus.guice.ext.core.generator.AnnotationMemberValueVisitor
 
visitDoubleMemberValue(DoubleMemberValue) - Method in class ru.vyarus.guice.ext.core.generator.AnnotationMemberValueVisitor
 
visitEnumMemberValue(EnumMemberValue) - Method in class ru.vyarus.guice.ext.core.generator.AnnotationMemberValueVisitor
 
visitFloatMemberValue(FloatMemberValue) - Method in class ru.vyarus.guice.ext.core.generator.AnnotationMemberValueVisitor
 
visitIntegerMemberValue(IntegerMemberValue) - Method in class ru.vyarus.guice.ext.core.generator.AnnotationMemberValueVisitor
 
visitLongMemberValue(LongMemberValue) - Method in class ru.vyarus.guice.ext.core.generator.AnnotationMemberValueVisitor
 
visitShortMemberValue(ShortMemberValue) - Method in class ru.vyarus.guice.ext.core.generator.AnnotationMemberValueVisitor
 
visitStringMemberValue(StringMemberValue) - Method in class ru.vyarus.guice.ext.core.generator.AnnotationMemberValueVisitor
 
A C D E F G H I L M O P R S T U V 
Skip navigation links