Creates a new instance of PolicyResourceLoader
return new InputStreamReader(Thread.currentThread().getContextClassLoader().getResourceAsStream(resourceName));
return translateModel(unmarshallModel(resourceName));
return PolicyModelTranslator.getTranslator().translate(model);
Reader reader = getResourceReader(resource); PolicySourceModel model = PolicyModelUnmarshaller.getXmlUnmarshaller().unmarshalModel(reader); reader.close(); return model;