A C D E F G H I J L M O P R S T U V 
All Classes All Packages

A

AnchorBean - Class in ru.vyarus.guice.ext.core.generator.anchor
Dummy bean used as anchor dependency for generated classes bindings (JIT bindings) to force them to be registered in (for example) child injector.
AnchorBean() - Constructor for class ru.vyarus.guice.ext.core.generator.anchor.AnchorBean
 
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(ClassPool, 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.core.generator.anchor.GeneratorAnchorModule
 
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.
convertTypes(ClassPool, Class<?>...) - Static method in class ru.vyarus.guice.ext.core.generator.JavassistUtils
 
copyAnnotation(ClassPool, ConstPool, Annotation) - Static method in class ru.vyarus.guice.ext.core.generator.JavassistUtils
 

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
 
DynamicSingletonProvider - Class in com.google.inject.internal
Specific version of DynamicClassProvider, which applies singleton scope to generated classes.
DynamicSingletonProvider(Injector) - Constructor for class com.google.inject.internal.DynamicSingletonProvider
 

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(Matcher<Object>) - Constructor for class ru.vyarus.guice.ext.ExtAnnotationsModule
Constructs annotation module with custom bean matcher for annotations processing.
ExtAnnotationsModule(String) - Constructor for class ru.vyarus.guice.ext.ExtAnnotationsModule
Constructs annotation module with annotation scan limited to provided package.

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
Shortcut for DynamicClassGenerator.generate(Class, Class, Class) method to create default scoped classes.
generate(Class<T>, Class<? extends Annotation>) - Static method in class ru.vyarus.guice.ext.core.generator.DynamicClassGenerator
Shortcut for DynamicClassGenerator.generate(Class, Class, Class) method to create classes with provided scope (and without extra anchor).
generate(Class<T>, Class<? extends Annotation>, Class<?>) - 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.
GeneratorAnchorModule - Class in ru.vyarus.guice.ext.core.generator.anchor
Support module used to tie dynamic binding for generated class (generated with DynamicClassProvider) to exact injector in injectors hierarchy.
GeneratorAnchorModule() - Constructor for class ru.vyarus.guice.ext.core.generator.anchor.GeneratorAnchorModule
 
get() - Method in class com.google.inject.internal.DynamicClassProvider
 
getScopeAnnotation() - Method in class com.google.inject.internal.DynamicClassProvider
Override it to specify different annotation.
getScopeAnnotation() - Method in class com.google.inject.internal.DynamicSingletonProvider
 

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

isJava8() - Static method in class ru.vyarus.guice.ext.core.util.Utils
Note: versions below 1.8 are not supported.
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).

J

JAKARTA_INJECT - Static variable in class ru.vyarus.guice.ext.core.generator.DynamicClassGenerator
 
JavassistUtils - Class in ru.vyarus.guice.ext.core.generator
Helper javassist methods.
JAVAX_INJECT - Static variable in class ru.vyarus.guice.ext.core.generator.DynamicClassGenerator
 

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(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
 
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(T) - Method in interface ru.vyarus.guice.ext.core.type.TypePostProcessor
Called to post process bean.
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.

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

value() - Method in annotation type ru.vyarus.guice.ext.core.generator.ScopeAnnotation
 
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 J L M O P R S T U V 
All Classes All Packages