// create get pointcut
Expression expression = bindAdviceRule.getExpression();
if (!expression.getType().equals(PointcutType.GET)) {
continue;
}
GetPointcut pointcut = new GetPointcut(uuid, expression);
// add before and after advices
List adviceRefs = bindAdviceRule.getAdviceRefs();
for (Iterator it3 = adviceRefs.iterator(); it3.hasNext();) {
String adviceRef = (String)it3.next();
if (((XmlDefSystem)SystemLoader.getSystem(uuid)).
getAdvice(adviceRef) instanceof PreAdvice) {
pointcut.addBeforeAdvice(adviceRef);
}
else if (((XmlDefSystem)SystemLoader.getSystem(uuid)).
getAdvice(adviceRef) instanceof PostAdvice) {
pointcut.addAfterAdvice(adviceRef);
}
}
// add advices from advice stacks
List adviceStackRefs = bindAdviceRule.getAdviceStackRefs();
for (Iterator it3 = adviceStackRefs.iterator(); it3.hasNext();) {
AdviceStackDefinition adviceStackDefinition =
definition.getAdviceStackDefinition((String)it3.next());
adviceRefs = adviceStackDefinition.getAdviceRefs();
for (Iterator it4 = adviceRefs.iterator(); it4.hasNext();) {
String adviceRef = (String)it4.next();
if (((XmlDefSystem)SystemLoader.getSystem(uuid)).
getAdvice(adviceRef) instanceof PreAdvice) {
pointcut.addBeforeAdvice(adviceRef);
}
else if (((XmlDefSystem)SystemLoader.getSystem(uuid)).
getAdvice(adviceRef) instanceof PostAdvice) {
pointcut.addAfterAdvice(adviceRef);
}
}
}
// add the get pointcut