- bind(Name, Object) - Method in class org.apache.camel.guice.jndi.internal.JndiContext
-
- bind(String, Object) - Method in class org.apache.camel.guice.jndi.internal.JndiContext
-
- bind(Class<T>, Class<? extends Annotation>) - Method in class org.apache.camel.guice.support.GuiceyFruitModule
-
A helper method to bind the given type with the binding annotation.
- bind(Class<T>, Annotation) - Method in class org.apache.camel.guice.support.GuiceyFruitModule
-
A helper method to bind the given type with the binding annotation.
- bind(Class<T>, String) - Method in class org.apache.camel.guice.support.GuiceyFruitModule
-
A helper method to bind the given type with the
Named
annotation of the given text value.
- bindAnnotationInjector(Class<A>, Key<? extends AnnotationMemberProvider>) - Method in class org.apache.camel.guice.support.GuiceyFruitModule
-
Binds a custom injection point for a given injection annotation to the
annotation member provider so that occurrences of the annotation on
fields and methods with a single parameter will be injected by Guice
after the constructor and @Inject have been processed.
- bindAnnotationInjector(Class<A>, AnnotationMemberProvider) - Method in class org.apache.camel.guice.support.GuiceyFruitModule
-
Binds a custom injection point for a given injection annotation to the
annotation member provider so that occurrences of the annotation on
fields and methods with a single parameter will be injected by Guice
after the constructor and @Inject have been processed.
- bindAnnotationInjector(Class<A>, Class<? extends AnnotationMemberProvider>) - Method in class org.apache.camel.guice.support.GuiceyFruitModule
-
Binds a custom injection point for a given injection annotation to the
annotation member provider so that occurrences of the annotation on
fields and methods with a single parameter will be injected by Guice
after the constructor and @Inject have been processed.
- bindInjectorAndBindings(Context, Injector, Properties) - Static method in class org.apache.camel.guice.jndi.JndiBindings
-
- bindInstance(String, T) - Method in class org.apache.camel.guice.support.GuiceyFruitModule
-
A helper method which binds a named instance to a key defined by the
given name and the instances type.
- bindMethodHandler(Class<A>, MethodHandler) - Method in class org.apache.camel.guice.support.GuiceyFruitModule
-
Binds a post injection hook method annotated with the given annotation to
the given method handler.
- bindMethodHandler(Class<A>, Key<? extends MethodHandler>) - Method in class org.apache.camel.guice.support.GuiceyFruitModule
-
Binds a post injection hook method annotated with the given annotation to
the given method handler.
- bindMethodHandler(Class<A>, Class<? extends MethodHandler>) - Method in class org.apache.camel.guice.support.GuiceyFruitModule
-
Binds a post injection hook method annotated with the given annotation to
the given method handler.
- CachedValue - Interface in org.apache.camel.guice.util
-
- CachingProvider<T> - Interface in org.apache.camel.guice.util
-
- CamelModule - Class in org.apache.camel.guice
-
A base Guice module for creating a CamelContext
leaving it up to the users module
to bind a Set for the routing rules.
- CamelModule() - Constructor for class org.apache.camel.guice.CamelModule
-
- CamelModuleWithMatchingRoutes - Class in org.apache.camel.guice
-
A Guice Module which injects the CamelContext with all available implementations
of RoutesBuilder
which are bound to Guice with an optional Matcher
to filter out the classes required.
- CamelModuleWithMatchingRoutes() - Constructor for class org.apache.camel.guice.CamelModuleWithMatchingRoutes
-
- CamelModuleWithMatchingRoutes(Matcher<Class>) - Constructor for class org.apache.camel.guice.CamelModuleWithMatchingRoutes
-
- CamelModuleWithRouteTypes - Class in org.apache.camel.guice
-
A Guice Module which injects the CamelContext with the specified RoutesBuilder
types - which are then injected by Guice.
- CamelModuleWithRouteTypes(Class<? extends RoutesBuilder>...) - Constructor for class org.apache.camel.guice.CamelModuleWithRouteTypes
-
- CamelModuleWithRouteTypes(Set<Class<? extends RoutesBuilder>>) - Constructor for class org.apache.camel.guice.CamelModuleWithRouteTypes
-
- checkInjectedValueType(Object, Class<?>, TypeEncounter<I>) - Method in class org.apache.camel.guice.support.GuiceyFruitModule
-
Returns true if the value to be injected is of the correct type otherwise
an error is raised on the encounter and false is returned
- Classes - Class in org.apache.camel.guice.jndi.internal
-
- close(Injector) - Static method in class org.apache.camel.guice.inject.Injectors
-
Closes any singleton objects in the injector using the currently
registered
Closer
implementations
- close(Injector, CloseErrors) - Static method in class org.apache.camel.guice.inject.Injectors
-
Closes objects within the given scope using the currently registered
Closer
implementations
- close(Injector, Class<? extends Annotation>) - Static method in class org.apache.camel.guice.inject.Injectors
-
Closes objects within the given scope using the currently registered
Closer
implementations
- close(Injector, Class<? extends Annotation>, CloseErrors) - Static method in class org.apache.camel.guice.inject.Injectors
-
Closes objects within the given scope using the currently registered
Closer
implementations
- close() - Method in class org.apache.camel.guice.jndi.internal.JndiContext
-
- close(Object) - Method in class org.apache.camel.guice.jsr250.PreDestroyCloser
-
- close(Object) - Method in interface org.apache.camel.guice.support.Closer
-
Closes the given object
- close(Object, Object, Closer, CloseErrors) - Static method in class org.apache.camel.guice.support.Closers
-
Closes the given object with the Closer if the object is not null
- close(Object) - Method in class org.apache.camel.guice.support.CompositeCloser
-
- close() - Method in class org.apache.camel.guice.util.CloseableScope
-
Closes all of the objects within this scope using the given injector and
scope annotation and clears the scope
- close(Injector) - Method in class org.apache.camel.guice.util.CloseableScope
-
Closes all of the objects within the given injector of the specified
scope and clears the scope
- CloseableScope - Class in org.apache.camel.guice.util
-
Represents a scope which caches objects around until the scope is closed.
- CloseableScope(Class<? extends Annotation>) - Constructor for class org.apache.camel.guice.util.CloseableScope
-
- closeError(Object, Object, Exception) - Method in interface org.apache.camel.guice.support.CloseErrors
-
Notification of a close exception
- closeError(Object, Object, Exception) - Method in class org.apache.camel.guice.support.internal.CloseErrorsImpl
-
- CloseErrors - Interface in org.apache.camel.guice.support
-
A handler of exceptions when closing down resources.
- CloseErrorsImpl - Class in org.apache.camel.guice.support.internal
-
The default implementation of @{link CloseErrors}
- CloseErrorsImpl(Object) - Constructor for class org.apache.camel.guice.support.internal.CloseErrorsImpl
-
- CloseFailedException - Exception in org.apache.camel.guice.support
-
Indicates that an attempt to close an injector or scope failed closing one or
more bindings.
- CloseFailedException(List<Message>) - Constructor for exception org.apache.camel.guice.support.CloseFailedException
-
- Closer - Interface in org.apache.camel.guice.support
-
Represents a strategy for closing an object down such as using the @PreDestroy
lifecycle from JSR 250, invoking
Closeable.close()
or using
the DisposableBean interface from Spring.
- Closers - Class in org.apache.camel.guice.support
-
Some helper methods for working with the
Closer
interface
- CloseTask - Interface in org.apache.camel.guice.support
-
Some task which may throw an exception
- composeName(Name, Name) - Method in class org.apache.camel.guice.jndi.internal.JndiContext
-
- composeName(String, String) - Method in class org.apache.camel.guice.jndi.internal.JndiContext
-
- CompositeCloser - Class in org.apache.camel.guice.support
-
A Composite implementation of
Closer
- CompositeCloser(Iterable<Closer>) - Constructor for class org.apache.camel.guice.support.CompositeCloser
-
- configure() - Method in class org.apache.camel.guice.CamelModule
-
- configure() - Method in class org.apache.camel.guice.jsr250.Jsr250Module
-
- configure() - Method in class org.apache.camel.guice.support.GuiceyFruitModule
-
- configureCamelContext() - Method in class org.apache.camel.guice.CamelModule
-
- Configures - Annotation Type in org.apache.camel.guice.inject
-
Marks a method like @{link Provides} but where the method is used to perform
additional configuration of the object
- ConsumerInjection<I> - Class in org.apache.camel.guice.impl
-
- ConsumerInjection() - Constructor for class org.apache.camel.guice.impl.ConsumerInjection
-
- createContext() - Method in class org.apache.camel.guice.GuiceCamelContext
-
- createInjector() - Method in class org.apache.camel.guice.GuiceCamelContext
-
- createInjector(Map, Module...) - Static method in class org.apache.camel.guice.inject.Injectors
-
Creates an injector from the given properties, loading any modules define
by the
Injectors.MODULE_CLASS_NAMES
property value (space separated) along
with any other modules passed as an argument.
- createRegistry() - Method in class org.apache.camel.guice.GuiceCamelContext
-
- createSubcontext(Name) - Method in class org.apache.camel.guice.jndi.internal.JndiContext
-
- createSubcontext(String) - Method in class org.apache.camel.guice.jndi.internal.JndiContext
-
- get(TypeEncounter<?>) - Method in class org.apache.camel.guice.support.EncounterProvider
-
- getAllMethods(Class<?>) - Static method in class org.apache.camel.guice.support.Reflectors
-
Returns all the methods on the given type ignoring overloaded methods
- getAllMethods(TypeLiteral<?>) - Static method in class org.apache.camel.guice.support.Reflectors
-
Returns all the methods on the given type ignoring overloaded methods
- getBinding(Injector, Key<?>) - Static method in class org.apache.camel.guice.inject.Injectors
-
Returns the binding for the given key or null if there is no such binding
- getBindingsOf(Injector, Matcher<Class>) - Static method in class org.apache.camel.guice.inject.Injectors
-
Returns a collection of all of the bindings matching the given matcher
- getBindingsOf(Injector, Class<?>) - Static method in class org.apache.camel.guice.inject.Injectors
-
Returns a collection of all bindings of the given base type
- getCachedValue() - Method in interface org.apache.camel.guice.util.CachedValue
-
- getCamelContext() - Method in class org.apache.camel.guice.impl.ConsumerInjection
-
- getCamelContextMap() - Method in class org.apache.camel.guice.Main
-
- getContext() - Method in class org.apache.camel.guice.jsr250.NamedProviderSupport
-
- getEnvironment() - Method in class org.apache.camel.guice.jndi.internal.JndiContext
-
- getInitialContext(Hashtable<?, ?>) - Method in class org.apache.camel.guice.jndi.GuiceInitialContextFactory
-
Creates a new context with the given environment.
- getInjector() - Method in class org.apache.camel.guice.Main
-
- getInjectorFromContext() - Method in class org.apache.camel.guice.Main
-
- getInstance(Injector, Class<T>, String) - Static method in class org.apache.camel.guice.inject.Injectors
-
Returns an instance of the given type with the
Named
annotation value.
- getInstance() - Static method in class org.apache.camel.guice.Main
-
Returns the currently executing main
- getInstancesOf(Injector, Class<T>) - Static method in class org.apache.camel.guice.inject.Injectors
-
Returns a collection of all instances of the given base type
- getInstancesOf(Injector, Matcher<Class>) - Static method in class org.apache.camel.guice.inject.Injectors
-
Returns a collection of all instances matching the given matcher
- getJndiProperties() - Method in class org.apache.camel.guice.Main
-
- getKeyType(Key<?>) - Static method in class org.apache.camel.guice.inject.Injectors
-
Returns the key type of the given key
- getMessages() - Method in exception org.apache.camel.guice.support.CloseFailedException
-
- getNameInNamespace() - Method in class org.apache.camel.guice.jndi.internal.JndiContext
-
- getNameParser(Name) - Method in class org.apache.camel.guice.jndi.internal.JndiContext
-
- getNameParser(String) - Method in class org.apache.camel.guice.jndi.internal.JndiContext
-
- getParameterType(TypeLiteral<?>, Method, int) - Method in class org.apache.camel.guice.support.GuiceyFruitModule
-
- getProvidersOf(Injector, Matcher<Class>) - Static method in class org.apache.camel.guice.inject.Injectors
-
Returns a collection of all of the providers matching the given matcher
- getProvidersOf(Injector, Class<T>) - Static method in class org.apache.camel.guice.inject.Injectors
-
Returns a collection of all providers of the given base type
- getScopeAnnotation(Binding<?>) - Static method in class org.apache.camel.guice.inject.Injectors
-
Returns the scope annotation for the given binding or null if there is no
scope
- getScopeAnnotation() - Method in interface org.apache.camel.guice.support.HasScopeAnnotation
-
Returns the scope annotation associated with this object
- getScopeAnnotation() - Method in class org.apache.camel.guice.util.CloseableScope
-
- getSource() - Method in interface org.apache.camel.guice.support.CloseTask
-
- getValueName(String, Member) - Method in class org.apache.camel.guice.jsr250.NamedProviderSupport
-
if no valid name is present on the annotation then use the member name
- GuiceCamelContext - Class in org.apache.camel.guice
-
The default CamelContext implementation for working with Guice.
- GuiceCamelContext(Injector) - Constructor for class org.apache.camel.guice.GuiceCamelContext
-
- GuiceInitialContextFactory - Class in org.apache.camel.guice.jndi
-
A factory of the Guice JNDI provider which creates an injector from all the
available modules specified in the space separated
Injectors.MODULE_CLASS_NAMES
property.
- GuiceInitialContextFactory() - Constructor for class org.apache.camel.guice.jndi.GuiceInitialContextFactory
-
- GuiceInjector - Class in org.apache.camel.guice.impl
-
An injector which uses Guice to perform the dependency injection of types
- GuiceInjector(Injector) - Constructor for class org.apache.camel.guice.impl.GuiceInjector
-
- GuiceyFruitModule - Class in org.apache.camel.guice.support
-
Adds some new helper methods to the base Guice module
- GuiceyFruitModule() - Constructor for class org.apache.camel.guice.support.GuiceyFruitModule
-