public abstract class SingletonExtension<E,T extends Trait> extends Object
Extensibles defining extension-points that this
extension is bound to.The Trait it requires is set at call-time on
the local thread.| Constructor and Description |
|---|
SingletonExtension(Class<T> traitClass) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
acceptsTrait(Object trait) |
boolean |
acceptsTraitClass(Class<?> aTraitClass) |
protected T |
getTrait() |
Copyright © 2005–2018 Alfresco Software. All rights reserved.