public JSR250PolicyProcessor(ExtensionPointRegistry registry) throws IntrospectionException {
super(registry.getExtensionPoint(FactoryExtensionPoint.class).getFactory(AssemblyFactory.class));
this.policyFactory = registry.getExtensionPoint(FactoryExtensionPoint.class).getFactory(PolicyFactory.class);
this.xpathHelper = XPathHelper.getInstance(registry);
NamespaceContextImpl nsContext = new NamespaceContextImpl(null);
nsContext.register("sca", "http://docs.oasis-open.org/ns/opencsa/sca/200912");
XPath path = xpathHelper.newXPath();
try {
appliesToExpression = xpathHelper.compile(path, nsContext, appliesToString);
} catch (XPathExpressionException e) {
throw new IntrospectionException(e);