Package org.alfresco.traitextender
Class ExtensionPoint<E,M extends Trait>
- java.lang.Object
-
- org.alfresco.traitextender.ExtensionPoint<E,M>
-
public class ExtensionPoint<E,M extends Trait> extends Object
Defines a two-way interfacing mechanism between aTraitexposing object and an extension of that object.
The extended object can call methods of theextensionAPIwhich will be able to interact with the extended object through thetraitAPIinterface it was paired with in the extension point. The actual circumstances in which the extension methods are invoked are not defined by the extension point.- Author:
- Bogdan Horje
-
-
Constructor Summary
Constructors Constructor Description ExtensionPoint(Class<E> extensionAPI, Class<M> traitAPI)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)Class<E>getExtensionAPI()Class<M>getTraitAPI()inthashCode()StringtoString()
-