A B C D G I M O P 

A

AbstractInterceptorProvider - Class in org.nanoj.injector.aop
 
AbstractInterceptorProvider() - Constructor for class org.nanoj.injector.aop.AbstractInterceptorProvider
 
afterCall(Object, Method, Object[], Object) - Method in interface org.nanoj.injector.aop.Interceptor
Triggered after a normal method (if no exception has been thrown by the method)
annotationExists(Class<? extends Annotation>, Method, Object) - Method in class org.nanoj.injector.aop.AbstractInterceptorProvider
Returns true if the given method has the given annotation in the interface class or in the implementation class
annotationExistsInImplementation(Class<? extends Annotation>, Method, Object) - Method in class org.nanoj.injector.aop.AbstractInterceptorProvider
Returns true if the given interface method has the given annotation in the implementation class
annotationExistsInInterface(Class<? extends Annotation>, Method) - Method in class org.nanoj.injector.aop.AbstractInterceptorProvider
Returns true if the given interface method has the given annotation
applyClassOnPattern(Class<?>, String) - Static method in class org.nanoj.injector.tools.ClassTools
Apply the given class on the given pattern
${package-N} means 'package without N last levels'

B

beforeCall(Object, Method, Object[]) - Method in interface org.nanoj.injector.aop.Interceptor
Triggered before a method call

C

callInterceptor(Method, Object) - Method in interface org.nanoj.injector.aop.PointCut
Returns true if the associated interceptor(s) must be called for the given method
ClassTools - Class in org.nanoj.injector.tools
 
ClassTools() - Constructor for class org.nanoj.injector.tools.ClassTools
 
countMethodsWithAnnotation(Class<?>, Class<? extends Annotation>) - Static method in class org.nanoj.injector.tools.Introspector
 
createInjector(String, InjectorConfiguration) - Static method in class org.nanoj.injector.InjectorFactory
Creates a new 'injector' with a specific configuration
createInjector(String) - Static method in class org.nanoj.injector.InjectorFactory
 
cutLastLevel(String) - Static method in class org.nanoj.injector.tools.ClassTools
 

D

defineImplementationClass(Class<T>, Class<? extends T>) - Method in class org.nanoj.injector.InjectorConfiguration
Defines an implementation class for an interface or abstract class
defineImplementationConvention(String) - Method in class org.nanoj.injector.InjectorConfiguration
Defines an implementation convention based on the given pattern.
defineImplementationProvider(Class<T>, Provider<T>) - Method in class org.nanoj.injector.InjectorConfiguration
Defines a specific provider that provides the implementation class
defineInterceptorProvider(InterceptorProvider) - Method in class org.nanoj.injector.InjectorConfiguration
 

G

GenericInvocationHandler - Class in org.nanoj.injector.dynaproxy
Generic handler used by the dynamic proxies for AOP.
GenericInvocationHandler(Object, InterceptorProvider[]) - Constructor for class org.nanoj.injector.dynaproxy.GenericInvocationHandler
Constructor
getAnnotation(Class<T>, Method, Object) - Method in class org.nanoj.injector.aop.AbstractInterceptorProvider
 
getAnnotationFromImplementation(Class<T>, Method, Object) - Method in class org.nanoj.injector.aop.AbstractInterceptorProvider
 
getAnnotationFromInterface(Class<T>, Method) - Method in class org.nanoj.injector.aop.AbstractInterceptorProvider
 
getClassName(String) - Method in class org.nanoj.injector.impl.InjectorImpl
Returns the "class name" of the given full class name
e.g. returns "String" for "java.lang.String"
getComponentInstance(Class<T>) - Method in class org.nanoj.injector.impl.InjectorImpl
Returns a component instance for the given class
If the given class is an interface the implementation is returned.
getImplementationClasses() - Method in class org.nanoj.injector.InjectorConfiguration
Returns the implementation classes map
getImplementationConventions() - Method in class org.nanoj.injector.InjectorConfiguration
Returns an array of all the implementation conventions defined.
getImplementationProviders() - Method in class org.nanoj.injector.InjectorConfiguration
Returns the implementation providers map
getInstance(Class<T>) - Method in class org.nanoj.injector.impl.InjectorImpl
 
getInstance(Class<T>) - Method in interface org.nanoj.injector.Injector
 
getInterceptor(Method, Object) - Method in interface org.nanoj.injector.aop.InterceptorProvider
Returns the interceptor to be used for the given method, or null if none.
getInterceptorProviders() - Method in class org.nanoj.injector.impl.InjectorImpl
 
getInterceptorProviders() - Method in interface org.nanoj.injector.Injector
 
