Package | Description |
---|---|
org.alfresco.traitextender |
Modifier and Type | Method and Description |
---|---|
boolean |
InstanceExtensionFactory.canCreateExtensionFor(ExtensionPoint<?,?> point) |
boolean |
ExtensionFactory.canCreateExtensionFor(ExtensionPoint<?,?> point) |
boolean |
SingletonExtensionFactory.canCreateExtensionFor(ExtensionPoint<?,?> point) |
<E,M extends Trait> |
ExtenderImpl.getExtension(Extensible anExtensible,
ExtensionPoint<E,M> point) |
abstract <E,M extends Trait> |
Extender.getExtension(Extensible anExtensible,
ExtensionPoint<E,M> point)
Creates and returns a unique per
ExtensibleTrait object or
null if no extension-point factory is registered for the
given ExtensionPoint .Given that Extensible.getTrait(Class) is used to obtain the
ExtendedTrait that the returned extension is uniquely associated
with, the uniqueness and garbage collection of the returned extension is
dependent on how the given Extensible handles its
ExtendedTrait s. |
void |
ExtenderImpl.register(ExtensionPoint<?,?> point,
ExtensionFactory<?> factory) |
abstract void |
Extender.register(ExtensionPoint<?,?> point,
ExtensionFactory<?> factory)
Registers an extension-point to factory association to be used in
extension creation.
|
<E,C extends E,M extends Trait> |
RegistryExtensionBundle.register(ExtensionPoint<E,M> point,
ExtensionFactory<C> factory)
Registers an association between the given
ExtensionPoint and
ExtensionFactory .At RegistryExtensionBundle.start(Extender) time all registered ExtensionPoint s
will be registered with the given Extender .At RegistryExtensionBundle.stop(Extender) time all registered ExtensionPoint s
will be unregistered with the given Extender . |
void |
ExtenderImpl.unregister(ExtensionPoint<?,?> point) |
abstract void |
Extender.unregister(ExtensionPoint<?,?> point)
Unregisters an extension-point to factory association of the given
extension point.
|
Copyright © 2005–2017 Alfresco Software. All rights reserved.