}
}
public static AbstractTestDelegate getDelegate(Class<?> clazz) throws Exception
{
AbstractTestDelegate delegate = new UclClassPoolTestDelegate(clazz);
String property = System.getProperty("jboss.aop.secure", "true");
boolean enableSecurity = Boolean.valueOf(property).booleanValue();
delegate.enableSecurity = enableSecurity;
return delegate;
}