Skip to content

Commit

Permalink
Remove unused methods. More javadoc.
Browse files Browse the repository at this point in the history
  • Loading branch information
spmallette committed Aug 7, 2012
1 parent 79f3a94 commit 946473a
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 9 deletions.
Expand Up @@ -22,10 +22,6 @@ public ExtensionAllowed(final String namespace) {
this.namespace = namespace;
}

public String getNamespace() {
return namespace;
}

/**
* Determines if the namespace and extension are allowed given the configuration of the graph in rexster.xml.
*/
Expand Down
Expand Up @@ -7,13 +7,30 @@
import java.lang.reflect.Method;
import java.util.HashMap;

/**
* Holds the reflected method for the extension service call and its associated
* extension attributes.
*/
public class ExtensionMethod {

/**
* The service method.
*/
private final Method method;

/**
* The definition of the extension.
*/
private final ExtensionDefinition extensionDefinition;

/**
* The descriptor for the extension.
*/
private final ExtensionDescriptor extensionDescriptor;

/**
* The extension class that owns this method.
*/
private final RexsterExtension rexsterExtension;

public ExtensionMethod(final Method method, final ExtensionDefinition extensionDefinition,
Expand All @@ -33,10 +50,6 @@ public ExtensionDefinition getExtensionDefinition() {
return this.extensionDefinition;
}

public ExtensionDescriptor getExtensionDescriptor() {
return this.extensionDescriptor;
}

public RexsterExtension getRexsterExtension() {
return this.rexsterExtension;
}
Expand Down
Expand Up @@ -4,10 +4,11 @@
* Marks a class as one that can be used as an extension to Rexster.
*/
public interface RexsterExtension {

/**
* Determines if the configuration for the extension is valid.
*
* @return True if the configuration is valid and false otherwise.
*/
public boolean isConfigurationValid(ExtensionConfiguration extensionConfiguration);
public boolean isConfigurationValid(final ExtensionConfiguration extensionConfiguration);
}

0 comments on commit 946473a

Please sign in to comment.