Uses of Class
org.alfresco.traitextender.ExtensionPoint
Packages that use ExtensionPoint
-
Uses of ExtensionPoint in org.alfresco.traitextender
Methods in org.alfresco.traitextender with parameters of type ExtensionPointModifier and TypeMethodDescriptionbooleanExtensionFactory.canCreateExtensionFor(ExtensionPoint<?, ?> point) booleanInstanceExtensionFactory.canCreateExtensionFor(ExtensionPoint<?, ?> point) booleanSingletonExtensionFactory.canCreateExtensionFor(ExtensionPoint<?, ?> point) abstract <E,M extends Trait>
EExtender.getExtension(Extensible anExtensible, ExtensionPoint<E, M> point) Creates and returns a unique perExtensibleTraitobject ornullif no extension-point factory is registered for the givenExtensionPoint.
Given thatExtensible.getTrait(Class)is used to obtain theExtendedTraitthat the returned extension is uniquely associated with, the uniqueness and garbage collection of the returned extension is dependent on how the givenExtensiblehandles itsExtendedTraits.<E,M extends Trait>
EExtenderImpl.getExtension(Extensible anExtensible, ExtensionPoint<E, M> point) abstract voidExtender.register(ExtensionPoint<?, ?> point, ExtensionFactory<?> factory) Registers an extension-point to factory association to be used in extension creation.voidExtenderImpl.register(ExtensionPoint<?, ?> point, ExtensionFactory<?> factory) <E,C extends E, M extends Trait>
voidRegistryExtensionBundle.register(ExtensionPoint<E, M> point, ExtensionFactory<C> factory) Registers an association between the givenExtensionPointandExtensionFactory.
AtRegistryExtensionBundle.start(Extender)time all registeredExtensionPoints will be registered with the givenExtender.
AtRegistryExtensionBundle.stop(Extender)time all registeredExtensionPoints will be unregistered with the givenExtender.abstract voidExtender.unregister(ExtensionPoint<?, ?> point) Unregisters an extension-point to factory association of the given extension point.voidExtenderImpl.unregister(ExtensionPoint<?, ?> point)