public interface ExtensionFactory<E>
Trait
s and
ExtensionPoint
s.Modifier and Type | Method and Description |
---|---|
boolean |
canCreateExtensionFor(ExtensionPoint<?,?> point) |
<T extends Trait> |
createExtension(T trait) |
boolean canCreateExtensionFor(ExtensionPoint<?,?> point)
point
- true
if the given extensio-point API elements are
compatible with the returned extension (i.e. the given extension
API is assignable form the type of the extension created by this
factory and the Trait
accepted as aparameter in
createExtension(Trait)
is assignable from the type of
the given trait API).Copyright © 2005–2017 Alfresco Software. All rights reserved.