Package org.alfresco.traitextender
Interface Extensible
-
- All Known Implementing Classes:
AliasableAspectCopyBehaviourCallback,AllowPermissionServiceImpl,CheckOutCheckInServiceImpl,DbNodeServiceImpl,DefaultCopyBehaviourCallback,FileFolderServiceImpl,LockableAspectInterceptor,LockServiceImpl,PermissionServiceImpl,PreferenceServiceImpl,RatingServiceImpl,Version2ServiceImpl,WorkflowPackageImpl
public interface ExtensibleAnExtensibleobject exposes a set ofTraits asExtendedTraits objects.
AnExtendedTraitis an association between aTraitexposing object and several extension objects.
The actualTraits and associated extensions provided by anExtensibleobject are given by itsExtensionPointhandling strategy and by the current set of registered extensions (seeExtender).
The exposedTraits 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.- Author:
- Bogdan Horje
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T extends Trait>
ExtendedTrait<T>getTrait(java.lang.Class<? extends T> traitAPI)
-
-
-
Method Detail
-
getTrait
<T extends Trait> ExtendedTrait<T> getTrait(java.lang.Class<? extends T> traitAPI)
-
-