if( advice == null ) {
advice = factory.getAdvice();
}
if( !( advice instanceof BeforeAfterAdvice ) ) {
throw new AspectException(
"all aspects installed via the "
+ ExecutionClassHandler.class.getName()
+ " are expected to implement "
+ BeforeAfterAdvice.class.getName()
+ ", " + advice.getClass().getName()