@Target(value=TYPE) @Retention(value=RUNTIME) public @interface DefinitionByName
Named| Modifier and Type | Optional Element and Description |
|---|---|
String |
named
The key to use for the auto registration of a component that we would like
to be able to retrieve thanks to
Named. |
Class<? extends ExoContainer>[] |
target
The list of target
ExoContainer on which we allow the component to be automatically registered. |
Class<?> |
type
The default implementation to use in case the annotation has not been added on a concrete class.
|
public abstract String named
Named.public abstract Class<?> type
public abstract Class<? extends ExoContainer>[] target
ExoContainer on which we allow the component to be automatically registered.
By default, we allow the kernel to register the component on the PortalContainer and
StandaloneContainer for respectively the portal and standalone modes.Copyright © 2021 eXo Platform SAS. All Rights Reserved.