public class AJExtender extends Object
Extend
annotation)
can be called:
AJExtender
can check ExtensionPoint
definitions for
consistency by compiling extensible classes. The compilation process fails if
there are inconsistencies between ExtensionPoint
s and Extend
annotated methods (egg. an annotated method can not be mapped to a method in
the indicated extension by signature matching).Modifier and Type | Class and Description |
---|---|
static interface |
AJExtender.ExtensionBypass<R>
Implementors are aspectJ extension ignoring closures.
|
Constructor and Description |
---|
AJExtender() |
Modifier and Type | Method and Description |
---|---|
static <R> R |
run(AJExtender.ExtensionBypass<R> closure)
Extension-bypass closure runner method.
|
static <R> R |
run(AJExtender.ExtensionBypass<R> closure,
Class<?>[] exTypes)
Extension-bypass closure runner method.
|
public static <R> R run(AJExtender.ExtensionBypass<R> closure, Class<?>[] exTypes) throws Throwable
UndeclaredThrowableException
s.closure
- exTypes
- Throwable
public static <R> R run(AJExtender.ExtensionBypass<R> closure)
closure
- Copyright © 2005–2017 Alfresco Software. All rights reserved.