You are viewing a plain text version of this content. The canonical link for it is here.
Posted to muse-commits@ws.apache.org by da...@apache.org on 2007/01/05 16:54:31 UTC
svn commit: r493056 -
/webservices/muse/trunk/modules/muse-osgi-core/src/org/apache/muse/core/platform/osgi/descriptor/OSGiDeploymentDescriptor.java
Author: danj
Date: Fri Jan 5 07:54:29 2007
New Revision: 493056
URL: http://svn.apache.org/viewvc?view=rev&rev=493056
Log:
Added setter methods to OSGiDeploymentDescriptor to fix build; toXML() throws unsupported right now - there's
no difference between this class's schema and SimpleDeploymentDescriptor, so users should use that if they
want to make muse.xml files.
Modified:
webservices/muse/trunk/modules/muse-osgi-core/src/org/apache/muse/core/platform/osgi/descriptor/OSGiDeploymentDescriptor.java
Modified: webservices/muse/trunk/modules/muse-osgi-core/src/org/apache/muse/core/platform/osgi/descriptor/OSGiDeploymentDescriptor.java
URL: http://svn.apache.org/viewvc/webservices/muse/trunk/modules/muse-osgi-core/src/org/apache/muse/core/platform/osgi/descriptor/OSGiDeploymentDescriptor.java?view=diff&rev=493056&r1=493055&r2=493056
==============================================================================
--- webservices/muse/trunk/modules/muse-osgi-core/src/org/apache/muse/core/platform/osgi/descriptor/OSGiDeploymentDescriptor.java (original)
+++ webservices/muse/trunk/modules/muse-osgi-core/src/org/apache/muse/core/platform/osgi/descriptor/OSGiDeploymentDescriptor.java Fri Jan 5 07:54:29 2007
@@ -289,5 +289,24 @@
public RouterDefinition getRouterDefinition() {
return _localRouterDefinition;
}
-
+
+ public void setSerializerDefinitions(Collection definitions) {
+ _serializerDefinitions = definitions;
+ }
+
+ public void setResourceDefinitions(Collection definitions) {
+ _resourceDefinitions = definitions;
+ }
+
+ public void setRouterDefinition(RouterDefinition definition) {
+ _localRouterDefinition = definition;
+ }
+
+ public Element toXML() {
+ return toXML(XmlUtils.EMPTY_DOC);
+ }
+
+ public Element toXML(Document doc) {
+ throw new UnsupportedOperationException("Use SimpleDeploymentDescriptor for descriptor serialization.");
+ }
}
---------------------------------------------------------------------
To unsubscribe, e-mail: muse-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-commits-help@ws.apache.org