currentExtensionNamespace, currentExtensionName);
if (this.isExtensionAllowed(extensionSegmentSet)) {
final ExtensionConfiguration extensionConfig = this.findExtensionConfiguration(
currentExtensionNamespace, currentExtensionName);
RexsterExtension rexsterExtension = null;
try {
rexsterExtension = (RexsterExtension) clazz.newInstance();
} catch (Exception ex) {
logger.warn(String.format("Failed extension configuration check for %s on graph %s",
currentNamespaceAndName, graphName));
}
if (rexsterExtension != null) {
if (rexsterExtension.isConfigurationValid(extensionConfig)) {
final Method[] methods = clazz.getMethods();
for (Method method : methods) {
final ExtensionDescriptor descriptor = method.getAnnotation(ExtensionDescriptor.class);
final ExtensionDefinition definition = method.getAnnotation(ExtensionDefinition.class);