in modules/core/src/main/java/org/apache/savan/configuration/ConfigurationManager.java [256:278]
private void processSubscriberStore(OMElement element) throws SavanException {
OMElement keyElement = element.getFirstChildWithName(new QName(KEY));
if (keyElement == null)
throw new SavanException("SubscriberStore must have a 'key' subelement");
String key = keyElement.getText();
OMElement classElement = element.getFirstChildWithName(new QName(CLASS));
if (classElement == null)
throw new SavanException("SubscriberStore must have a 'Clazz' subelement'");
String clazz = classElement.getText();
//initialize the class to check weather it is value
Object obj = getObject(clazz);
if (!(obj instanceof SubscriberStore)) {
String message =
"Class " + clazz + " does not implement the SubscriberStore interface.";
throw new SavanException(message);
}
subscriberStoreNamesMap.put(key, clazz);
}