public interface Extensible
Extensible object exposes a set of Traits as
ExtendedTraits objects.ExtendedTrait is an association between a Trait exposing
object and several extension objects.Traits and associated extensions provided by an
Extensible object are given by its ExtensionPoint handling
strategy and by the current set of registered extensions (see
Extender).Traits can be thought of as parts of an object's
interface that will be exposed to an extension. Upon the extension invocation
the given trait instances will be made available to their corresponding
extensions.| Modifier and Type | Method and Description |
|---|---|
<T extends Trait> |
getTrait(Class<? extends T> traitAPI) |
<T extends Trait> ExtendedTrait<T> getTrait(Class<? extends T> traitAPI)
Copyright © 2005–2018 Alfresco Software. All rights reserved.