Package org.exoplatform.container.spi
Annotation Interface DefinitionByType
This annotation can be used to provide a default definition of the component when we try to access it by type.
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionClass<? extends ExoContainer>[]The list of targetExoContaineron which we allow the component to be automatically registered.Class<?> The default implementation to use in case the annotation has not been added on a concrete class.
-
Element Details
-
type
Class<?> typeThe default implementation to use in case the annotation has not been added on a concrete class.- Default:
void.class
-
target
Class<? extends ExoContainer>[] targetThe 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}
-