Uses of Class
org.eclipse.e4.core.di.InjectionException
Package
Description
Application programming interfaces for Eclipse contexts.
Application programming interfaces describing dependency injection framework.
Application programming interfaces for dependency injection object suppliers.
-
Uses of InjectionException in org.eclipse.e4.core.contexts
Modifier and TypeMethodDescriptionstatic void
ContextInjectionFactory.inject
(Object object, IEclipseContext context) Injects a context into a domain object.static void
ContextInjectionFactory.inject
(Object object, IEclipseContext context, IEclipseContext staticContext) Injects a context into a domain object.static Object
ContextInjectionFactory.invoke
(Object object, Class<? extends Annotation> qualifier, IEclipseContext context) Call a method, injecting the parameters from the context.static Object
ContextInjectionFactory.invoke
(Object object, Class<? extends Annotation> qualifier, IEclipseContext context, Object defaultValue) Call a method, injecting the parameters from the context.static Object
ContextInjectionFactory.invoke
(Object object, Class<? extends Annotation> qualifier, IEclipseContext context, IEclipseContext localContext, Object defaultValue) Call a method, injecting the parameters from two contexts.static <T> T
ContextInjectionFactory.make
(Class<T> clazz, IEclipseContext context) Obtain an instance of the specified class and inject it with the context.static <T> T
ContextInjectionFactory.make
(Class<T> clazz, IEclipseContext context, IEclipseContext staticContext) Obtain an instance of the specified class and inject it with the context.static void
ContextInjectionFactory.uninject
(Object object, IEclipseContext context) Un-injects the context from the object. -
Uses of InjectionException in org.eclipse.e4.core.di
Modifier and TypeMethodDescriptionvoid
IInjector.inject
(Object object, PrimaryObjectSupplier objectSupplier) Injects data from the supplier into a domain object.void
IInjector.inject
(Object object, PrimaryObjectSupplier objectSupplier, PrimaryObjectSupplier staticSupplier) Injects data from the supplier into a domain object.IInjector.invoke
(Object object, Class<? extends Annotation> qualifier, Object defaultValue, PrimaryObjectSupplier objectSupplier) Call the annotated method on an object, injecting the parameters from the supplier.IInjector.invoke
(Object object, Class<? extends Annotation> qualifier, Object defaultValue, PrimaryObjectSupplier objectSupplier, PrimaryObjectSupplier localSupplier) Call the annotated method on an object, injecting the parameters from the suppliers.IInjector.invoke
(Object object, Class<? extends Annotation> qualifier, PrimaryObjectSupplier objectSupplier) Call the annotated method on an object, injecting the parameters from the supplier.<T> T
IInjector.make
(Class<T> clazz, PrimaryObjectSupplier objectSupplier) Obtain an instance of the specified class and inject it with the data from the supplier.<T> T
IInjector.make
(Class<T> clazz, PrimaryObjectSupplier objectSupplier, PrimaryObjectSupplier staticSupplier) Obtain an instance of the specified class and inject it with the data from the supplier.void
IInjector.uninject
(Object object, PrimaryObjectSupplier objectSupplier) Un-injects the supplier from the object. -
Uses of InjectionException in org.eclipse.e4.core.di.suppliers
Modifier and TypeMethodDescriptionvoid
IRequestor.disposed
(PrimaryObjectSupplier objectSupplier) Notifies the requestor that an object supplier has been disposed of.IRequestor.execute()
Call this method to perform requestor's task.void
IRequestor.resolveArguments
(boolean initial) Forces the requestor to resolve arguments it depends on.boolean
IRequestor.uninject
(Object object, PrimaryObjectSupplier objectSupplier) Notifies the requestor that an object should be un-injected.