Package org.alfresco.traitextender
Class ExtendedTrait<T extends Trait>
java.lang.Object
org.alfresco.traitextender.ExtendedTrait<T>
Trait based extension reference holder.
Keeps track of extension references for one extensible and allows the collection of those extensions when the extensible is collected.
Keeps track of extension references for one extensible and allows the collection of those extensions when the extensible is collected.
- Author:
- Bogdan Horje
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<E> Eextend(Class<E> extensionAPI, ExtensionFactory<E> factory) <E> EgetExtension(Class<E> extensionAPI) getTrait()
-
Constructor Details
-
ExtendedTrait
-
-
Method Details
-
getTrait
-
getExtension
-
extend
-