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

A

accept(Class<T>, A) - Method in interface org.bridje.ioc.ClassNavigator
This method is call when ever a class if found to have the given annotation.
accept(Field, Class, A) - Method in interface org.bridje.ioc.FieldNavigator
This method is call when ever a field in a component if found to have the given annotation.
accept(Method, Class, A) - Method in interface org.bridje.ioc.MethodNavigator
This method is call when ever a method in a component if found to have the given annotation.
appendProperty(String, String) - Method in class org.bridje.ioc.ClassListPropertyFile
This method appends key=value to the output file.
Application - Class in org.bridje.ioc
This class represents the application scope witch is the root context of Bridje IoC.
Application() - Constructor for class org.bridje.ioc.Application
Default constructor protected, Only for package access.
arrayType(Type) - Static method in class org.bridje.ioc.impl.ClassUtils
Find the Type of an array.

C

ClassListPropertyFile - Class in org.bridje.ioc
Base class for the annotations processors that handle components declaration files.
ClassListPropertyFile() - Constructor for class org.bridje.ioc.ClassListPropertyFile
 
ClassNavigator<A extends Annotation,T> - Interface in org.bridje.ioc
Functional interface used by ClassRepository for navigating annotated classes in the inversion of control context.
ClassRepository - Interface in org.bridje.ioc
Represents the collection of classes being used by IocContext to create and manage components.
ClassUtils - Class in org.bridje.ioc.impl
Utility method for class and type handling.
ClassUtils() - Constructor for class org.bridje.ioc.impl.ClassUtils
 
collectionType(Type) - Static method in class org.bridje.ioc.impl.ClassUtils
Find the Type of collection.
Component - Annotation Type in org.bridje.ioc
Mark a class as a component so it can be managed by the API.
ComponentProcessor - Class in org.bridje.ioc.impl
Annotations processor for the Component annotation.
ComponentProcessor() - Constructor for class org.bridje.ioc.impl.ComponentProcessor
 
COMPONENTS_RESOURCE_FILE - Static variable in class org.bridje.ioc.impl.ComponentProcessor
IOC Components declaration file.
context() - Static method in class org.bridje.ioc.Ioc
This method returns the IocContext for the APPLICATION scoped IocContext.
ContextFactory - Class in org.bridje.ioc.impl
Factory object to create the application context.
ContextListener<T> - Interface in org.bridje.ioc
A listener for the IocContext.
createApplicationContext(Application) - Static method in class org.bridje.ioc.impl.ContextFactory
Creates the application scoped IocContext.
createChild(T) - Method in interface org.bridje.ioc.IocContext
Create a child IocContext of this context.
createCollection(Class, Object[]) - Static method in class org.bridje.ioc.impl.ClassUtils
Given a collection type this method will return the appropied instance for it.
createMap(Class, Object[]) - Static method in class org.bridje.ioc.impl.ClassUtils
Given a map type this method will return the appropied instance for it.
createMultiple(Type, Object[]) - Static method in class org.bridje.ioc.impl.ClassUtils
Given a multiple type, (array, collection, or map) this method will return the appropied instance for it.

D

doAs(ThlsAction<T>, Class<D>, D) - Static method in class org.bridje.ioc.thls.Thls
This method puts all the data objects on the internal thread local storage an executes the ThlsAction.
doAs(ThlsAction<T>, Class<D>, D) - Method in interface org.bridje.ioc.thls.ThlsService
This method puts all the data objects on the internal thread local storage an executes the ThlsAction.
doAsEx(ThlsActionException<T, E>, Class<D>, D) - Static method in class org.bridje.ioc.thls.Thls
This method puts all the data objects on the internal thread local storage an executes the ThlsAction.
doAsEx(ThlsActionException<T, E>, Class<D>, D) - Method in interface org.bridje.ioc.thls.ThlsService
This method puts all the data objects on the internal thread local storage an executes the ThlsAction.
doAsEx2(ThlsActionException2<T, E, E2>, Class<D>, D) - Static method in class org.bridje.ioc.thls.Thls
This method puts all the data objects on the internal thread local storage an executes the ThlsAction.
doAsEx2(ThlsActionException2<T, E, E2>, Class<D>, D) - Method in interface org.bridje.ioc.thls.ThlsService
This method puts all the data objects on the internal thread local storage an executes the ThlsAction.

