Package org.exoplatform.container.spi
Annotation Type DefinitionByQualifier
-
@Target(TYPE) @Retention(RUNTIME) public @interface DefinitionByQualifier
This annotation can be used to provide a default definition of the component when we try to access it thanks to aQualifier.- Version:
- $Id$
- Author:
- Nicolas Filotto
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description Class<? extends Annotation>qualifierThe key to use for the auto registration of a component that we would like to be able to retrieve thanks to aQualifier
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description Class<? extends ExoContainer>[]targetThe list of targetExoContaineron which we allow the component to be automatically registered.Class<?>typeThe default implementation to use in case the annotation has not been added on a concrete class.
-
-
-
Element Detail
-
qualifier
Class<? extends Annotation> qualifier
The key to use for the auto registration of a component that we would like to be able to retrieve thanks to aQualifier
-
-
-
type
Class<?> type
The default implementation to use in case the annotation has not been added on a concrete class.- Default:
- void.class
-
-
-
target
Class<? extends ExoContainer>[] target
The list of targetExoContaineron which we allow the component to be automatically registered. By default, we allow the kernel to register the component on thePortalContainerandStandaloneContainerfor respectively the portal and standalone modes.- Default:
- {org.exoplatform.container.PortalContainer.class, org.exoplatform.container.StandaloneContainer.class}
-
-