Author: keith
Date: Tue Apr 22 02:57:10 2008
New Revision: 15940
Log:
Adding some javadoc comments
Modified:
trunk/mashup/java/modules/javascriptdeployer/src/org/wso2/mashup/deployer/JavaScriptServiceAnnotationParser.java
Modified:
trunk/mashup/java/modules/javascriptdeployer/src/org/wso2/mashup/deployer/JavaScriptServiceAnnotationParser.java
==============================================================================
---
trunk/mashup/java/modules/javascriptdeployer/src/org/wso2/mashup/deployer/JavaScriptServiceAnnotationParser.java
(original)
+++
trunk/mashup/java/modules/javascriptdeployer/src/org/wso2/mashup/deployer/JavaScriptServiceAnnotationParser.java
Tue Apr 22 02:57:10 2008
@@ -45,20 +45,28 @@
*/
public class JavaScriptServiceAnnotationParser {
+ // Holds the value for targetNamespace annotation
private String targetNamespace = null;
+ // Holds the value for schemaTargetNamespace annotation
private String schemaTargetNamespace = null;
+ // Holds the value for serviceName annotation
private String serviceName;
+ // Holds the value for serviceScope annotation
private String serviceScope;
+ // Holds the value for serviceDocumentation annotation
private OMNode serviceDocumentation;
+ // Holds the value for init annotation
private Function init = null;
+ // Holds the value for destroy annotation
private Function destroy = null;
+ // Holds the value for undispatched annotation
private String undispatched;
private OMFactory omFactory = OMAbstractFactory.getOMFactory();
@@ -124,35 +132,67 @@
}
}
+ /**
+ * Getter for the schemaTargetNamespace
+ * @return String representing the schemaTargetNamespace
+ */
public String getSchemaTargetNamespace() {
return schemaTargetNamespace;
}
+ /**
+ * Getter for the targetNamespace
+ * @return String representing the targetNamespace
+ */
public String getTargetNamespace() {
return targetNamespace;
}
+ /**
+ * Getter for the serviceName
+ * @return String representing the serviceName
+ */
public String getServiceName() {
return serviceName;
}
+ /**
+ * Getter for the serviceScope
+ * @return String representing the serviceScope
+ */
public String getServiceScope() {
return serviceScope;
}
+ /**
+ * Getter for the service Documentation
+ * @return OMNode representing the service Documentation
+ */
public OMNode getServiceDocumentation() {
return serviceDocumentation;
}
+ /**
+ * Getter for init
+ * @return Function representing the init operation
+ */
public Function getInit() {
return init;
}
+ /**
+ * Getter for destroy
+ * @return Function representing the destroy operation
+ */
public Function getDestroy() {
return destroy;
}
+ /**
+ * Getter for undispatched
+ * @return String representing the undispatched operation
+ */
public String getUndispatched() {
return undispatched;
}
-}
+}
\ No newline at end of file
_______________________________________________
Mashup-dev mailing list
[email protected]
http://www.wso2.org/cgi-bin/mailman/listinfo/mashup-dev