You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by gn...@apache.org on 2007/01/12 21:34:39 UTC
svn commit: r495729 -
/incubator/servicemix/trunk/deployables/serviceengines/servicemix-jsr181/src/main/java/org/apache/servicemix/jsr181/Jsr181Endpoint.java
Author: gnodet
Date: Fri Jan 12 12:34:38 2007
New Revision: 495729
URL: http://svn.apache.org/viewvc?view=rev&rev=495729
Log:
SM-818: polymorphic javabean support in jsr181
Modified:
incubator/servicemix/trunk/deployables/serviceengines/servicemix-jsr181/src/main/java/org/apache/servicemix/jsr181/Jsr181Endpoint.java
Modified: incubator/servicemix/trunk/deployables/serviceengines/servicemix-jsr181/src/main/java/org/apache/servicemix/jsr181/Jsr181Endpoint.java
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/deployables/serviceengines/servicemix-jsr181/src/main/java/org/apache/servicemix/jsr181/Jsr181Endpoint.java?view=diff&rev=495729&r1=495728&r2=495729
==============================================================================
--- incubator/servicemix/trunk/deployables/serviceengines/servicemix-jsr181/src/main/java/org/apache/servicemix/jsr181/Jsr181Endpoint.java (original)
+++ incubator/servicemix/trunk/deployables/serviceengines/servicemix-jsr181/src/main/java/org/apache/servicemix/jsr181/Jsr181Endpoint.java Fri Jan 12 12:34:38 2007
@@ -80,6 +80,7 @@
protected ExchangeProcessor processor;
protected Resource wsdlResource;
protected boolean mtomEnabled = false;
+ protected Map properties;
public Jsr181Endpoint() {
processor = new Jsr181ExchangeProcessor(this);
@@ -145,6 +146,20 @@
}
/**
+ * @return the properties
+ */
+ public Map getProperties() {
+ return properties;
+ }
+
+ /**
+ * @param properties the properties to set
+ */
+ public void setProperties(Map properties) {
+ this.properties = properties;
+ }
+
+ /**
* @return Returns the xfireService.
*/
public Service getXFireService() {
@@ -279,6 +294,9 @@
props.put(ObjectServiceFactory.USE, SoapConstants.USE_LITERAL);
if (serviceInterface != null) {
props.put(AnnotationServiceFactory.ALLOW_INTERFACE, Boolean.TRUE);
+ }
+ if (properties != null) {
+ props.putAll(properties);
}
xfireService = factory.create(serviceClass, svcLocalName, svcNamespace, props);
xfireService.setInvoker(new BeanInvoker(getPojo()));