A C D E F G H I L O R S T U
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractComponentDependencyFactory - Class in org.xwiki.component.annotation
-
Provides useful methods for implementing
ComponentDependencyFactory
. - AbstractComponentDependencyFactory() - Constructor for class org.xwiki.component.annotation.AbstractComponentDependencyFactory
C
- COMPONENT_LIST - Static variable in class org.xwiki.component.annotation.ComponentAnnotationLoader
-
Location in the classloader of the file defining the list of component implementation class to parser for annotations.
- COMPONENT_OVERRIDE_LIST - Static variable in class org.xwiki.component.annotation.ComponentAnnotationLoader
-
Deprecated.starting with 3.3M1 use the notion of priorities instead (see
ComponentDeclaration
). - ComponentAnnotationLoader - Class in org.xwiki.component.annotation
-
Dynamically loads all components defined using Annotations and declared in META-INF/components.txt files.
- ComponentAnnotationLoader() - Constructor for class org.xwiki.component.annotation.ComponentAnnotationLoader
- ComponentDeclaration - Class in org.xwiki.component.annotation
-
Represents a Component declaration (i.e.
- ComponentDeclaration(String) - Constructor for class org.xwiki.component.annotation.ComponentDeclaration
- ComponentDeclaration(String, int) - Constructor for class org.xwiki.component.annotation.ComponentDeclaration
- ComponentDependencyFactory - Interface in org.xwiki.component.annotation
-
Allows creating
ComponentDependency
instances from a MethodField
. - ComponentDescriptorFactory - Class in org.xwiki.component.annotation
-
Constructs a Component Descriptor out of a class definition that contains Annotations.
- ComponentDescriptorFactory() - Constructor for class org.xwiki.component.annotation.ComponentDescriptorFactory
- componentManager - Variable in class org.xwiki.component.embed.GenericProvider
- ComposableLifecycleHandler - Class in org.xwiki.component.embed
-
Handles lifecycle for
Composable
. - ComposableLifecycleHandler() - Constructor for class org.xwiki.component.embed.ComposableLifecycleHandler
- createComponentDependency(Field) - Method in interface org.xwiki.component.annotation.ComponentDependencyFactory
- createComponentDependency(Field) - Method in class org.xwiki.component.annotation.DefaultComponentDependencyFactory
- createComponentDescriptors(Class<? extends T>, Class<?>) - Method in class org.xwiki.component.annotation.ComponentDescriptorFactory
-
Deprecated.since 4.0M1 use
createComponentDescriptors(Class, Type)
instead - createComponentDescriptors(Class<? extends T>, Type) - Method in class org.xwiki.component.annotation.ComponentDescriptorFactory
-
Create component descriptors for the passed component implementation class and component role class.
- createGenericProvider(ComponentDescriptor<?>, ComponentDependency<?>) - Method in class org.xwiki.component.embed.EmbeddableComponentManager
- createLogger(Class<?>) - Method in class org.xwiki.component.embed.EmbeddableComponentManager
-
Create a Logger instance to inject.
D
- DefaultComponentDependencyFactory - Class in org.xwiki.component.annotation
-
Uses
Inject
andNamed
annotations to recognize a Component Dependency. - DefaultComponentDependencyFactory() - Constructor for class org.xwiki.component.annotation.DefaultComponentDependencyFactory
- dispose() - Method in class org.xwiki.component.embed.EmbeddableComponentManager
E
- EmbeddableComponentManager - Class in org.xwiki.component.embed
-
Simple implementation of
ComponentManager
to be used when using some XWiki modules standalone. - EmbeddableComponentManager() - Constructor for class org.xwiki.component.embed.EmbeddableComponentManager
- EmbeddableComponentManager(String) - Constructor for class org.xwiki.component.embed.EmbeddableComponentManager
- equals(Object) - Method in class org.xwiki.component.annotation.ComponentDeclaration
F
- findComponentRoleClasses(Class<?>) - Method in class org.xwiki.component.annotation.ComponentAnnotationLoader
-
Deprecated.since 4.0M1 use
ComponentAnnotationLoader.findComponentRoleTypes(Class)
instead - findComponentRoleTypes(Class<?>) - Method in class org.xwiki.component.annotation.ComponentAnnotationLoader
- findComponentRoleTypes(Class<?>, Type[]) - Method in class org.xwiki.component.annotation.ComponentAnnotationLoader
G
- GenericProvider<T> - Class in org.xwiki.component.embed
-
Default provider used when the Component Manager needs to inject a
Provider
field but no custom Provider has been registered. - GenericProvider(ComponentManager, RoleHint<T>) - Constructor for class org.xwiki.component.embed.GenericProvider
- get() - Method in class org.xwiki.component.embed.GenericProvider
- getComponentDescriptor(Type, String) - Method in class org.xwiki.component.embed.EmbeddableComponentManager
- getComponentDescriptorList(Class<T>) - Method in class org.xwiki.component.embed.EmbeddableComponentManager
-
Deprecated.
- getComponentDescriptorList(Type) - Method in class org.xwiki.component.embed.EmbeddableComponentManager
- getComponentEventManager() - Method in class org.xwiki.component.embed.EmbeddableComponentManager
- getComponentInstance(RoleHint<T>) - Method in class org.xwiki.component.embed.EmbeddableComponentManager
-
Deprecated.
- getComponentsDescriptors(Class<?>) - Method in class org.xwiki.component.annotation.ComponentAnnotationLoader
- getDeclaredComponents(InputStream) - Method in class org.xwiki.component.annotation.ComponentAnnotationLoader
-
Get all components listed in the passed resource stream.
- getDeclaredComponents(ClassLoader, String) - Method in class org.xwiki.component.annotation.ComponentAnnotationLoader
-
Get all components listed in the passed resource file.
- getDeclaredComponentsFromJAR(InputStream) - Method in class org.xwiki.component.annotation.ComponentAnnotationLoader
-
Get all components listed in a JAR file.
- getDependencyInstance(ComponentDescriptor<?>, Object, ComponentDependency<?>) - Method in class org.xwiki.component.embed.EmbeddableComponentManager
- getGenericRole(Field) - Method in class org.xwiki.component.annotation.AbstractComponentDependencyFactory
-
Deprecated.
- getImplementationClassName() - Method in class org.xwiki.component.annotation.ComponentDeclaration
- getInstance(Type) - Method in class org.xwiki.component.embed.EmbeddableComponentManager
- getInstance(Type, String) - Method in class org.xwiki.component.embed.EmbeddableComponentManager
- getInstance(Type, String) - Method in class org.xwiki.component.embed.GenericProvider
- getInstanceList(Type) - Method in class org.xwiki.component.embed.EmbeddableComponentManager
- getInstanceMap(Type) - Method in class org.xwiki.component.embed.EmbeddableComponentManager
- getLogger() - Method in class org.xwiki.component.annotation.ComponentAnnotationLoader
-
Useful for unit tests that need to capture logs; they can return a mock logger instead of the real logger and thus assert what's been logged.
- getNamespace() - Method in class org.xwiki.component.embed.EmbeddableComponentManager
- getParent() - Method in class org.xwiki.component.embed.EmbeddableComponentManager
- getPriority() - Method in class org.xwiki.component.annotation.ComponentDeclaration
H
- handle(T, ComponentDescriptor<T>, ComponentManager) - Method in class org.xwiki.component.embed.ComposableLifecycleHandler
- handle(T, ComponentDescriptor<T>, ComponentManager) - Method in class org.xwiki.component.embed.InitializableLifecycleHandler
- handle(T, ComponentDescriptor<T>, ComponentManager) - Method in interface org.xwiki.component.embed.LifecycleHandler
-
Handle initialization of the passed component instance.
- hasComponent(Type) - Method in class org.xwiki.component.embed.EmbeddableComponentManager
- hasComponent(Type, String) - Method in class org.xwiki.component.embed.EmbeddableComponentManager
- hashCode() - Method in class org.xwiki.component.annotation.ComponentDeclaration
I
- InitializableLifecycleHandler - Class in org.xwiki.component.embed
-
Handles lifecycle for
InitializableLifecycleHandler
. - InitializableLifecycleHandler() - Constructor for class org.xwiki.component.embed.InitializableLifecycleHandler
- initialize(ClassLoader) - Method in class org.xwiki.component.embed.EmbeddableComponentManager
-
Load all component annotations and register them as components.
- initialize(ComponentManager, ClassLoader) - Method in class org.xwiki.component.annotation.ComponentAnnotationLoader
-
Loads all components defined using annotations.
- initialize(ComponentManager, ClassLoader, List<ComponentDeclaration>) - Method in class org.xwiki.component.annotation.ComponentAnnotationLoader
- isDependencyOfListType(Class<?>) - Method in class org.xwiki.component.annotation.AbstractComponentDependencyFactory
-
Deprecated.since 4.0M1 it's useless
L
- LifecycleHandler - Interface in org.xwiki.component.embed
-
A lifecycle handler is used when instantiating a Component and can perform operation to set up the component (for example if a component implements a given interface calls a method of that interface, etc).
O
- org.xwiki.component.annotation - package org.xwiki.component.annotation
- org.xwiki.component.embed - package org.xwiki.component.embed
R
- register(ComponentManager, ClassLoader, List<ComponentDeclaration>) - Method in class org.xwiki.component.annotation.ComponentAnnotationLoader
- register(ComponentManager, Collection<ComponentDescriptor<?>>) - Method in class org.xwiki.component.annotation.ComponentAnnotationLoader
- registerComponent(ComponentDescriptor<T>) - Method in class org.xwiki.component.embed.EmbeddableComponentManager
- registerComponent(ComponentDescriptor<T>, T) - Method in class org.xwiki.component.embed.EmbeddableComponentManager
- release(Object) - Method in class org.xwiki.component.embed.EmbeddableComponentManager
S
- setComponentEventManager(ComponentEventManager) - Method in class org.xwiki.component.embed.EmbeddableComponentManager
- setParent(ComponentManager) - Method in class org.xwiki.component.embed.EmbeddableComponentManager
T
- toString() - Method in class org.xwiki.component.annotation.ComponentDeclaration
U
- unregister(ComponentManager, ClassLoader, List<ComponentDeclaration>) - Method in class org.xwiki.component.annotation.ComponentAnnotationLoader
- unregisterComponent(Type, String) - Method in class org.xwiki.component.embed.EmbeddableComponentManager
- unregisterComponent(ComponentDescriptor<?>) - Method in class org.xwiki.component.embed.EmbeddableComponentManager
All Classes All Packages