getInterceptorProviders() - Method in class org.nanoj.injector.InjectorConfiguration
 
getName() - Method in class org.nanoj.injector.impl.InjectorImpl
 
getName() - Method in interface org.nanoj.injector.Injector
 
getPackageLevel(String) - Static method in class org.nanoj.injector.tools.ClassTools
 
getPackageName(String) - Method in class org.nanoj.injector.impl.InjectorImpl
Returns the "package name" of the given class name
e.g. returns "java.lang" for "java.lang.String"
getPackageVar(String) - Static method in class org.nanoj.injector.tools.ClassTools
 

I

Injector - Interface in org.nanoj.injector
 
InjectorConfiguration - Class in org.nanoj.injector
 
InjectorConfiguration() - Constructor for class org.nanoj.injector.InjectorConfiguration
 
InjectorException - Exception in org.nanoj.injector
The Telosys persistence framework unchecked Exception
InjectorException(String) - Constructor for exception org.nanoj.injector.InjectorException
Constructor
InjectorException(String, Throwable) - Constructor for exception org.nanoj.injector.InjectorException
Constructor
InjectorException(Throwable) - Constructor for exception org.nanoj.injector.InjectorException
Constructor
InjectorFactory - Class in org.nanoj.injector
 
InjectorFactory() - Constructor for class org.nanoj.injector.InjectorFactory
 
InjectorImpl - Class in org.nanoj.injector.impl
Injector implementation.
InjectorImpl(String, HashMap<Class<?>, Class<?>>, String[], HashMap<Class<?>, Provider<?>>, InterceptorProvider[]) - Constructor for class org.nanoj.injector.impl.InjectorImpl
Constructor
Interceptor - Interface in org.nanoj.injector.aop
 
InterceptorProvider - Interface in org.nanoj.injector.aop
Interface to be implemented by each interceptor provider
.
Introspector - Class in org.nanoj.injector.tools
 
Introspector() - Constructor for class org.nanoj.injector.tools.Introspector
 
invoke(Object, Method, Object[]) - Method in class org.nanoj.injector.dynaproxy.GenericInvocationHandler
 
invoke(Object, Method, Object[]) - Static method in class org.nanoj.injector.tools.MethodInvoker
Invokes the given method on the given instance
The exception thrown can be either the exception thrown by the called method,
or a TelosysInjectorException for any other cases
isAbstract(Class<?>) - Static method in class org.nanoj.injector.tools.ClassTools
 
isInterfaceOrAbstract(Class<?>) - Static method in class org.nanoj.injector.tools.ClassTools
 
isMonoInstance(Class<?>) - Method in class org.nanoj.injector.impl.InjectorImpl
Returns a boolean value indicating if the given component is "mono-instance" or not
By default it returns TRUE if the given class has an annotation ending with "Singleton"
This method can be overridden in the sub-class if necessary
isMonoInstanceByAnnotation(Class<?>, Class<?>) - Method in class org.nanoj.injector.impl.InjectorImpl
Method designed to be used in the "isMonoInstance" concrete method.
isMonoInstanceByAnnotation(Class<?>) - Method in class org.nanoj.injector.impl.InjectorImpl
 
isMonoInstanceByBooleanStaticField(Class<?>, String) - Method in class org.nanoj.injector.impl.InjectorImpl
Method designed to be used in the "isMonoInstance" concrete method.
isMonoInstanceByInterface(Class<?>, Class<?>) - Method in class org.nanoj.injector.impl.InjectorImpl
Method designed to be used in the "isMonoInstance" concrete method.

M

MethodInvoker - Class in org.nanoj.injector.tools
 
MethodInvoker() - Constructor for class org.nanoj.injector.tools.MethodInvoker
 

O

onError(Object, Method, Object[], Exception) - Method in interface org.nanoj.injector.aop.Interceptor
Triggered if the called method has thrown an exception
org.nanoj.injector - package org.nanoj.injector
 
org.nanoj.injector.aop - package org.nanoj.injector.aop
 
org.nanoj.injector.dynaproxy - package org.nanoj.injector.dynaproxy
 
org.nanoj.injector.impl - package org.nanoj.injector.impl
 
org.nanoj.injector.tools - package org.nanoj.injector.tools
 

P

PointCut - Interface in org.nanoj.injector.aop
 
printAllComponents(PrintStream) - Method in class org.nanoj.injector.impl.InjectorImpl
Utility method to print all the container's components
printAllComponents(PrintStream) - Method in interface org.nanoj.injector.Injector
 
A B C D G I M O P 

Copyright © 2016. All rights reserved.