|
eXo Kernel :: Container 2.5.0-GA | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Target(value=TYPE) @Retention(value=RUNTIME) public @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 | |
|---|---|
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 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.
|
eXo Kernel :: Container 2.5.0-GA | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||