E

execute() - Method in interface org.bridje.ioc.thls.ThlsAction
Executes the action. this method is called on the doAs method.
execute() - Method in interface org.bridje.ioc.thls.ThlsActionException
Executes the action. this method is called on the doAs method.
execute() - Method in interface org.bridje.ioc.thls.ThlsActionException2
Executes the action. this method is called on the doAs method.
exists(Type) - Method in interface org.bridje.ioc.IocContext
This method finds if a service is provided by a least one component in the context.
existsComponent(Class) - Method in interface org.bridje.ioc.IocContext
This method finds if the given class is a component of the context.

F

FieldNavigator<A extends Annotation> - Interface in org.bridje.ioc
Functional interface used by ClassRepository for navigating annotated fields in the inversion of control context.
find(Class<T>) - Method in interface org.bridje.ioc.IocContext
This method finds the highest priority component that provides the given service.
findAll(Class<T>) - Method in interface org.bridje.ioc.IocContext
This method finds all the components that provides the given service.
findGeneric(Type) - Method in interface org.bridje.ioc.IocContext
This method finds the highest priority component that provides the given generic service.
findNext(Class<T>, int) - Method in interface org.bridje.ioc.IocContext
This method finds the component that provides the given service with less priority than the priority parameter.
findNextGeneric(Type, int) - Method in interface org.bridje.ioc.IocContext
This method finds the component that provides the given generic service with less priority than the priority parameter.
findPriority(Class<?>) - Static method in class org.bridje.ioc.impl.ClassUtils
Finds te priority value for a class, from it´s @Priority annotation if it haveit.
forEachClass(Class<A>, ClassNavigator<A, Object>) - Method in interface org.bridje.ioc.ClassRepository
Navigates through all component classes registered in this repository, that are annotated with the given annotation.
forEachClass(Class<A>, Class<T>, ClassNavigator<A, T>) - Method in interface org.bridje.ioc.ClassRepository
Navigates through all component classes registered in this repository, that are annotated with the given annotation.
forEachField(Class<A>, FieldNavigator<A>) - Method in interface org.bridje.ioc.ClassRepository
Navigates through all fields of all component classes registered in this repository, that are annotated with the given annotation.
forEachMethod(Class<A>, MethodNavigator<A>) - Method in interface org.bridje.ioc.ClassRepository
Navigates through all methods of all component classes registered in this repository, that are annotated with the given annotation.

G

get(Class<T>) - Static method in class org.bridje.ioc.thls.Thls
Get the last object of the cls Class that was put in the thread local storage.
get(Class<T>) - Method in interface org.bridje.ioc.thls.ThlsService
Get the last object of the specified class that was put in the thread local storage.
getClassRepository() - Method in interface org.bridje.ioc.IocContext
Obtains the class repository associated with this context. that allows to find classes, fields and methods of the components in this context.
getFileName() - Method in class org.bridje.ioc.ClassListPropertyFile
Gets the name for the file that will be written by this annotation processor.
getFileName() - Method in class org.bridje.ioc.impl.ComponentProcessor
 
getParent() - Method in interface org.bridje.ioc.IocContext
The parent of this context.
getScope() - Method in interface org.bridje.ioc.IocContext
Gets the scope of the current context.
getScopeClass() - Method in interface org.bridje.ioc.IocContext
Gets the scope of the current context.

H

hasGenericDeclaration(Type) - Static method in class org.bridje.ioc.impl.ClassUtils
Determines whenever the especified type has a wildcard or TypeVariable declaration whiting.

I

init(ProcessingEnvironment) - Method in class org.bridje.ioc.ClassListPropertyFile
 
Inject - Annotation Type in org.bridje.ioc
This annotation specify that the field on witch is declared is a component dependency, the container will find (any/all) component that provides the service and inject the instance of it in this field.
InjectNext - Annotation Type in org.bridje.ioc
This annotation specify behaves in the same way as the Inject annotation except that it will look only for components that has a priority value bigger thant the current component.
Ioc - Class in org.bridje.ioc
Facade for the Bridje IoC API.
IocContext<S extends Scope> - Interface in org.bridje.ioc
Represents a context in witch components are managed.
isArray(Type) - Static method in class org.bridje.ioc.impl.ClassUtils
Determines whenever the passed type is an array.
isCollection(Type) - Static method in class org.bridje.ioc.impl.ClassUtils
Determines whenever the passed type is a collection.
isMap(Type) - Static method in class org.bridje.ioc.impl.ClassUtils
Determines whenever the passed type is a map.
isMultiple(Type) - Static method in class org.bridje.ioc.impl.ClassUtils
Determines whenever the passed type is an array, a java collection like List or Set, or a java Map.

