public interface Extensible
Extensible
object exposes a set of Trait
s as
ExtendedTrait
s objects.ExtendedTrait
is an association between a Trait
exposing
object and several extension objects.Trait
s 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
).Trait
s 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–2017 Alfresco Software. All rights reserved.