summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/modules/deployment/src/main
diff options
context:
space:
mode:
authorlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2009-12-18 17:55:54 +0000
committerlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2009-12-18 17:55:54 +0000
commit1d9d90639d2b679dc82443dd1b2011effc34261b (patch)
treefb450853240b387a97adc63f461c836c01f1b430 /sca-java-2.x/trunk/modules/deployment/src/main
parentc49527a54252db75c7498b786a736b86e56f8572 (diff)
TUSCANY-3397 - Adding support for identifying the sca spec version used for contribution metadata being read
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@892324 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/modules/deployment/src/main')
-rw-r--r--sca-java-2.x/trunk/modules/deployment/src/main/java/org/apache/tuscany/sca/deployment/Deployer.java21
1 files changed, 12 insertions, 9 deletions
diff --git a/sca-java-2.x/trunk/modules/deployment/src/main/java/org/apache/tuscany/sca/deployment/Deployer.java b/sca-java-2.x/trunk/modules/deployment/src/main/java/org/apache/tuscany/sca/deployment/Deployer.java
index dce9a308ce..b0b08cd49e 100644
--- a/sca-java-2.x/trunk/modules/deployment/src/main/java/org/apache/tuscany/sca/deployment/Deployer.java
+++ b/sca-java-2.x/trunk/modules/deployment/src/main/java/org/apache/tuscany/sca/deployment/Deployer.java
@@ -49,6 +49,18 @@ import org.apache.tuscany.sca.monitor.Monitor;
*/
public interface Deployer extends LifeCycleListener {
/**
+ * Check if Schema Validation for XML Documents is enabled
+ * @return
+ */
+ boolean isSchemaValidationEnabled();
+
+ /**
+ * Sets Schema Validation for XML Documents flag
+ * @param schemaValidationEnabled
+ */
+ void setSchemaValidationEnabled(boolean schemaValidationEnabled);
+
+ /**
* Attach a deployment composite to the given contribution
* @param contribution The target contribution
* @param composite The deployment composite
@@ -149,15 +161,6 @@ public interface Deployer extends LifeCycleListener {
*/
void saveXMLElement(Object model, XMLStreamWriter writer, Monitor monitor) throws XMLStreamException,
ContributionWriteException;
-
- /**
- * @return
- */
- boolean isSchemaValidationEnabled();
- /**
- * @param schemaValidationEnabled
- */
- void setSchemaValidationEnabled(boolean schemaValidationEnabled);
/**
*