M

mapType(Type) - Static method in class org.bridje.ioc.impl.ClassUtils
Find the Type of a map.
MethodNavigator<A extends Annotation> - Interface in org.bridje.ioc
Functional interface used by ClassRepository for navigating annotated methods in the inversion of control context.
multipleType(Type) - Static method in class org.bridje.ioc.impl.ClassUtils
Find the Type of an array, map or collection.

O

org.bridje.ioc - package org.bridje.ioc
 
org.bridje.ioc.impl - package org.bridje.ioc.impl
 
org.bridje.ioc.thls - package org.bridje.ioc.thls
 
org.bridje.ioc.thls.impl - package org.bridje.ioc.thls.impl
 

P

parameterType(Type, int) - Static method in class org.bridje.ioc.impl.ClassUtils
Returns the specified parameter from the ParameterizedType.
postInitComponent(Class<Object>, Object) - Method in class org.bridje.ioc.Application
 
postInitComponent(Class<T>, T) - Method in interface org.bridje.ioc.ContextListener
Will be called after the components dependencies injection.
preCreateComponent(Class<Object>) - Method in class org.bridje.ioc.Application
 
preCreateComponent(Class<T>) - Method in interface org.bridje.ioc.ContextListener
Will be called before a component is created
preInitComponent(Class<Object>, Object) - Method in class org.bridje.ioc.Application
 
preInitComponent(Class<T>, T) - Method in interface org.bridje.ioc.ContextListener
Will be called after the component has been instantiate and before injecting the components dependencies
printPriorities(Class<?>, PrintWriter) - Method in interface org.bridje.ioc.IocContext
Prints all the implementations of the services with its priorities.
Priority - Annotation Type in org.bridje.ioc
Defines the priority of the component in a way that the small values are the highest priority component.
process(Set<? extends TypeElement>, RoundEnvironment) - Method in class org.bridje.ioc.ClassListPropertyFile
 
processElement(Element) - Method in class org.bridje.ioc.ClassListPropertyFile
This method will be called for each component class found by this processor.
processElement(Element) - Method in class org.bridje.ioc.impl.ComponentProcessor
 

R

rawClass(Type) - Static method in class org.bridje.ioc.impl.ClassUtils
Gets the raw class for the especified Type.

S

Scope - Interface in org.bridje.ioc
The base interface that all bridje ioc scope classes must implement.
sort(List<Class<?>>) - Static method in class org.bridje.ioc.impl.ClassUtils
Sorts a list of components by priority.

T

Thls - Class in org.bridje.ioc.thls
Facade to thread local storage (ThLS) service.
Thls() - Constructor for class org.bridje.ioc.thls.Thls
 
ThlsAction<T> - Interface in org.bridje.ioc.thls
Represents an action that can be executed and can access to the data of the current thread, that was made available on the doAs method.
ThlsActionException<T,E extends Throwable> - Interface in org.bridje.ioc.thls
Represents an action that can be executed and can access to the data of the current thread, that was made available on the doAs method.
ThlsActionException2<T,E extends Throwable,E2 extends Throwable> - Interface in org.bridje.ioc.thls
Represents an action that can be executed and can access to the data of the current thread, that was made available on the doAs method.
ThlsService - Interface in org.bridje.ioc.thls
This service allows you to execute an action with a group of data objects that will be available in the thread.
toClasses(Collection) - Static method in class org.bridje.ioc.impl.ClassUtils
Gets a collection with all the classes of the objects from the especified collection.
typeOf(WildcardType) - Static method in class org.bridje.ioc.impl.ClassUtils
Gets the upper bounds Type for a WildcarType.
A C D E F G H I M O P R S T 
Skip navigation links

Copyright © 2015–2018 Bridje Framework. All rights reserved.