public boolean isSupportsCandidateAnnotations() { return deployer.isSupportsCandidateAnnotations(); }
public boolean determineStructure(StructureContext context) throws DeploymentException { if (context == null) throw new IllegalArgumentException("Null context"); if (context.isCandidateAnnotationScanning() && deployer.isSupportsCandidateAnnotations() == false) return false; ClassLoader previous = SecurityActions.setContextClassLoader(classLoader); try { boolean result = deployer.determineStructure(context); if (log.isTraceEnabled()) { if (result == false) log.trace("Not recognised: " + context.getName()); else log.trace("Recognised: " + context.getName()); } return result; } finally { SecurityActions.resetContextClassLoader(previous); } }