Author: thomas.diesler(a)jboss.com
Date: 2008-04-30 16:55:41 -0400 (Wed, 30 Apr 2008)
New Revision: 6822
Added:
stack/native/branches/tdiesler/trunk/modules/client/src/
stack/native/branches/tdiesler/trunk/modules/client/src/main/
stack/native/branches/tdiesler/trunk/modules/client/src/main/resources/
stack/native/branches/tdiesler/trunk/modules/client/src/main/resources/META-INF/
stack/native/branches/tdiesler/trunk/modules/client/src/main/resources/META-INF/standard-config/
stack/native/branches/tdiesler/trunk/modules/client/src/main/resources/META-INF/standard-config/standard-jaxrpc-client-config.xml
stack/native/branches/tdiesler/trunk/modules/client/src/main/resources/META-INF/standard-config/standard-jaxrpc-endpoint-config.xml
stack/native/branches/tdiesler/trunk/modules/client/src/main/resources/META-INF/standard-config/standard-jaxws-client-config.xml
stack/native/branches/tdiesler/trunk/modules/client/src/main/resources/META-INF/standard-config/standard-jaxws-endpoint-config.xml
stack/native/branches/tdiesler/trunk/modules/embedded/
stack/native/branches/tdiesler/trunk/modules/embedded/pom.xml
stack/native/branches/tdiesler/trunk/modules/embedded/src/
stack/native/branches/tdiesler/trunk/modules/embedded/src/main/
stack/native/branches/tdiesler/trunk/modules/embedded/src/main/java/
stack/native/branches/tdiesler/trunk/modules/embedded/src/main/java/org/
stack/native/branches/tdiesler/trunk/modules/embedded/src/main/java/org/jboss/
stack/native/branches/tdiesler/trunk/modules/embedded/src/main/java/org/jboss/wsf/
stack/native/branches/tdiesler/trunk/modules/embedded/src/main/java/org/jboss/wsf/stack/
stack/native/branches/tdiesler/trunk/modules/embedded/src/main/java/org/jboss/wsf/stack/jbws/
stack/native/branches/tdiesler/trunk/modules/embedded/src/main/java/org/jboss/wsf/stack/jbws/embedded/
stack/native/branches/tdiesler/trunk/modules/embedded/src/main/java/org/jboss/wsf/stack/jbws/embedded/DeploymentModelBuilder.java
stack/native/branches/tdiesler/trunk/modules/embedded/src/main/java/org/jboss/wsf/stack/jbws/embedded/EmbeddableWSFRuntime.java
stack/native/branches/tdiesler/trunk/modules/embedded/src/main/java/org/jboss/wsf/stack/jbws/embedded/EmbeddedBootstrap.java
stack/native/branches/tdiesler/trunk/modules/embedded/src/main/java/org/jboss/wsf/stack/jbws/embedded/HttpEndpointPublishAspect.java
stack/native/branches/tdiesler/trunk/modules/embedded/src/main/java/org/jboss/wsf/stack/jbws/embedded/InvocationHandlerJSE.java
stack/native/branches/tdiesler/trunk/modules/embedded/src/main/java/org/jboss/wsf/stack/jbws/embedded/JSEInvocationHandlerFactory.java
stack/native/branches/tdiesler/trunk/modules/embedded/src/main/java/org/jboss/wsf/stack/jbws/embedded/NoopWebServiceContextFactory.java
stack/native/branches/tdiesler/trunk/modules/embedded/src/main/java/org/jboss/wsf/stack/jbws/embedded/StandaloneServerConfig.java
stack/native/branches/tdiesler/trunk/modules/embedded/src/main/java/org/jboss/wsf/stack/jbws/embedded/standalone-config.xml
stack/native/branches/tdiesler/trunk/modules/embedded/src/main/resources/
stack/native/branches/tdiesler/trunk/modules/embedded/src/main/resources/META-INF/
stack/native/branches/tdiesler/trunk/modules/embedded/src/main/resources/META-INF/services/
stack/native/branches/tdiesler/trunk/modules/embedded/target/
stack/native/branches/tdiesler/trunk/modules/embedded/target/classes/
stack/native/branches/tdiesler/trunk/modules/embedded/target/classes/org/
stack/native/branches/tdiesler/trunk/modules/embedded/target/classes/org/jboss/
stack/native/branches/tdiesler/trunk/modules/embedded/target/classes/org/jboss/wsf/
stack/native/branches/tdiesler/trunk/modules/embedded/target/classes/org/jboss/wsf/stack/
stack/native/branches/tdiesler/trunk/modules/embedded/target/classes/org/jboss/wsf/stack/jbws/
stack/native/branches/tdiesler/trunk/modules/embedded/target/classes/org/jboss/wsf/stack/jbws/embedded/
stack/native/branches/tdiesler/trunk/modules/embedded/target/classes/org/jboss/wsf/stack/jbws/embedded/DeploymentModelBuilder.class
stack/native/branches/tdiesler/trunk/modules/embedded/target/classes/org/jboss/wsf/stack/jbws/embedded/EmbeddableWSFRuntime.class
stack/native/branches/tdiesler/trunk/modules/embedded/target/classes/org/jboss/wsf/stack/jbws/embedded/EmbeddedBootstrap$Shutdown.class
stack/native/branches/tdiesler/trunk/modules/embedded/target/classes/org/jboss/wsf/stack/jbws/embedded/EmbeddedBootstrap.class
stack/native/branches/tdiesler/trunk/modules/embedded/target/classes/org/jboss/wsf/stack/jbws/embedded/HttpEndpointPublishAspect.class
stack/native/branches/tdiesler/trunk/modules/embedded/target/classes/org/jboss/wsf/stack/jbws/embedded/InvocationHandlerJSE.class
stack/native/branches/tdiesler/trunk/modules/embedded/target/classes/org/jboss/wsf/stack/jbws/embedded/JSEInvocationHandlerFactory$1.class
stack/native/branches/tdiesler/trunk/modules/embedded/target/classes/org/jboss/wsf/stack/jbws/embedded/JSEInvocationHandlerFactory.class
stack/native/branches/tdiesler/trunk/modules/embedded/target/classes/org/jboss/wsf/stack/jbws/embedded/NoopWebServiceContextFactory$NoopWebServiceContext.class
stack/native/branches/tdiesler/trunk/modules/embedded/target/classes/org/jboss/wsf/stack/jbws/embedded/NoopWebServiceContextFactory.class
stack/native/branches/tdiesler/trunk/modules/embedded/target/classes/org/jboss/wsf/stack/jbws/embedded/StandaloneServerConfig.class
stack/native/branches/tdiesler/trunk/modules/embedded/target/jbossws-native-embedded-3.0.2-SNAPSHOT-sources.jar
stack/native/branches/tdiesler/trunk/modules/embedded/target/jbossws-native-embedded-3.0.2-SNAPSHOT.jar
stack/native/branches/tdiesler/trunk/modules/embedded/target/maven-archiver/
stack/native/branches/tdiesler/trunk/modules/embedded/target/maven-archiver/pom.properties
stack/native/branches/tdiesler/trunk/modules/management/
stack/native/branches/tdiesler/trunk/modules/management/pom.xml
stack/native/branches/tdiesler/trunk/modules/management/src/
Removed:
stack/native/branches/tdiesler/trunk/modules/client/src/main/resources/META-INF/standard-config/standard-jaxrpc-client-config.xml
stack/native/branches/tdiesler/trunk/modules/client/src/main/resources/META-INF/standard-config/standard-jaxrpc-endpoint-config.xml
stack/native/branches/tdiesler/trunk/modules/client/src/main/resources/META-INF/standard-config/standard-jaxws-client-config.xml
stack/native/branches/tdiesler/trunk/modules/client/src/main/resources/META-INF/standard-config/standard-jaxws-endpoint-config.xml
stack/native/branches/tdiesler/trunk/modules/core/src/main/java/org/jboss/wsf/stack/jbws/embedded/
stack/native/branches/tdiesler/trunk/modules/embedded/src/main/java/org/jboss/wsf/stack/jbws/embedded/DeploymentModelBuilder.java
stack/native/branches/tdiesler/trunk/modules/embedded/src/main/java/org/jboss/wsf/stack/jbws/embedded/EmbeddableWSFRuntime.java
stack/native/branches/tdiesler/trunk/modules/embedded/src/main/java/org/jboss/wsf/stack/jbws/embedded/EmbeddedBootstrap.java
stack/native/branches/tdiesler/trunk/modules/embedded/src/main/java/org/jboss/wsf/stack/jbws/embedded/HttpEndpointPublishAspect.java
stack/native/branches/tdiesler/trunk/modules/embedded/src/main/java/org/jboss/wsf/stack/jbws/embedded/InvocationHandlerJSE.java
stack/native/branches/tdiesler/trunk/modules/embedded/src/main/java/org/jboss/wsf/stack/jbws/embedded/JSEInvocationHandlerFactory.java
stack/native/branches/tdiesler/trunk/modules/embedded/src/main/java/org/jboss/wsf/stack/jbws/embedded/NoopWebServiceContextFactory.java
stack/native/branches/tdiesler/trunk/modules/embedded/src/main/java/org/jboss/wsf/stack/jbws/embedded/StandaloneServerConfig.java
stack/native/branches/tdiesler/trunk/modules/embedded/src/main/java/org/jboss/wsf/stack/jbws/embedded/standalone-config.xml
stack/native/branches/tdiesler/trunk/modules/embedded/src/main/resources/META-INF/services/
stack/native/branches/tdiesler/trunk/modules/management/pom.xml
stack/native/branches/tdiesler/trunk/modules/management/src/
stack/native/branches/tdiesler/trunk/src/main/resources/jboss-saaj.jar/
stack/native/branches/tdiesler/trunk/src/main/resources/jbossws-context.war/
stack/native/branches/tdiesler/trunk/src/main/resources/jbossws-embedded.jar/
stack/native/branches/tdiesler/trunk/src/main/resources/standard-config/
Modified:
stack/native/branches/tdiesler/trunk/modules/core/
stack/native/branches/tdiesler/trunk/modules/core/pom.xml
stack/native/branches/tdiesler/trunk/modules/management/src/main/webapp/WEB-INF/jboss-web.xml
stack/native/branches/tdiesler/trunk/modules/management/src/main/webapp/WEB-INF/web.xml
stack/native/branches/tdiesler/trunk/modules/management/src/main/webapp/index.html
stack/native/branches/tdiesler/trunk/modules/management/src/main/webapp/styles.css
stack/native/branches/tdiesler/trunk/pom.xml
Log:
Copied:
stack/native/branches/tdiesler/trunk/modules/client/src/main/resources/META-INF/standard-config
(from rev 6817, stack/native/branches/tdiesler/trunk/src/main/resources/standard-config)
Deleted:
stack/native/branches/tdiesler/trunk/modules/client/src/main/resources/META-INF/standard-config/standard-jaxrpc-client-config.xml
===================================================================
---
stack/native/branches/tdiesler/trunk/src/main/resources/standard-config/standard-jaxrpc-client-config.xml 2008-04-30
18:37:34 UTC (rev 6817)
+++
stack/native/branches/tdiesler/trunk/modules/client/src/main/resources/META-INF/standard-config/standard-jaxrpc-client-config.xml 2008-04-30
20:55:41 UTC (rev 6822)
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!-- $Id$ -->
-
-<jaxrpc-config xmlns="urn:jboss:jaxrpc-config:2.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:j2ee="http://java.sun.com/xml/ns/j2ee"
- xsi:schemaLocation="urn:jboss:jaxrpc-config:2.0 jaxrpc-config_2_0.xsd">
-
- <client-config>
- <config-name>Standard Client</config-name>
- </client-config>
-
- <client-config>
- <config-name>Standard MTOM client</config-name>
- <feature>http://org.jboss.ws/mtom</feature>
- </client-config>
-
- <client-config>
- <config-name>Standard WSAddressing Client</config-name>
- <post-handler-chain>
- <handler-chain-name>WSAddressing Handlers</handler-chain-name>
- <handler>
- <j2ee:handler-name>WSAddressingClientHandler</j2ee:handler-name>
-
<j2ee:handler-class>org.jboss.ws.extensions.addressing.jaxrpc.WSAddressingClientHandler</j2ee:handler-class>
- </handler>
- </post-handler-chain>
- </client-config>
-
- <client-config>
- <config-name>Standard WSSecurity Client</config-name>
- <post-handler-chain>
- <handler-chain-name>WSSecurity Handlers</handler-chain-name>
- <handler>
- <j2ee:handler-name>WSSecurityHandlerOutbound</j2ee:handler-name>
-
<j2ee:handler-class>org.jboss.ws.extensions.security.jaxrpc.WSSecurityHandlerOutbound</j2ee:handler-class>
- </handler>
- </post-handler-chain>
- </client-config>
-
-</jaxrpc-config>
\ No newline at end of file
Copied:
stack/native/branches/tdiesler/trunk/modules/client/src/main/resources/META-INF/standard-config/standard-jaxrpc-client-config.xml
(from rev 6821,
stack/native/branches/tdiesler/trunk/src/main/resources/standard-config/standard-jaxrpc-client-config.xml)
===================================================================
---
stack/native/branches/tdiesler/trunk/modules/client/src/main/resources/META-INF/standard-config/standard-jaxrpc-client-config.xml
(rev 0)
+++
stack/native/branches/tdiesler/trunk/modules/client/src/main/resources/META-INF/standard-config/standard-jaxrpc-client-config.xml 2008-04-30
20:55:41 UTC (rev 6822)
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- $Id$ -->
+
+<jaxrpc-config xmlns="urn:jboss:jaxrpc-config:2.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:j2ee="http://java.sun.com/xml/ns/j2ee"
+ xsi:schemaLocation="urn:jboss:jaxrpc-config:2.0 jaxrpc-config_2_0.xsd">
+
+ <client-config>
+ <config-name>Standard Client</config-name>
+ </client-config>
+
+ <client-config>
+ <config-name>Standard MTOM client</config-name>
+ <feature>http://org.jboss.ws/mtom</feature>
+ </client-config>
+
+ <client-config>
+ <config-name>Standard WSAddressing Client</config-name>
+ <post-handler-chain>
+ <handler-chain-name>WSAddressing Handlers</handler-chain-name>
+ <handler>
+ <j2ee:handler-name>WSAddressingClientHandler</j2ee:handler-name>
+
<j2ee:handler-class>org.jboss.ws.extensions.addressing.jaxrpc.WSAddressingClientHandler</j2ee:handler-class>
+ </handler>
+ </post-handler-chain>
+ </client-config>
+
+ <client-config>
+ <config-name>Standard WSSecurity Client</config-name>
+ <post-handler-chain>
+ <handler-chain-name>WSSecurity Handlers</handler-chain-name>
+ <handler>
+ <j2ee:handler-name>WSSecurityHandlerOutbound</j2ee:handler-name>
+
<j2ee:handler-class>org.jboss.ws.extensions.security.jaxrpc.WSSecurityHandlerOutbound</j2ee:handler-class>
+ </handler>
+ </post-handler-chain>
+ </client-config>
+
+</jaxrpc-config>
\ No newline at end of file
Deleted:
stack/native/branches/tdiesler/trunk/modules/client/src/main/resources/META-INF/standard-config/standard-jaxrpc-endpoint-config.xml
===================================================================
---
stack/native/branches/tdiesler/trunk/src/main/resources/standard-config/standard-jaxrpc-endpoint-config.xml 2008-04-30
18:37:34 UTC (rev 6817)
+++
stack/native/branches/tdiesler/trunk/modules/client/src/main/resources/META-INF/standard-config/standard-jaxrpc-endpoint-config.xml 2008-04-30
20:55:41 UTC (rev 6822)
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!-- $Id$ -->
-
-<jaxrpc-config xmlns="urn:jboss:jaxrpc-config:2.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:j2ee="http://java.sun.com/xml/ns/j2ee"
- xsi:schemaLocation="urn:jboss:jaxrpc-config:2.0 jaxrpc-config_2_0.xsd">
-
- <endpoint-config>
- <config-name>Standard Endpoint</config-name>
- </endpoint-config>
-
- <endpoint-config>
- <config-name>Standard MTOM Endpoint</config-name>
- <feature>http://org.jboss.ws/mtom</feature>
- </endpoint-config>
-
- <endpoint-config>
- <config-name>Standard WSAddressing Endpoint</config-name>
- <pre-handler-chain>
- <handler-chain-name>WSAddressing Handlers</handler-chain-name>
- <handler>
- <j2ee:handler-name>WSAddressing Handler</j2ee:handler-name>
-
<j2ee:handler-class>org.jboss.ws.extensions.addressing.jaxrpc.WSAddressingServerHandler</j2ee:handler-class>
- </handler>
- </pre-handler-chain>
- </endpoint-config>
-
- <endpoint-config>
- <config-name>Standard WSSecurity Endpoint</config-name>
- <pre-handler-chain>
- <handler-chain-name>WSSecurity Handlers</handler-chain-name>
- <handler>
- <j2ee:handler-name>WSSecurityHandlerInbound</j2ee:handler-name>
-
<j2ee:handler-class>org.jboss.ws.extensions.security.jaxrpc.WSSecurityHandlerInbound</j2ee:handler-class>
- </handler>
- </pre-handler-chain>
- </endpoint-config>
-
-</jaxrpc-config>
\ No newline at end of file
Copied:
stack/native/branches/tdiesler/trunk/modules/client/src/main/resources/META-INF/standard-config/standard-jaxrpc-endpoint-config.xml
(from rev 6821,
stack/native/branches/tdiesler/trunk/src/main/resources/standard-config/standard-jaxrpc-endpoint-config.xml)
===================================================================
---
stack/native/branches/tdiesler/trunk/modules/client/src/main/resources/META-INF/standard-config/standard-jaxrpc-endpoint-config.xml
(rev 0)
+++
stack/native/branches/tdiesler/trunk/modules/client/src/main/resources/META-INF/standard-config/standard-jaxrpc-endpoint-config.xml 2008-04-30
20:55:41 UTC (rev 6822)
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- $Id$ -->
+
+<jaxrpc-config xmlns="urn:jboss:jaxrpc-config:2.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:j2ee="http://java.sun.com/xml/ns/j2ee"
+ xsi:schemaLocation="urn:jboss:jaxrpc-config:2.0 jaxrpc-config_2_0.xsd">
+
+ <endpoint-config>
+ <config-name>Standard Endpoint</config-name>
+ </endpoint-config>
+
+ <endpoint-config>
+ <config-name>Standard MTOM Endpoint</config-name>
+ <feature>http://org.jboss.ws/mtom</feature>
+ </endpoint-config>
+
+ <endpoint-config>
+ <config-name>Standard WSAddressing Endpoint</config-name>
+ <pre-handler-chain>
+ <handler-chain-name>WSAddressing Handlers</handler-chain-name>
+ <handler>
+ <j2ee:handler-name>WSAddressing Handler</j2ee:handler-name>
+
<j2ee:handler-class>org.jboss.ws.extensions.addressing.jaxrpc.WSAddressingServerHandler</j2ee:handler-class>
+ </handler>
+ </pre-handler-chain>
+ </endpoint-config>
+
+ <endpoint-config>
+ <config-name>Standard WSSecurity Endpoint</config-name>
+ <pre-handler-chain>
+ <handler-chain-name>WSSecurity Handlers</handler-chain-name>
+ <handler>
+ <j2ee:handler-name>WSSecurityHandlerInbound</j2ee:handler-name>
+
<j2ee:handler-class>org.jboss.ws.extensions.security.jaxrpc.WSSecurityHandlerInbound</j2ee:handler-class>
+ </handler>
+ </pre-handler-chain>
+ </endpoint-config>
+
+</jaxrpc-config>
\ No newline at end of file
Deleted:
stack/native/branches/tdiesler/trunk/modules/client/src/main/resources/META-INF/standard-config/standard-jaxws-client-config.xml
===================================================================
---
stack/native/branches/tdiesler/trunk/src/main/resources/standard-config/standard-jaxws-client-config.xml 2008-04-30
18:37:34 UTC (rev 6817)
+++
stack/native/branches/tdiesler/trunk/modules/client/src/main/resources/META-INF/standard-config/standard-jaxws-client-config.xml 2008-04-30
20:55:41 UTC (rev 6822)
@@ -1,61 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!-- $Id$ -->
-
-<jaxws-config xmlns="urn:jboss:jaxws-config:2.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:javaee="http://java.sun.com/xml/ns/javaee"
- xsi:schemaLocation="urn:jboss:jaxws-config:2.0 jaxws-config_2_0.xsd">
-
- <client-config>
- <config-name>Standard Client</config-name>
- <feature>http://org.jboss.ws/dispatch/validate</feature>
- <property>
- <property-name>http://org.jboss.ws/http#chunksize</property-name>
- <property-value>2048</property-value>
- </property>
- </client-config>
-
- <client-config>
- <config-name>HTTP 1.0 Client</config-name>
- <feature>http://org.jboss.ws/dispatch/validate</feature>
- </client-config>
-
- <client-config>
- <config-name>Standard WSAddressing Client</config-name>
- <post-handler-chains>
- <javaee:handler-chain>
- <javaee:protocol-bindings>##SOAP11_HTTP</javaee:protocol-bindings>
- <javaee:handler>
- <javaee:handler-name>WSAddressing Handler</javaee:handler-name>
-
<javaee:handler-class>org.jboss.ws.extensions.addressing.jaxws.WSAddressingClientHandler</javaee:handler-class>
- </javaee:handler>
- </javaee:handler-chain>
- </post-handler-chains>
- </client-config>
-
- <client-config>
- <config-name>Standard SOAP 1.2 WSAddressing Client</config-name>
- <post-handler-chains>
- <javaee:handler-chain>
- <javaee:protocol-bindings>##SOAP12_HTTP</javaee:protocol-bindings>
- <javaee:handler>
- <javaee:handler-name>WSAddressing Handler</javaee:handler-name>
-
<javaee:handler-class>org.jboss.ws.extensions.addressing.jaxws.WSAddressingClientHandler</javaee:handler-class>
- </javaee:handler>
- </javaee:handler-chain>
- </post-handler-chains>
- </client-config>
-
- <client-config>
- <config-name>Standard WSSecurity Client</config-name>
- <post-handler-chains>
- <javaee:handler-chain>
- <javaee:protocol-bindings>##SOAP11_HTTP</javaee:protocol-bindings>
- <javaee:handler>
-
<javaee:handler-name>WSSecurityHandlerOutbound</javaee:handler-name>
-
<javaee:handler-class>org.jboss.ws.extensions.security.jaxws.WSSecurityHandlerClient</javaee:handler-class>
- </javaee:handler>
- </javaee:handler-chain>
- </post-handler-chains>
- </client-config>
-
-</jaxws-config>
Copied:
stack/native/branches/tdiesler/trunk/modules/client/src/main/resources/META-INF/standard-config/standard-jaxws-client-config.xml
(from rev 6821,
stack/native/branches/tdiesler/trunk/src/main/resources/standard-config/standard-jaxws-client-config.xml)
===================================================================
---
stack/native/branches/tdiesler/trunk/modules/client/src/main/resources/META-INF/standard-config/standard-jaxws-client-config.xml
(rev 0)
+++
stack/native/branches/tdiesler/trunk/modules/client/src/main/resources/META-INF/standard-config/standard-jaxws-client-config.xml 2008-04-30
20:55:41 UTC (rev 6822)
@@ -0,0 +1,61 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- $Id$ -->
+
+<jaxws-config xmlns="urn:jboss:jaxws-config:2.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:javaee="http://java.sun.com/xml/ns/javaee"
+ xsi:schemaLocation="urn:jboss:jaxws-config:2.0 jaxws-config_2_0.xsd">
+
+ <client-config>
+ <config-name>Standard Client</config-name>
+ <feature>http://org.jboss.ws/dispatch/validate</feature>
+ <property>
+ <property-name>http://org.jboss.ws/http#chunksize</property-name>
+ <property-value>2048</property-value>
+ </property>
+ </client-config>
+
+ <client-config>
+ <config-name>HTTP 1.0 Client</config-name>
+ <feature>http://org.jboss.ws/dispatch/validate</feature>
+ </client-config>
+
+ <client-config>
+ <config-name>Standard WSAddressing Client</config-name>
+ <post-handler-chains>
+ <javaee:handler-chain>
+ <javaee:protocol-bindings>##SOAP11_HTTP</javaee:protocol-bindings>
+ <javaee:handler>
+ <javaee:handler-name>WSAddressing Handler</javaee:handler-name>
+
<javaee:handler-class>org.jboss.ws.extensions.addressing.jaxws.WSAddressingClientHandler</javaee:handler-class>
+ </javaee:handler>
+ </javaee:handler-chain>
+ </post-handler-chains>
+ </client-config>
+
+ <client-config>
+ <config-name>Standard SOAP 1.2 WSAddressing Client</config-name>
+ <post-handler-chains>
+ <javaee:handler-chain>
+ <javaee:protocol-bindings>##SOAP12_HTTP</javaee:protocol-bindings>
+ <javaee:handler>
+ <javaee:handler-name>WSAddressing Handler</javaee:handler-name>
+
<javaee:handler-class>org.jboss.ws.extensions.addressing.jaxws.WSAddressingClientHandler</javaee:handler-class>
+ </javaee:handler>
+ </javaee:handler-chain>
+ </post-handler-chains>
+ </client-config>
+
+ <client-config>
+ <config-name>Standard WSSecurity Client</config-name>
+ <post-handler-chains>
+ <javaee:handler-chain>
+ <javaee:protocol-bindings>##SOAP11_HTTP</javaee:protocol-bindings>
+ <javaee:handler>
+
<javaee:handler-name>WSSecurityHandlerOutbound</javaee:handler-name>
+
<javaee:handler-class>org.jboss.ws.extensions.security.jaxws.WSSecurityHandlerClient</javaee:handler-class>
+ </javaee:handler>
+ </javaee:handler-chain>
+ </post-handler-chains>
+ </client-config>
+
+</jaxws-config>
Deleted:
stack/native/branches/tdiesler/trunk/modules/client/src/main/resources/META-INF/standard-config/standard-jaxws-endpoint-config.xml
===================================================================
---
stack/native/branches/tdiesler/trunk/src/main/resources/standard-config/standard-jaxws-endpoint-config.xml 2008-04-30
18:37:34 UTC (rev 6817)
+++
stack/native/branches/tdiesler/trunk/modules/client/src/main/resources/META-INF/standard-config/standard-jaxws-endpoint-config.xml 2008-04-30
20:55:41 UTC (rev 6822)
@@ -1,81 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!-- $Id$ -->
-
-<jaxws-config xmlns="urn:jboss:jaxws-config:2.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:javaee="http://java.sun.com/xml/ns/javaee"
- xsi:schemaLocation="urn:jboss:jaxws-config:2.0 jaxws-config_2_0.xsd">
-
- <endpoint-config>
- <config-name>Standard Endpoint</config-name>
- <pre-handler-chains>
- <javaee:handler-chain>
- <javaee:protocol-bindings>##SOAP11_HTTP</javaee:protocol-bindings>
- <javaee:handler>
- <javaee:handler-name>Recording Handler</javaee:handler-name>
-
<javaee:handler-class>org.jboss.wsf.framework.invocation.RecordingServerHandler</javaee:handler-class>
- </javaee:handler>
- </javaee:handler-chain>
- </pre-handler-chains>
- </endpoint-config>
-
- <!--
- Generates message part names 'parameters' in WSDL for
document/literal/wapped.
- See: [JBWS-771] Use part names that are friendly to .NET
- -->
- <endpoint-config>
- <
config-name>.NET friendly Endpoint</config-name>
- <feature>http://org.jboss.ws/binding/wsdl/dotnet</feature>
- </endpoint-config>
-
- <endpoint-config>
- <config-name>Standard WSAddressing Endpoint</config-name>
- <post-handler-chains>
- <javaee:handler-chain>
- <javaee:protocol-bindings>##SOAP11_HTTP</javaee:protocol-bindings>
- <javaee:handler>
- <javaee:handler-name>WSAddressing Handler</javaee:handler-name>
-
<javaee:handler-class>org.jboss.ws.extensions.addressing.jaxws.WSAddressingServerHandler</javaee:handler-class>
- </javaee:handler>
- <javaee:handler>
- <javaee:handler-name>Recording Handler</javaee:handler-name>
-
<javaee:handler-class>org.jboss.wsf.framework.invocation.RecordingServerHandler</javaee:handler-class>
- </javaee:handler>
- </javaee:handler-chain>
- </post-handler-chains>
- </endpoint-config>
-
- <endpoint-config>
- <config-name>Standard SOAP 1.2 WSAddressing Endpoint</config-name>
- <post-handler-chains>
- <javaee:handler-chain>
- <javaee:protocol-bindings>##SOAP12_HTTP</javaee:protocol-bindings>
- <javaee:handler>
- <javaee:handler-name>WSAddressing Handler</javaee:handler-name>
-
<javaee:handler-class>org.jboss.ws.extensions.addressing.jaxws.WSAddressingServerHandler</javaee:handler-class>
- </javaee:handler>
- <javaee:handler>
- <javaee:handler-name>Recording Handler</javaee:handler-name>
-
<javaee:handler-class>org.jboss.wsf.framework.invocation.RecordingServerHandler</javaee:handler-class>
- </javaee:handler>
- </javaee:handler-chain>
- </post-handler-chains>
- </endpoint-config>
-
- <endpoint-config>
- <config-name>Standard WSSecurity Endpoint</config-name>
- <post-handler-chains>
- <javaee:handler-chain>
- <javaee:protocol-bindings>##SOAP11_HTTP</javaee:protocol-bindings>
- <javaee:handler>
- <javaee:handler-name>WSSecurity Handler</javaee:handler-name>
-
<javaee:handler-class>org.jboss.ws.extensions.security.jaxws.WSSecurityHandlerServer</javaee:handler-class>
- </javaee:handler>
- <javaee:handler>
- <javaee:handler-name>Recording Handler</javaee:handler-name>
-
<javaee:handler-class>org.jboss.wsf.framework.invocation.RecordingServerHandler</javaee:handler-class>
- </javaee:handler>
- </javaee:handler-chain>
- </post-handler-chains>
- </endpoint-config>
-
-</jaxws-config>
Copied:
stack/native/branches/tdiesler/trunk/modules/client/src/main/resources/META-INF/standard-config/standard-jaxws-endpoint-config.xml
(from rev 6821,
stack/native/branches/tdiesler/trunk/src/main/resources/standard-config/standard-jaxws-endpoint-config.xml)
===================================================================
---
stack/native/branches/tdiesler/trunk/modules/client/src/main/resources/META-INF/standard-config/standard-jaxws-endpoint-config.xml
(rev 0)
+++
stack/native/branches/tdiesler/trunk/modules/client/src/main/resources/META-INF/standard-config/standard-jaxws-endpoint-config.xml 2008-04-30
20:55:41 UTC (rev 6822)
@@ -0,0 +1,81 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- $Id$ -->
+
+<jaxws-config xmlns="urn:jboss:jaxws-config:2.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:javaee="http://java.sun.com/xml/ns/javaee"
+ xsi:schemaLocation="urn:jboss:jaxws-config:2.0 jaxws-config_2_0.xsd">
+
+ <endpoint-config>
+ <config-name>Standard Endpoint</config-name>
+ <pre-handler-chains>
+ <javaee:handler-chain>
+ <javaee:protocol-bindings>##SOAP11_HTTP</javaee:protocol-bindings>
+ <javaee:handler>
+ <javaee:handler-name>Recording Handler</javaee:handler-name>
+
<javaee:handler-class>org.jboss.wsf.framework.invocation.RecordingServerHandler</javaee:handler-class>
+ </javaee:handler>
+ </javaee:handler-chain>
+ </pre-handler-chains>
+ </endpoint-config>
+
+ <!--
+ Generates message part names 'parameters' in WSDL for
document/literal/wapped.
+ See: [JBWS-771] Use part names that are friendly to .NET
+ -->
+ <endpoint-config>
+ <
config-name>.NET friendly Endpoint</config-name>
+ <feature>http://org.jboss.ws/binding/wsdl/dotnet</feature>
+ </endpoint-config>
+
+ <endpoint-config>
+ <config-name>Standard WSAddressing Endpoint</config-name>
+ <post-handler-chains>
+ <javaee:handler-chain>
+ <javaee:protocol-bindings>##SOAP11_HTTP</javaee:protocol-bindings>
+ <javaee:handler>
+ <javaee:handler-name>WSAddressing Handler</javaee:handler-name>
+
<javaee:handler-class>org.jboss.ws.extensions.addressing.jaxws.WSAddressingServerHandler</javaee:handler-class>
+ </javaee:handler>
+ <javaee:handler>
+ <javaee:handler-name>Recording Handler</javaee:handler-name>
+
<javaee:handler-class>org.jboss.wsf.framework.invocation.RecordingServerHandler</javaee:handler-class>
+ </javaee:handler>
+ </javaee:handler-chain>
+ </post-handler-chains>
+ </endpoint-config>
+
+ <endpoint-config>
+ <config-name>Standard SOAP 1.2 WSAddressing Endpoint</config-name>
+ <post-handler-chains>
+ <javaee:handler-chain>
+ <javaee:protocol-bindings>##SOAP12_HTTP</javaee:protocol-bindings>
+ <javaee:handler>
+ <javaee:handler-name>WSAddressing Handler</javaee:handler-name>
+
<javaee:handler-class>org.jboss.ws.extensions.addressing.jaxws.WSAddressingServerHandler</javaee:handler-class>
+ </javaee:handler>
+ <javaee:handler>
+ <javaee:handler-name>Recording Handler</javaee:handler-name>
+
<javaee:handler-class>org.jboss.wsf.framework.invocation.RecordingServerHandler</javaee:handler-class>
+ </javaee:handler>
+ </javaee:handler-chain>
+ </post-handler-chains>
+ </endpoint-config>
+
+ <endpoint-config>
+ <config-name>Standard WSSecurity Endpoint</config-name>
+ <post-handler-chains>
+ <javaee:handler-chain>
+ <javaee:protocol-bindings>##SOAP11_HTTP</javaee:protocol-bindings>
+ <javaee:handler>
+ <javaee:handler-name>WSSecurity Handler</javaee:handler-name>
+
<javaee:handler-class>org.jboss.ws.extensions.security.jaxws.WSSecurityHandlerServer</javaee:handler-class>
+ </javaee:handler>
+ <javaee:handler>
+ <javaee:handler-name>Recording Handler</javaee:handler-name>
+
<javaee:handler-class>org.jboss.wsf.framework.invocation.RecordingServerHandler</javaee:handler-class>
+ </javaee:handler>
+ </javaee:handler-chain>
+ </post-handler-chains>
+ </endpoint-config>
+
+</jaxws-config>
Property changes on: stack/native/branches/tdiesler/trunk/modules/core
___________________________________________________________________
Name: svn:ignore
+ target
Modified: stack/native/branches/tdiesler/trunk/modules/core/pom.xml
===================================================================
--- stack/native/branches/tdiesler/trunk/modules/core/pom.xml 2008-04-30 20:32:06 UTC (rev
6821)
+++ stack/native/branches/tdiesler/trunk/modules/core/pom.xml 2008-04-30 20:55:41 UTC (rev
6822)
@@ -15,6 +15,7 @@
<!-- Dependencies -->
<dependencies>
+ <!-- jbossws dependencies -->
<dependency>
<groupId>org.jboss.ws.native</groupId>
<artifactId>jbossws-native-jaxws-ext</artifactId>
@@ -115,17 +116,4 @@
</dependency>
</dependencies>
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-compiler-plugin</artifactId>
- <configuration>
- <showDeprecation>false</showDeprecation>
- <showWarnings>false</showWarnings>
- </configuration>
- </plugin>
-
- </plugins>
-
- </build>
</project>
Added: stack/native/branches/tdiesler/trunk/modules/embedded/pom.xml
===================================================================
--- stack/native/branches/tdiesler/trunk/modules/embedded/pom.xml
(rev 0)
+++ stack/native/branches/tdiesler/trunk/modules/embedded/pom.xml 2008-04-30 20:55:41 UTC
(rev 6822)
@@ -0,0 +1,46 @@
+<project
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <name>JBoss Web Services - Stack Native Embedded</name>
+ <artifactId>jbossws-native-embedded</artifactId>
+ <packaging>jar</packaging>
+
+ <!-- Parent -->
+ <parent>
+ <groupId>org.jboss.ws.native</groupId>
+ <artifactId>jbossws-native</artifactId>
+ <version>3.0.2-SNAPSHOT</version>
+ </parent>
+
+ <!-- Dependencies -->
+ <dependencies>
+ <!-- jbossws dependencies -->
+ <dependency>
+ <groupId>org.jboss.ws.native</groupId>
+ <artifactId>jbossws-native-jaxws-ext</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+
+ <!-- jboss provided -->
+ <dependency>
+ <groupId>org.jboss.microcontainer</groupId>
+ <artifactId>jboss-kernel</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <showDeprecation>false</showDeprecation>
+ <showWarnings>false</showWarnings>
+ </configuration>
+ </plugin>
+
+ </plugins>
+
+ </build>
+</project>
Property changes on: stack/native/branches/tdiesler/trunk/modules/embedded/pom.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Copied:
stack/native/branches/tdiesler/trunk/modules/embedded/src/main/java/org/jboss/wsf/stack/jbws/embedded
(from rev 6820,
stack/native/branches/tdiesler/trunk/modules/core/src/main/java/org/jboss/wsf/stack/jbws/embedded)
Deleted:
stack/native/branches/tdiesler/trunk/modules/embedded/src/main/java/org/jboss/wsf/stack/jbws/embedded/DeploymentModelBuilder.java
===================================================================
---
stack/native/branches/tdiesler/trunk/modules/core/src/main/java/org/jboss/wsf/stack/jbws/embedded/DeploymentModelBuilder.java 2008-04-30
18:50:34 UTC (rev 6820)
+++
stack/native/branches/tdiesler/trunk/modules/embedded/src/main/java/org/jboss/wsf/stack/jbws/embedded/DeploymentModelBuilder.java 2008-04-30
20:55:41 UTC (rev 6822)
@@ -1,106 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2006, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
- */
-package org.jboss.wsf.stack.jbws.embedded;
-
-import org.jboss.wsf.spi.deployment.*;
-import org.jboss.wsf.spi.SPIProvider;
-import org.jboss.wsf.spi.SPIProviderResolver;
-import org.jboss.wsf.common.ResourceLoaderAdapter;
-
-import java.util.UUID;
-import java.util.List;
-import java.util.ArrayList;
-
-/**
- * A builder that helps creating {@link org.jboss.wsf.spi.deployment.Deployment}'s
- * for embedded use.
- *
- * @author Heiko.Braun <heiko.braun(a)jboss.com>
- */
-public class DeploymentModelBuilder
-{
- private Deployment deployment;
- private DeploymentModelFactory modelFactory;
-
- public DeploymentModelBuilder()
- {
- SPIProvider spi = SPIProviderResolver.getInstance().getProvider();
- modelFactory = spi.getSPI(DeploymentModelFactory.class);
-
- // Deployment
- ClassLoader contextClassLoader = Thread.currentThread().getContextClassLoader();
- this.deployment = modelFactory.newDeployment(UUID.randomUUID().toString(),
contextClassLoader);
- this.deployment.setRuntimeClassLoader(contextClassLoader);
-
- // TODO: Hack, should this become another DeploymentAspect?
- ((ArchiveDeployment)this.deployment).setRootFile(new ResourceLoaderAdapter());
-
- this.deployment.setType(Deployment.DeploymentType.JAXWS_JSE);
-
- // Service
- this.deployment.setService(modelFactory.newService());
-
- }
-
- public DeploymentModelBuilder setContextRoot(String contextRoot)
- {
- assert contextRoot!=null;
- this.deployment.getService().setContextRoot(contextRoot);
- return this;
- }
-
- public DeploymentModelBuilder addEndpoint(String className, String urlPattern)
- {
- assert className!=null;
- assert urlPattern!=null;
-
- // Endpoint
- Endpoint endpoint =
modelFactory.newEndpoint("org.jboss.test.ws.embedded.HelloWorldEndpoint");
- endpoint.setShortName(className + "-Endpoint");
- endpoint.setURLPattern(urlPattern);
- this.deployment.getService().addEndpoint(endpoint);
- return this;
- }
-
- public Deployment build()
- {
- if(null == this.deployment.getService().getContextRoot())
- throw new IllegalArgumentException("No context root");
-
- List<String> usedPatterns = new ArrayList<String>();
- for(Endpoint ep : this.deployment.getService().getEndpoints())
- {
- String urlPattern = ep.getURLPattern();
- if(null == urlPattern)
- throw new IllegalArgumentException("No urlPattern");
-
- for(String usedPattern : usedPatterns)
- {
- if(urlPattern.equals(usedPattern))
- throw new IllegalArgumentException("URL pattern already used: "
+ urlPattern);
- }
-
- usedPatterns.add(urlPattern);
- }
- return this.deployment;
- }
-}
Copied:
stack/native/branches/tdiesler/trunk/modules/embedded/src/main/java/org/jboss/wsf/stack/jbws/embedded/DeploymentModelBuilder.java
(from rev 6821,
stack/native/branches/tdiesler/trunk/modules/core/src/main/java/org/jboss/wsf/stack/jbws/embedded/DeploymentModelBuilder.java)
===================================================================
---
stack/native/branches/tdiesler/trunk/modules/embedded/src/main/java/org/jboss/wsf/stack/jbws/embedded/DeploymentModelBuilder.java
(rev 0)
+++
stack/native/branches/tdiesler/trunk/modules/embedded/src/main/java/org/jboss/wsf/stack/jbws/embedded/DeploymentModelBuilder.java 2008-04-30
20:55:41 UTC (rev 6822)
@@ -0,0 +1,106 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ */
+package org.jboss.wsf.stack.jbws.embedded;
+
+import org.jboss.wsf.spi.deployment.*;
+import org.jboss.wsf.spi.SPIProvider;
+import org.jboss.wsf.spi.SPIProviderResolver;
+import org.jboss.wsf.common.ResourceLoaderAdapter;
+
+import java.util.UUID;
+import java.util.List;
+import java.util.ArrayList;
+
+/**
+ * A builder that helps creating {@link org.jboss.wsf.spi.deployment.Deployment}'s
+ * for embedded use.
+ *
+ * @author Heiko.Braun <heiko.braun(a)jboss.com>
+ */
+public class DeploymentModelBuilder
+{
+ private Deployment deployment;
+ private DeploymentModelFactory modelFactory;
+
+ public DeploymentModelBuilder()
+ {
+ SPIProvider spi = SPIProviderResolver.getInstance().getProvider();
+ modelFactory = spi.getSPI(DeploymentModelFactory.class);
+
+ // Deployment
+ ClassLoader contextClassLoader = Thread.currentThread().getContextClassLoader();
+ this.deployment = modelFactory.newDeployment(UUID.randomUUID().toString(),
contextClassLoader);
+ this.deployment.setRuntimeClassLoader(contextClassLoader);
+
+ // TODO: Hack, should this become another DeploymentAspect?
+ ((ArchiveDeployment)this.deployment).setRootFile(new ResourceLoaderAdapter());
+
+ this.deployment.setType(Deployment.DeploymentType.JAXWS_JSE);
+
+ // Service
+ this.deployment.setService(modelFactory.newService());
+
+ }
+
+ public DeploymentModelBuilder setContextRoot(String contextRoot)
+ {
+ assert contextRoot!=null;
+ this.deployment.getService().setContextRoot(contextRoot);
+ return this;
+ }
+
+ public DeploymentModelBuilder addEndpoint(String className, String urlPattern)
+ {
+ assert className!=null;
+ assert urlPattern!=null;
+
+ // Endpoint
+ Endpoint endpoint =
modelFactory.newEndpoint("org.jboss.test.ws.embedded.HelloWorldEndpoint");
+ endpoint.setShortName(className + "-Endpoint");
+ endpoint.setURLPattern(urlPattern);
+ this.deployment.getService().addEndpoint(endpoint);
+ return this;
+ }
+
+ public Deployment build()
+ {
+ if(null == this.deployment.getService().getContextRoot())
+ throw new IllegalArgumentException("No context root");
+
+ List<String> usedPatterns = new ArrayList<String>();
+ for(Endpoint ep : this.deployment.getService().getEndpoints())
+ {
+ String urlPattern = ep.getURLPattern();
+ if(null == urlPattern)
+ throw new IllegalArgumentException("No urlPattern");
+
+ for(String usedPattern : usedPatterns)
+ {
+ if(urlPattern.equals(usedPattern))
+ throw new IllegalArgumentException("URL pattern already used: "
+ urlPattern);
+ }
+
+ usedPatterns.add(urlPattern);
+ }
+ return this.deployment;
+ }
+}
Deleted:
stack/native/branches/tdiesler/trunk/modules/embedded/src/main/java/org/jboss/wsf/stack/jbws/embedded/EmbeddableWSFRuntime.java
===================================================================
---
stack/native/branches/tdiesler/trunk/modules/core/src/main/java/org/jboss/wsf/stack/jbws/embedded/EmbeddableWSFRuntime.java 2008-04-30
18:50:34 UTC (rev 6820)
+++
stack/native/branches/tdiesler/trunk/modules/embedded/src/main/java/org/jboss/wsf/stack/jbws/embedded/EmbeddableWSFRuntime.java 2008-04-30
20:55:41 UTC (rev 6822)
@@ -1,207 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2006, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
- */
-package org.jboss.wsf.stack.jbws.embedded;
-
-import org.jboss.kernel.Kernel;
-import org.jboss.logging.Logger;
-import org.jboss.wsf.spi.ComposableRuntime;
-import org.jboss.wsf.spi.SPIProvider;
-import org.jboss.wsf.spi.SPIProviderResolver;
-import org.jboss.wsf.spi.WSFRuntime;
-import org.jboss.wsf.spi.deployment.Deployment;
-import org.jboss.wsf.spi.deployment.DeploymentAspectManager;
-import org.jboss.wsf.spi.deployment.DeploymentAspectManagerFactory;
-import org.jboss.wsf.spi.invocation.InvocationHandlerFactory;
-import org.jboss.wsf.spi.invocation.RequestHandlerFactory;
-import org.jboss.wsf.spi.management.EndpointRegistry;
-import org.jboss.wsf.spi.management.EndpointRegistryFactory;
-import org.jboss.wsf.spi.transport.TransportManagerFactory;
-
-import java.net.URL;
-
-/**
- * A WSF runtime that bootstraps through the {@link
org.jboss.wsf.spi.SPIProvider}.<br>
- * It support JSE endpoints only.
- *
- * @author Heiko.Braun <heiko.braun(a)jboss.com>
- */
-public class EmbeddableWSFRuntime implements WSFRuntime, ComposableRuntime
-{
- private static final Logger log = Logger.getLogger(EmbeddableWSFRuntime.class);
-
- private SPIProvider spi;
-
- private Kernel kernel;
-
- private DeploymentAspectManager deploymentManager;
-
- private EndpointRegistry endpointRegistry;
-
- private RequestHandlerFactory rqhFactory;
-
- private InvocationHandlerFactory ivhFactory;
-
- private TransportManagerFactory tmFactory;
-
- public static URL DEFAULT_CONFIG_URL;
-
- static
- {
- ClassLoader cl = EmbeddableWSFRuntime.class.getClassLoader();
- String config =
"org/jboss/wsf/stack/jbws/embedded/standalone-config.xml";
- DEFAULT_CONFIG_URL = cl.getResource(config);
- if(null== DEFAULT_CONFIG_URL) throw new RuntimeException("Unable to read
config: "+config);
- }
-
- private EmbeddableWSFRuntime(Kernel kernel)
- {
- this.kernel = kernel;
- this.spi = SPIProviderResolver.getInstance().getProvider();
- }
-
- public static EmbeddableWSFRuntime bootstrap(URL jbosswsBeansXml) throws Exception
- {
-
- log.debug("Bootstrap runtime from microcontainer config");
-
- EmbeddedBootstrap bootstrap = new EmbeddedBootstrap();
- bootstrap.run();
- bootstrap.deploy(jbosswsBeansXml);
-
- Kernel kernel = bootstrap.getKernel();
- EmbeddableWSFRuntime container = new EmbeddableWSFRuntime(kernel);
- container.assemble();
- return container;
- }
-
- private void assemble()
- {
-
- log.info("Assembling runtime");
-
- // DeploymentAspectManager
- setDeploymentAspectManager(
-
spi.getSPI(DeploymentAspectManagerFactory.class).getDeploymentAspectManager("WSDeploymentAspectManagerJSE")
- );
-
- // EndpointRegistry
- setEndpointRegistry(
- spi.getSPI(EndpointRegistryFactory.class).getEndpointRegistry()
- );
-
- // Transport
- setTransportManagerFactory( spi.getSPI(TransportManagerFactory.class) );
-
- // Requesthandling
- setRequestHandlerFactory( spi.getSPI(RequestHandlerFactory.class));
-
- // InvocationHandling
- setInvocationHandlerFactory( spi.getSPI(InvocationHandlerFactory.class) );
- }
-
- // ---------------------------------------------------------------------------------
-
-
- public void create(Deployment deployment)
- {
- deploymentManager.create(deployment, this);
- }
-
- public void start(Deployment deployment)
- {
- deploymentManager.start(deployment, this);
- }
-
- public void stop(Deployment deployment)
- {
- deploymentManager.stop(deployment, this);
- }
-
- public void destroy(Deployment deployment)
- {
- deploymentManager.destroy(deployment, this);
- }
-
- // ---------------------------------------------------------------------------------
-
-
- public void setTransportManagerFactory(TransportManagerFactory factory)
- {
- assert factory!=null;
- log.info("Using TransportManagerFactory: " + factory);
- this.tmFactory = factory;
- }
-
- public TransportManagerFactory getTransportManagerFactory()
- {
- return this.tmFactory;
- }
-
- public void setEndpointRegistry(EndpointRegistry endpointRegistry)
- {
- assert endpointRegistry!=null;
- log.info("Using EndpointRegistry: " + endpointRegistry);
- this.endpointRegistry = endpointRegistry;
- }
-
- public EndpointRegistry getEndpointRegistry()
- {
- return this.endpointRegistry;
- }
-
- public void setDeploymentAspectManager(DeploymentAspectManager deploymentManager)
- {
- assert deploymentManager!=null;
- log.info("Using DeploymentAspectManager: " + deploymentManager);
- this.deploymentManager = deploymentManager;
- }
-
- public DeploymentAspectManager getDeploymentAspectManager()
- {
- return this.deploymentManager;
- }
-
- public void setRequestHandlerFactory(RequestHandlerFactory factory)
- {
- assert factory!=null;
- log.info("Using RequestHandlerFactory: "+ factory);
- this.rqhFactory = factory;
- }
-
-
- public RequestHandlerFactory getRequestHandlerFactory()
- {
- return this.rqhFactory;
- }
-
- public void setInvocationHandlerFactory(InvocationHandlerFactory factory)
- {
- assert factory!=null;
- log.info("Using InvocationHandlerFactory: "+ factory);
- this.ivhFactory = factory;
- }
-
- public InvocationHandlerFactory getInvocationHandlerFactory()
- {
- return this.ivhFactory;
- }
-}
\ No newline at end of file
Copied:
stack/native/branches/tdiesler/trunk/modules/embedded/src/main/java/org/jboss/wsf/stack/jbws/embedded/EmbeddableWSFRuntime.java
(from rev 6821,
stack/native/branches/tdiesler/trunk/modules/core/src/main/java/org/jboss/wsf/stack/jbws/embedded/EmbeddableWSFRuntime.java)
===================================================================
---
stack/native/branches/tdiesler/trunk/modules/embedded/src/main/java/org/jboss/wsf/stack/jbws/embedded/EmbeddableWSFRuntime.java
(rev 0)
+++
stack/native/branches/tdiesler/trunk/modules/embedded/src/main/java/org/jboss/wsf/stack/jbws/embedded/EmbeddableWSFRuntime.java 2008-04-30
20:55:41 UTC (rev 6822)
@@ -0,0 +1,207 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ */
+package org.jboss.wsf.stack.jbws.embedded;
+
+import org.jboss.kernel.Kernel;
+import org.jboss.logging.Logger;
+import org.jboss.wsf.spi.ComposableRuntime;
+import org.jboss.wsf.spi.SPIProvider;
+import org.jboss.wsf.spi.SPIProviderResolver;
+import org.jboss.wsf.spi.WSFRuntime;
+import org.jboss.wsf.spi.deployment.Deployment;
+import org.jboss.wsf.spi.deployment.DeploymentAspectManager;
+import org.jboss.wsf.spi.deployment.DeploymentAspectManagerFactory;
+import org.jboss.wsf.spi.invocation.InvocationHandlerFactory;
+import org.jboss.wsf.spi.invocation.RequestHandlerFactory;
+import org.jboss.wsf.spi.management.EndpointRegistry;
+import org.jboss.wsf.spi.management.EndpointRegistryFactory;
+import org.jboss.wsf.spi.transport.TransportManagerFactory;
+
+import java.net.URL;
+
+/**
+ * A WSF runtime that bootstraps through the {@link
org.jboss.wsf.spi.SPIProvider}.<br>
+ * It support JSE endpoints only.
+ *
+ * @author Heiko.Braun <heiko.braun(a)jboss.com>
+ */
+public class EmbeddableWSFRuntime implements WSFRuntime, ComposableRuntime
+{
+ private static final Logger log = Logger.getLogger(EmbeddableWSFRuntime.class);
+
+ private SPIProvider spi;
+
+ private Kernel kernel;
+
+ private DeploymentAspectManager deploymentManager;
+
+ private EndpointRegistry endpointRegistry;
+
+ private RequestHandlerFactory rqhFactory;
+
+ private InvocationHandlerFactory ivhFactory;
+
+ private TransportManagerFactory tmFactory;
+
+ public static URL DEFAULT_CONFIG_URL;
+
+ static
+ {
+ ClassLoader cl = EmbeddableWSFRuntime.class.getClassLoader();
+ String config =
"org/jboss/wsf/stack/jbws/embedded/standalone-config.xml";
+ DEFAULT_CONFIG_URL = cl.getResource(config);
+ if(null== DEFAULT_CONFIG_URL) throw new RuntimeException("Unable to read
config: "+config);
+ }
+
+ private EmbeddableWSFRuntime(Kernel kernel)
+ {
+ this.kernel = kernel;
+ this.spi = SPIProviderResolver.getInstance().getProvider();
+ }
+
+ public static EmbeddableWSFRuntime bootstrap(URL jbosswsBeansXml) throws Exception
+ {
+
+ log.debug("Bootstrap runtime from microcontainer config");
+
+ EmbeddedBootstrap bootstrap = new EmbeddedBootstrap();
+ bootstrap.run();
+ bootstrap.deploy(jbosswsBeansXml);
+
+ Kernel kernel = bootstrap.getKernel();
+ EmbeddableWSFRuntime container = new EmbeddableWSFRuntime(kernel);
+ container.assemble();
+ return container;
+ }
+
+ private void assemble()
+ {
+
+ log.info("Assembling runtime");
+
+ // DeploymentAspectManager
+ setDeploymentAspectManager(
+
spi.getSPI(DeploymentAspectManagerFactory.class).getDeploymentAspectManager("WSDeploymentAspectManagerJSE")
+ );
+
+ // EndpointRegistry
+ setEndpointRegistry(
+ spi.getSPI(EndpointRegistryFactory.class).getEndpointRegistry()
+ );
+
+ // Transport
+ setTransportManagerFactory( spi.getSPI(TransportManagerFactory.class) );
+
+ // Requesthandling
+ setRequestHandlerFactory( spi.getSPI(RequestHandlerFactory.class));
+
+ // InvocationHandling
+ setInvocationHandlerFactory( spi.getSPI(InvocationHandlerFactory.class) );
+ }
+
+ // ---------------------------------------------------------------------------------
+
+
+ public void create(Deployment deployment)
+ {
+ deploymentManager.create(deployment, this);
+ }
+
+ public void start(Deployment deployment)
+ {
+ deploymentManager.start(deployment, this);
+ }
+
+ public void stop(Deployment deployment)
+ {
+ deploymentManager.stop(deployment, this);
+ }
+
+ public void destroy(Deployment deployment)
+ {
+ deploymentManager.destroy(deployment, this);
+ }
+
+ // ---------------------------------------------------------------------------------
+
+
+ public void setTransportManagerFactory(TransportManagerFactory factory)
+ {
+ assert factory!=null;
+ log.info("Using TransportManagerFactory: " + factory);
+ this.tmFactory = factory;
+ }
+
+ public TransportManagerFactory getTransportManagerFactory()
+ {
+ return this.tmFactory;
+ }
+
+ public void setEndpointRegistry(EndpointRegistry endpointRegistry)
+ {
+ assert endpointRegistry!=null;
+ log.info("Using EndpointRegistry: " + endpointRegistry);
+ this.endpointRegistry = endpointRegistry;
+ }
+
+ public EndpointRegistry getEndpointRegistry()
+ {
+ return this.endpointRegistry;
+ }
+
+ public void setDeploymentAspectManager(DeploymentAspectManager deploymentManager)
+ {
+ assert deploymentManager!=null;
+ log.info("Using DeploymentAspectManager: " + deploymentManager);
+ this.deploymentManager = deploymentManager;
+ }
+
+ public DeploymentAspectManager getDeploymentAspectManager()
+ {
+ return this.deploymentManager;
+ }
+
+ public void setRequestHandlerFactory(RequestHandlerFactory factory)
+ {
+ assert factory!=null;
+ log.info("Using RequestHandlerFactory: "+ factory);
+ this.rqhFactory = factory;
+ }
+
+
+ public RequestHandlerFactory getRequestHandlerFactory()
+ {
+ return this.rqhFactory;
+ }
+
+ public void setInvocationHandlerFactory(InvocationHandlerFactory factory)
+ {
+ assert factory!=null;
+ log.info("Using InvocationHandlerFactory: "+ factory);
+ this.ivhFactory = factory;
+ }
+
+ public InvocationHandlerFactory getInvocationHandlerFactory()
+ {
+ return this.ivhFactory;
+ }
+}
\ No newline at end of file
Deleted:
stack/native/branches/tdiesler/trunk/modules/embedded/src/main/java/org/jboss/wsf/stack/jbws/embedded/EmbeddedBootstrap.java
===================================================================
---
stack/native/branches/tdiesler/trunk/modules/core/src/main/java/org/jboss/wsf/stack/jbws/embedded/EmbeddedBootstrap.java 2008-04-30
18:50:34 UTC (rev 6820)
+++
stack/native/branches/tdiesler/trunk/modules/embedded/src/main/java/org/jboss/wsf/stack/jbws/embedded/EmbeddedBootstrap.java 2008-04-30
20:55:41 UTC (rev 6822)
@@ -1,90 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2006, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
- */
-package org.jboss.wsf.stack.jbws.embedded;
-
-import org.jboss.kernel.plugins.deployment.xml.BasicXMLDeployer;
-import org.jboss.kernel.plugins.bootstrap.basic.BasicBootstrap;
-import org.jboss.logging.Logger;
-
-import java.net.URL;
-
-/**
- * Add a BasicXMLDeployer to the BasicBootstrap so that we can parse
- * XML descriptors for the beans (*-beans.xml).
- *
- * @author <a href="mailto:mark.newton@jboss.org">Mark Newton</a>
- */
-public class EmbeddedBootstrap extends BasicBootstrap
-{
-
- protected BasicXMLDeployer deployer;
-
- private final Logger log = Logger.getLogger(getClass());
-
- public EmbeddedBootstrap() throws Exception {
- super();
- }
-
- public void bootstrap() throws Throwable {
- super.bootstrap();
- deployer = new BasicXMLDeployer(getKernel());
- Runtime.getRuntime().addShutdownHook(new Shutdown());
- }
-
- public void deploy(URL url) {
- try {
-
- log.info("Deploy MC configuration " + url);
-
- // Workaround the fact that the BasicXMLDeployer does not handle redeployment
correctly
- if (deployer.getDeploymentNames().contains(url.toString())) {
- System.out.println("Service is already deployed.");
- return;
- }
- deployer.deploy(url);
- } catch (Throwable t) {
- throw new RuntimeException("Error during deployment: " + url, t);
- }
- }
-
- public void undeploy(URL url) {
-
- log.info("Undeploy MC config " + url);
-
- if (!deployer.getDeploymentNames().contains(url.toString())) {
- System.out.println("Service is already undeployed.");
- return;
- }
- try {
- deployer.undeploy(url);
- } catch (Throwable t) {
- throw new RuntimeException("Error during undeployment: " + url, t);
- }
- }
-
- protected class Shutdown extends Thread {
- public void run() {
- log.info("Shutting down");
- deployer.shutdown();
- }
- }
-}
\ No newline at end of file
Copied:
stack/native/branches/tdiesler/trunk/modules/embedded/src/main/java/org/jboss/wsf/stack/jbws/embedded/EmbeddedBootstrap.java
(from rev 6821,
stack/native/branches/tdiesler/trunk/modules/core/src/main/java/org/jboss/wsf/stack/jbws/embedded/EmbeddedBootstrap.java)
===================================================================
---
stack/native/branches/tdiesler/trunk/modules/embedded/src/main/java/org/jboss/wsf/stack/jbws/embedded/EmbeddedBootstrap.java
(rev 0)
+++
stack/native/branches/tdiesler/trunk/modules/embedded/src/main/java/org/jboss/wsf/stack/jbws/embedded/EmbeddedBootstrap.java 2008-04-30
20:55:41 UTC (rev 6822)
@@ -0,0 +1,90 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ */
+package org.jboss.wsf.stack.jbws.embedded;
+
+import org.jboss.kernel.plugins.deployment.xml.BasicXMLDeployer;
+import org.jboss.kernel.plugins.bootstrap.basic.BasicBootstrap;
+import org.jboss.logging.Logger;
+
+import java.net.URL;
+
+/**
+ * Add a BasicXMLDeployer to the BasicBootstrap so that we can parse
+ * XML descriptors for the beans (*-beans.xml).
+ *
+ * @author <a href="mailto:mark.newton@jboss.org">Mark Newton</a>
+ */
+public class EmbeddedBootstrap extends BasicBootstrap
+{
+
+ protected BasicXMLDeployer deployer;
+
+ private final Logger log = Logger.getLogger(getClass());
+
+ public EmbeddedBootstrap() throws Exception {
+ super();
+ }
+
+ public void bootstrap() throws Throwable {
+ super.bootstrap();
+ deployer = new BasicXMLDeployer(getKernel());
+ Runtime.getRuntime().addShutdownHook(new Shutdown());
+ }
+
+ public void deploy(URL url) {
+ try {
+
+ log.info("Deploy MC configuration " + url);
+
+ // Workaround the fact that the BasicXMLDeployer does not handle redeployment
correctly
+ if (deployer.getDeploymentNames().contains(url.toString())) {
+ System.out.println("Service is already deployed.");
+ return;
+ }
+ deployer.deploy(url);
+ } catch (Throwable t) {
+ throw new RuntimeException("Error during deployment: " + url, t);
+ }
+ }
+
+ public void undeploy(URL url) {
+
+ log.info("Undeploy MC config " + url);
+
+ if (!deployer.getDeploymentNames().contains(url.toString())) {
+ System.out.println("Service is already undeployed.");
+ return;
+ }
+ try {
+ deployer.undeploy(url);
+ } catch (Throwable t) {
+ throw new RuntimeException("Error during undeployment: " + url, t);
+ }
+ }
+
+ protected class Shutdown extends Thread {
+ public void run() {
+ log.info("Shutting down");
+ deployer.shutdown();
+ }
+ }
+}
\ No newline at end of file
Deleted:
stack/native/branches/tdiesler/trunk/modules/embedded/src/main/java/org/jboss/wsf/stack/jbws/embedded/HttpEndpointPublishAspect.java
===================================================================
---
stack/native/branches/tdiesler/trunk/modules/core/src/main/java/org/jboss/wsf/stack/jbws/embedded/HttpEndpointPublishAspect.java 2008-04-30
18:50:34 UTC (rev 6820)
+++
stack/native/branches/tdiesler/trunk/modules/embedded/src/main/java/org/jboss/wsf/stack/jbws/embedded/HttpEndpointPublishAspect.java 2008-04-30
20:55:41 UTC (rev 6822)
@@ -1,81 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2006, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
- */
-package org.jboss.wsf.stack.jbws.embedded;
-
-import org.jboss.wsf.spi.SPIProvider;
-import org.jboss.wsf.spi.SPIProviderResolver;
-import org.jboss.wsf.spi.WSFRuntime;
-import org.jboss.wsf.spi.deployment.Deployment;
-import org.jboss.wsf.spi.deployment.DeploymentAspect;
-import org.jboss.wsf.spi.deployment.Endpoint;
-import org.jboss.wsf.spi.transport.*;
-
-/**
- * @author Heiko.Braun <heiko.braun(a)jboss.com>
- */
-public class HttpEndpointPublishAspect extends DeploymentAspect
-{
-
- private SPIProvider spi;
- private TransportManagerFactory tmf;
- private TransportManager<HttpSpec> http;
-
- public HttpEndpointPublishAspect()
- {
- spi = SPIProviderResolver.getInstance().getProvider();
- tmf = spi.getSPI(TransportManagerFactory.class);
- http = tmf.createTransportManager(Protocol.HTTP);
- }
-
- public void start(Deployment dep, WSFRuntime runtime)
- {
- String webcontext = dep.getService().getContextRoot();
- assert webcontext!=null;
- assert dep.getService().getEndpoints().size()>0;
-
- for(Endpoint endpoint : dep.getService().getEndpoints())
- {
- String urlPattern = endpoint.getURLPattern();
-
- HttpSpec spec = new HttpSpec(webcontext, urlPattern);
- ListenerRef ref = this.http.createListener(endpoint, spec);
-
- // Update endpoint address
- endpoint.setAddress(ref.getAddress().toString());
- endpoint.addAttachment(ListenerRef.class, ref);
- }
- }
-
- public void stop(Deployment dep, WSFRuntime runtime)
- {
- assert dep.getService().getEndpoints().size()>0;
-
- for(Endpoint endpoint : dep.getService().getEndpoints())
- {
- ListenerRef ref = endpoint.getAttachment(ListenerRef.class);
- assert ref!=null;
-
- this.http.destroyListener(ref);
- }
-
- }
-}
Copied:
stack/native/branches/tdiesler/trunk/modules/embedded/src/main/java/org/jboss/wsf/stack/jbws/embedded/HttpEndpointPublishAspect.java
(from rev 6821,
stack/native/branches/tdiesler/trunk/modules/core/src/main/java/org/jboss/wsf/stack/jbws/embedded/HttpEndpointPublishAspect.java)
===================================================================
---
stack/native/branches/tdiesler/trunk/modules/embedded/src/main/java/org/jboss/wsf/stack/jbws/embedded/HttpEndpointPublishAspect.java
(rev 0)
+++
stack/native/branches/tdiesler/trunk/modules/embedded/src/main/java/org/jboss/wsf/stack/jbws/embedded/HttpEndpointPublishAspect.java 2008-04-30
20:55:41 UTC (rev 6822)
@@ -0,0 +1,81 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ */
+package org.jboss.wsf.stack.jbws.embedded;
+
+import org.jboss.wsf.spi.SPIProvider;
+import org.jboss.wsf.spi.SPIProviderResolver;
+import org.jboss.wsf.spi.WSFRuntime;
+import org.jboss.wsf.spi.deployment.Deployment;
+import org.jboss.wsf.spi.deployment.DeploymentAspect;
+import org.jboss.wsf.spi.deployment.Endpoint;
+import org.jboss.wsf.spi.transport.*;
+
+/**
+ * @author Heiko.Braun <heiko.braun(a)jboss.com>
+ */
+public class HttpEndpointPublishAspect extends DeploymentAspect
+{
+
+ private SPIProvider spi;
+ private TransportManagerFactory tmf;
+ private TransportManager<HttpSpec> http;
+
+ public HttpEndpointPublishAspect()
+ {
+ spi = SPIProviderResolver.getInstance().getProvider();
+ tmf = spi.getSPI(TransportManagerFactory.class);
+ http = tmf.createTransportManager(Protocol.HTTP);
+ }
+
+ public void start(Deployment dep, WSFRuntime runtime)
+ {
+ String webcontext = dep.getService().getContextRoot();
+ assert webcontext!=null;
+ assert dep.getService().getEndpoints().size()>0;
+
+ for(Endpoint endpoint : dep.getService().getEndpoints())
+ {
+ String urlPattern = endpoint.getURLPattern();
+
+ HttpSpec spec = new HttpSpec(webcontext, urlPattern);
+ ListenerRef ref = this.http.createListener(endpoint, spec);
+
+ // Update endpoint address
+ endpoint.setAddress(ref.getAddress().toString());
+ endpoint.addAttachment(ListenerRef.class, ref);
+ }
+ }
+
+ public void stop(Deployment dep, WSFRuntime runtime)
+ {
+ assert dep.getService().getEndpoints().size()>0;
+
+ for(Endpoint endpoint : dep.getService().getEndpoints())
+ {
+ ListenerRef ref = endpoint.getAttachment(ListenerRef.class);
+ assert ref!=null;
+
+ this.http.destroyListener(ref);
+ }
+
+ }
+}
Deleted:
stack/native/branches/tdiesler/trunk/modules/embedded/src/main/java/org/jboss/wsf/stack/jbws/embedded/InvocationHandlerJSE.java
===================================================================
---
stack/native/branches/tdiesler/trunk/modules/core/src/main/java/org/jboss/wsf/stack/jbws/embedded/InvocationHandlerJSE.java 2008-04-30
18:50:34 UTC (rev 6820)
+++
stack/native/branches/tdiesler/trunk/modules/embedded/src/main/java/org/jboss/wsf/stack/jbws/embedded/InvocationHandlerJSE.java 2008-04-30
20:55:41 UTC (rev 6822)
@@ -1,112 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2006, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
- */
-package org.jboss.wsf.stack.jbws.embedded;
-
-import org.jboss.wsf.spi.invocation.InvocationHandler;
-import org.jboss.wsf.spi.invocation.Invocation;
-import org.jboss.wsf.spi.invocation.InvocationContext;
-import org.jboss.wsf.spi.deployment.Endpoint;
-import org.jboss.wsf.common.JavaUtils;
-
-import javax.xml.ws.WebServiceContext;
-import java.lang.reflect.Method;
-
-/**
- * @author Heiko.Braun <heiko.braun(a)jboss.com>
- */
-public class InvocationHandlerJSE extends InvocationHandler
-{
- public InvocationHandlerJSE()
- {
- }
-
- public Invocation createInvocation()
- {
- return new Invocation();
- }
-
- public void init(Endpoint ep)
- {
- }
-
- protected Object getTargetBean(Endpoint ep, Invocation epInv)
- {
- InvocationContext invCtx = epInv.getInvocationContext();
- Object targetBean = invCtx.getTargetBean();
- if (targetBean == null)
- {
- try
- {
- Class epImpl = ep.getTargetBeanClass();
- targetBean = epImpl.newInstance();
- invCtx.setTargetBean(targetBean);
- }
- catch (Exception ex)
- {
- throw new IllegalStateException("Cannot get target bean instance",
ex);
- }
- }
- return targetBean;
- }
-
- public void invoke(Endpoint ep, Invocation epInv) throws Exception
- {
- try
- {
- Object targetBean = getTargetBean(ep, epInv);
-
- InvocationContext invContext = epInv.getInvocationContext();
- WebServiceContext wsContext =
invContext.getAttachment(WebServiceContext.class);
- if (wsContext != null)
- {
- // TODO: ResourceInjection not supported
- }
-
- Method method = getImplMethod(targetBean.getClass(), epInv.getJavaMethod());
- Object retObj = method.invoke(targetBean, epInv.getArgs());
- epInv.setReturnValue(retObj);
- }
- catch (Exception e)
- {
- handleInvocationException(e);
- }
- }
-
- protected Method getImplMethod(Class implClass, Method seiMethod) throws
ClassNotFoundException, NoSuchMethodException
- {
- String methodName = seiMethod.getName();
- Class[] paramTypes = seiMethod.getParameterTypes();
- for (int i = 0; i < paramTypes.length; i++)
- {
- Class paramType = paramTypes[i];
- if (JavaUtils.isPrimitive(paramType) == false)
- {
- String paramTypeName = paramType.getName();
- paramType = JavaUtils.loadJavaType(paramTypeName);
- paramTypes[i] = paramType;
- }
- }
-
- Method implMethod = implClass.getMethod(methodName, paramTypes);
- return implMethod;
- }
-}
\ No newline at end of file
Copied:
stack/native/branches/tdiesler/trunk/modules/embedded/src/main/java/org/jboss/wsf/stack/jbws/embedded/InvocationHandlerJSE.java
(from rev 6821,
stack/native/branches/tdiesler/trunk/modules/core/src/main/java/org/jboss/wsf/stack/jbws/embedded/InvocationHandlerJSE.java)
===================================================================
---
stack/native/branches/tdiesler/trunk/modules/embedded/src/main/java/org/jboss/wsf/stack/jbws/embedded/InvocationHandlerJSE.java
(rev 0)
+++
stack/native/branches/tdiesler/trunk/modules/embedded/src/main/java/org/jboss/wsf/stack/jbws/embedded/InvocationHandlerJSE.java 2008-04-30
20:55:41 UTC (rev 6822)
@@ -0,0 +1,112 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ */
+package org.jboss.wsf.stack.jbws.embedded;
+
+import org.jboss.wsf.spi.invocation.InvocationHandler;
+import org.jboss.wsf.spi.invocation.Invocation;
+import org.jboss.wsf.spi.invocation.InvocationContext;
+import org.jboss.wsf.spi.deployment.Endpoint;
+import org.jboss.wsf.common.JavaUtils;
+
+import javax.xml.ws.WebServiceContext;
+import java.lang.reflect.Method;
+
+/**
+ * @author Heiko.Braun <heiko.braun(a)jboss.com>
+ */
+public class InvocationHandlerJSE extends InvocationHandler
+{
+ public InvocationHandlerJSE()
+ {
+ }
+
+ public Invocation createInvocation()
+ {
+ return new Invocation();
+ }
+
+ public void init(Endpoint ep)
+ {
+ }
+
+ protected Object getTargetBean(Endpoint ep, Invocation epInv)
+ {
+ InvocationContext invCtx = epInv.getInvocationContext();
+ Object targetBean = invCtx.getTargetBean();
+ if (targetBean == null)
+ {
+ try
+ {
+ Class epImpl = ep.getTargetBeanClass();
+ targetBean = epImpl.newInstance();
+ invCtx.setTargetBean(targetBean);
+ }
+ catch (Exception ex)
+ {
+ throw new IllegalStateException("Cannot get target bean instance",
ex);
+ }
+ }
+ return targetBean;
+ }
+
+ public void invoke(Endpoint ep, Invocation epInv) throws Exception
+ {
+ try
+ {
+ Object targetBean = getTargetBean(ep, epInv);
+
+ InvocationContext invContext = epInv.getInvocationContext();
+ WebServiceContext wsContext =
invContext.getAttachment(WebServiceContext.class);
+ if (wsContext != null)
+ {
+ // TODO: ResourceInjection not supported
+ }
+
+ Method method = getImplMethod(targetBean.getClass(), epInv.getJavaMethod());
+ Object retObj = method.invoke(targetBean, epInv.getArgs());
+ epInv.setReturnValue(retObj);
+ }
+ catch (Exception e)
+ {
+ handleInvocationException(e);
+ }
+ }
+
+ protected Method getImplMethod(Class implClass, Method seiMethod) throws
ClassNotFoundException, NoSuchMethodException
+ {
+ String methodName = seiMethod.getName();
+ Class[] paramTypes = seiMethod.getParameterTypes();
+ for (int i = 0; i < paramTypes.length; i++)
+ {
+ Class paramType = paramTypes[i];
+ if (JavaUtils.isPrimitive(paramType) == false)
+ {
+ String paramTypeName = paramType.getName();
+ paramType = JavaUtils.loadJavaType(paramTypeName);
+ paramTypes[i] = paramType;
+ }
+ }
+
+ Method implMethod = implClass.getMethod(methodName, paramTypes);
+ return implMethod;
+ }
+}
\ No newline at end of file
Deleted:
stack/native/branches/tdiesler/trunk/modules/embedded/src/main/java/org/jboss/wsf/stack/jbws/embedded/JSEInvocationHandlerFactory.java
===================================================================
---
stack/native/branches/tdiesler/trunk/modules/core/src/main/java/org/jboss/wsf/stack/jbws/embedded/JSEInvocationHandlerFactory.java 2008-04-30
18:50:34 UTC (rev 6820)
+++
stack/native/branches/tdiesler/trunk/modules/embedded/src/main/java/org/jboss/wsf/stack/jbws/embedded/JSEInvocationHandlerFactory.java 2008-04-30
20:55:41 UTC (rev 6822)
@@ -1,51 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2006, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
- */
-package org.jboss.wsf.stack.jbws.embedded;
-
-import org.jboss.wsf.spi.invocation.InvocationHandler;
-import org.jboss.wsf.spi.invocation.InvocationHandlerFactory;
-import org.jboss.wsf.spi.invocation.InvocationType;
-
-/**
- * @author Heiko.Braun <heiko.braun(a)jboss.com>
- */
-public class JSEInvocationHandlerFactory extends InvocationHandlerFactory
-{
- public InvocationHandler newInvocationHandler(InvocationType type)
- {
- InvocationHandler handler = null;
-
- switch(type)
- {
- case JAXWS_JSE:
- handler = new InvocationHandlerJSE();
- break;
- }
-
- if(null == handler)
- throw new IllegalArgumentException("Unable to resolve
spi.invocation.InvocationHandler for type " +type);
-
- return handler;
- }
-
-}
-
Copied:
stack/native/branches/tdiesler/trunk/modules/embedded/src/main/java/org/jboss/wsf/stack/jbws/embedded/JSEInvocationHandlerFactory.java
(from rev 6821,
stack/native/branches/tdiesler/trunk/modules/core/src/main/java/org/jboss/wsf/stack/jbws/embedded/JSEInvocationHandlerFactory.java)
===================================================================
---
stack/native/branches/tdiesler/trunk/modules/embedded/src/main/java/org/jboss/wsf/stack/jbws/embedded/JSEInvocationHandlerFactory.java
(rev 0)
+++
stack/native/branches/tdiesler/trunk/modules/embedded/src/main/java/org/jboss/wsf/stack/jbws/embedded/JSEInvocationHandlerFactory.java 2008-04-30
20:55:41 UTC (rev 6822)
@@ -0,0 +1,51 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ */
+package org.jboss.wsf.stack.jbws.embedded;
+
+import org.jboss.wsf.spi.invocation.InvocationHandler;
+import org.jboss.wsf.spi.invocation.InvocationHandlerFactory;
+import org.jboss.wsf.spi.invocation.InvocationType;
+
+/**
+ * @author Heiko.Braun <heiko.braun(a)jboss.com>
+ */
+public class JSEInvocationHandlerFactory extends InvocationHandlerFactory
+{
+ public InvocationHandler newInvocationHandler(InvocationType type)
+ {
+ InvocationHandler handler = null;
+
+ switch(type)
+ {
+ case JAXWS_JSE:
+ handler = new InvocationHandlerJSE();
+ break;
+ }
+
+ if(null == handler)
+ throw new IllegalArgumentException("Unable to resolve
spi.invocation.InvocationHandler for type " +type);
+
+ return handler;
+ }
+
+}
+
Deleted:
stack/native/branches/tdiesler/trunk/modules/embedded/src/main/java/org/jboss/wsf/stack/jbws/embedded/NoopWebServiceContextFactory.java
===================================================================
---
stack/native/branches/tdiesler/trunk/modules/core/src/main/java/org/jboss/wsf/stack/jbws/embedded/NoopWebServiceContextFactory.java 2008-04-30
18:50:34 UTC (rev 6820)
+++
stack/native/branches/tdiesler/trunk/modules/embedded/src/main/java/org/jboss/wsf/stack/jbws/embedded/NoopWebServiceContextFactory.java 2008-04-30
20:55:41 UTC (rev 6822)
@@ -1,61 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2006, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
- */
-package org.jboss.wsf.stack.jbws.embedded;
-
-import org.jboss.wsf.spi.invocation.ExtensibleWebServiceContext;
-import org.jboss.wsf.spi.invocation.InvocationType;
-import org.jboss.wsf.spi.invocation.WebServiceContextFactory;
-
-import javax.xml.ws.handler.MessageContext;
-import java.security.Principal;
-
-/**
- * @author Heiko.Braun <heiko.braun(a)jboss.com>
- */
-public class NoopWebServiceContextFactory extends WebServiceContextFactory
-{
- final static ExtensibleWebServiceContext NOOP_CONTEXT = new
NoopWebServiceContext(null);
-
- public ExtensibleWebServiceContext newWebServiceContext(InvocationType type,
MessageContext messageContext)
- {
- return NOOP_CONTEXT;
- }
-
- static class NoopWebServiceContext extends ExtensibleWebServiceContext
- {
-
- public NoopWebServiceContext(MessageContext messageContext)
- {
- super(messageContext);
- }
-
- public Principal getUserPrincipal()
- {
- throw new RuntimeException("Noop");
- }
-
- public boolean isUserInRole(String role)
- {
- throw new RuntimeException("Noop");
- }
- }
-}
Copied:
stack/native/branches/tdiesler/trunk/modules/embedded/src/main/java/org/jboss/wsf/stack/jbws/embedded/NoopWebServiceContextFactory.java
(from rev 6821,
stack/native/branches/tdiesler/trunk/modules/core/src/main/java/org/jboss/wsf/stack/jbws/embedded/NoopWebServiceContextFactory.java)
===================================================================
---
stack/native/branches/tdiesler/trunk/modules/embedded/src/main/java/org/jboss/wsf/stack/jbws/embedded/NoopWebServiceContextFactory.java
(rev 0)
+++
stack/native/branches/tdiesler/trunk/modules/embedded/src/main/java/org/jboss/wsf/stack/jbws/embedded/NoopWebServiceContextFactory.java 2008-04-30
20:55:41 UTC (rev 6822)
@@ -0,0 +1,61 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ */
+package org.jboss.wsf.stack.jbws.embedded;
+
+import org.jboss.wsf.spi.invocation.ExtensibleWebServiceContext;
+import org.jboss.wsf.spi.invocation.InvocationType;
+import org.jboss.wsf.spi.invocation.WebServiceContextFactory;
+
+import javax.xml.ws.handler.MessageContext;
+import java.security.Principal;
+
+/**
+ * @author Heiko.Braun <heiko.braun(a)jboss.com>
+ */
+public class NoopWebServiceContextFactory extends WebServiceContextFactory
+{
+ final static ExtensibleWebServiceContext NOOP_CONTEXT = new
NoopWebServiceContext(null);
+
+ public ExtensibleWebServiceContext newWebServiceContext(InvocationType type,
MessageContext messageContext)
+ {
+ return NOOP_CONTEXT;
+ }
+
+ static class NoopWebServiceContext extends ExtensibleWebServiceContext
+ {
+
+ public NoopWebServiceContext(MessageContext messageContext)
+ {
+ super(messageContext);
+ }
+
+ public Principal getUserPrincipal()
+ {
+ throw new RuntimeException("Noop");
+ }
+
+ public boolean isUserInRole(String role)
+ {
+ throw new RuntimeException("Noop");
+ }
+ }
+}
Deleted:
stack/native/branches/tdiesler/trunk/modules/embedded/src/main/java/org/jboss/wsf/stack/jbws/embedded/StandaloneServerConfig.java
===================================================================
---
stack/native/branches/tdiesler/trunk/modules/core/src/main/java/org/jboss/wsf/stack/jbws/embedded/StandaloneServerConfig.java 2008-04-30
18:50:34 UTC (rev 6820)
+++
stack/native/branches/tdiesler/trunk/modules/embedded/src/main/java/org/jboss/wsf/stack/jbws/embedded/StandaloneServerConfig.java 2008-04-30
20:55:41 UTC (rev 6822)
@@ -1,94 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2006, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
- */
-package org.jboss.wsf.stack.jbws.embedded;
-
-import org.jboss.wsf.spi.management.ServerConfig;
-
-import java.io.File;
-import java.net.UnknownHostException;
-
-/**
- * @author Heiko.Braun <heiko.braun(a)jboss.com>
- */
-public class StandaloneServerConfig implements ServerConfig
-{
-
- public String getImplementationTitle()
- {
- return "JBossWS Standalone";
- }
-
- public String getImplementationVersion()
- {
- return "3.0.0";
- }
-
- public File getServerTempDir()
- {
- return new File("/tmp"); // TODO: change to default
- }
-
- public File getServerDataDir()
- {
- return new File("/tmp"); //To change body of implemented methods use
File | Settings | File Templates.
- }
-
- public String getWebServiceHost()
- {
- return "localhost"; //To change body of implemented methods use File |
Settings | File Templates.
- }
-
- public void setWebServiceHost(String host) throws UnknownHostException
- {
- //To change body of implemented methods use File | Settings | File Templates.
- }
-
- public int getWebServicePort()
- {
- return 20000; // introduce constant
- }
-
- public void setWebServicePort(int port)
- {
- //To change body of implemented methods use File | Settings | File Templates.
- }
-
- public int getWebServiceSecurePort()
- {
- return 20001; // TODO: constant
- }
-
- public void setWebServiceSecurePort(int port)
- {
- //To change body of implemented methods use File | Settings | File Templates.
- }
-
- public boolean isModifySOAPAddress()
- {
- return true;
- }
-
- public void setModifySOAPAddress(boolean flag)
- {
-
- }
-}
Copied:
stack/native/branches/tdiesler/trunk/modules/embedded/src/main/java/org/jboss/wsf/stack/jbws/embedded/StandaloneServerConfig.java
(from rev 6821,
stack/native/branches/tdiesler/trunk/modules/core/src/main/java/org/jboss/wsf/stack/jbws/embedded/StandaloneServerConfig.java)
===================================================================
---
stack/native/branches/tdiesler/trunk/modules/embedded/src/main/java/org/jboss/wsf/stack/jbws/embedded/StandaloneServerConfig.java
(rev 0)
+++
stack/native/branches/tdiesler/trunk/modules/embedded/src/main/java/org/jboss/wsf/stack/jbws/embedded/StandaloneServerConfig.java 2008-04-30
20:55:41 UTC (rev 6822)
@@ -0,0 +1,94 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ */
+package org.jboss.wsf.stack.jbws.embedded;
+
+import org.jboss.wsf.spi.management.ServerConfig;
+
+import java.io.File;
+import java.net.UnknownHostException;
+
+/**
+ * @author Heiko.Braun <heiko.braun(a)jboss.com>
+ */
+public class StandaloneServerConfig implements ServerConfig
+{
+
+ public String getImplementationTitle()
+ {
+ return "JBossWS Standalone";
+ }
+
+ public String getImplementationVersion()
+ {
+ return "3.0.0";
+ }
+
+ public File getServerTempDir()
+ {
+ return new File("/tmp"); // TODO: change to default
+ }
+
+ public File getServerDataDir()
+ {
+ return new File("/tmp"); //To change body of implemented methods use
File | Settings | File Templates.
+ }
+
+ public String getWebServiceHost()
+ {
+ return "localhost"; //To change body of implemented methods use File |
Settings | File Templates.
+ }
+
+ public void setWebServiceHost(String host) throws UnknownHostException
+ {
+ //To change body of implemented methods use File | Settings | File Templates.
+ }
+
+ public int getWebServicePort()
+ {
+ return 20000; // introduce constant
+ }
+
+ public void setWebServicePort(int port)
+ {
+ //To change body of implemented methods use File | Settings | File Templates.
+ }
+
+ public int getWebServiceSecurePort()
+ {
+ return 20001; // TODO: constant
+ }
+
+ public void setWebServiceSecurePort(int port)
+ {
+ //To change body of implemented methods use File | Settings | File Templates.
+ }
+
+ public boolean isModifySOAPAddress()
+ {
+ return true;
+ }
+
+ public void setModifySOAPAddress(boolean flag)
+ {
+
+ }
+}
Deleted:
stack/native/branches/tdiesler/trunk/modules/embedded/src/main/java/org/jboss/wsf/stack/jbws/embedded/standalone-config.xml
===================================================================
---
stack/native/branches/tdiesler/trunk/modules/core/src/main/java/org/jboss/wsf/stack/jbws/embedded/standalone-config.xml 2008-04-30
18:50:34 UTC (rev 6820)
+++
stack/native/branches/tdiesler/trunk/modules/embedded/src/main/java/org/jboss/wsf/stack/jbws/embedded/standalone-config.xml 2008-04-30
20:55:41 UTC (rev 6822)
@@ -1,132 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<deployment
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="urn:jboss:bean-deployer:2.0
bean-deployer_2_0.xsd"
- xmlns="urn:jboss:bean-deployer:2.0">
-
- <!--
- ======================================================================
- SPI Implementations
- ======================================================================
- -->
-
- <bean name="WSKernelLocator"
class="org.jboss.wsf.spi.util.KernelLocator">
- <property name="kernel"><inject
bean="jboss.kernel:service=Kernel"/></property>
- </bean>
-
- <bean name="WSServerConfig"
class="org.jboss.wsf.stack.jbws.embedded.StandaloneServerConfig">
- <property name="webServiceHost">localhost</property>
- <property name="modifySOAPAddress">true</property>
- </bean>
-
- <!-- The registry for web service endpoints -->
- <bean name="WSEndpointRegistry"
class="org.jboss.wsf.framework.management.DefaultEndpointRegistry"/>
-
- <!--
- ======================================================================
- Standalone DeploymentAspectManager
- ======================================================================
- -->
-
- <bean name="WSDeploymentAspectManagerJSE"
class="org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl">
- <property
name="name">WSDeploymentAspectManagerJSE</property>
- </bean>
-
- <!--
- ======================================================================
- Container deployment aspects
- ======================================================================
- -->
-
- <bean name="WSEndpointLifecycleDeploymentAspect"
class="org.jboss.wsf.framework.deployment.EndpointLifecycleDeploymentAspect">
- <property name="requires">LAST_DEPLOYMENT_ASPECT</property>
- </bean>
-
- <bean name="WSEndpointRegistryDeploymentAspect"
class="org.jboss.wsf.framework.deployment.EndpointRegistryDeploymentAspect">
- <property name="provides">RegisteredEndpoint</property>
- </bean>
-
- <bean name="WSHttpTransportDeploymentAspect"
class="org.jboss.wsf.stack.jbws.embedded.HttpEndpointPublishAspect">
- <property name="requires">RegisteredEndpoint</property>
- <property name="provides">HttpTransport</property>
- </bean>
-
- <bean name="WSDeploymentAspectInstallerJSE"
class="org.jboss.wsf.framework.deployment.DeploymentAspectInstaller">
- <property name="manager"><inject
bean="WSDeploymentAspectManagerJSE"/></property>
- <property name="sortAspectsOnCreate">false</property>
- <property name="aspects">
- <set class="java.util.HashSet"
elementClass="org.jboss.wsf.spi.deployment.DeploymentAspect">
- <inject bean="WSEndpointRegistryDeploymentAspect"/>
- <inject bean="WSEndpointLifecycleDeploymentAspect"/>
- </set>
- </property>
- </bean>
-
- <!--
- ==============================================================================
- Stack deployment aspects
- ==============================================================================
- -->
-
- <bean name="WSNativeEagerInitializeDeploymentAspect"
class="org.jboss.wsf.stack.jbws.EagerInitializeDeploymentAspect">
- <property name="requires">UnifiedMetaDataModel</property>
- <property
name="provides">InitializedMetaDataModel</property>
- </bean>
-
- <bean name="WSNativeEndpointHandlerDeploymentAspect"
class="org.jboss.wsf.framework.deployment.EndpointHandlerDeploymentAspect">
- <!--property name="requires">ContainerEndpointHandler,
ContainerMetaData</property-->
- <property name="provides">StackEndpointHandler</property>
- </bean>
-
- <bean name="WSNativeEventingDeploymentAspect"
class="org.jboss.wsf.stack.jbws.EventingDeploymentAspect">
- <property name="requires">UnifiedMetaDataModel</property>
- </bean>
-
- <bean name="WSNativePublishContractDeploymentAspect"
class="org.jboss.wsf.stack.jbws.PublishContractDeploymentAspect">
- <property name="requires">UnifiedMetaDataModel</property>
- <property name="provides">PublishedContract</property>
- </bean>
-
- <bean name="WSNativeServiceEndpointInvokerDeploymentAspect"
class="org.jboss.wsf.stack.jbws.ServiceEndpointInvokerDeploymentAspect">
- <property name="requires">UnifiedMetaDataModel</property>
- </bean>
-
- <bean name="WSNativeRMDeploymentAspect"
class="org.jboss.ws.extensions.wsrm.server.RMDeploymentAspect">
- <property name="requires">StackEndpointHandler,
UnifiedMetaDataModel</property>
- </bean>
-
- <bean name="WSNativeUnifiedMetaDataDeploymentAspect"
class="org.jboss.wsf.stack.jbws.UnifiedMetaDataDeploymentAspect">
- <property name="provides">UnifiedMetaDataModel</property>
- </bean>
-
- <!-- Deployment aspect installer -->
-
- <bean name="WSNativeDeploymentAspectInstallerJSE"
class="org.jboss.wsf.framework.deployment.DeploymentAspectInstaller">
- <property name="manager"><inject
bean="WSDeploymentAspectManagerJSE"/></property>
- <property name="sortAspectsOnCreate">true</property>
- <property name="aspects">
- <set class="java.util.HashSet"
elementClass="org.jboss.wsf.spi.deployment.DeploymentAspect">
- <inject bean="WSNativeEndpointHandlerDeploymentAspect"/>
- <inject bean="WSNativeEventingDeploymentAspect"/>
- <inject bean="WSNativePublishContractDeploymentAspect"/>
- <inject
bean="WSNativeServiceEndpointInvokerDeploymentAspect"/>
- <inject bean="WSNativeRMDeploymentAspect"/>
- <inject bean="WSNativeUnifiedMetaDataDeploymentAspect"/>
- <inject bean="WSNativeEagerInitializeDeploymentAspect"/>
- <inject bean="WSHttpTransportDeploymentAspect"/>
- </set>
- </property>
- <depends>WSDeploymentAspectManagerJSE</depends>
- </bean>
-
- <!--
- ==============================================================================
- Stack specific beans (not SPI)
- ==============================================================================
- -->
-
- <!-- A subscription manager for WS-Eventing -->
- <bean name="WSSubscriptionManager"
class="org.jboss.ws.extensions.eventing.mgmt.SubscriptionManager">
- <property name="bindAddress">localhost</property>
- </bean>
-
-</deployment>
\ No newline at end of file
Copied:
stack/native/branches/tdiesler/trunk/modules/embedded/src/main/java/org/jboss/wsf/stack/jbws/embedded/standalone-config.xml
(from rev 6821,
stack/native/branches/tdiesler/trunk/modules/core/src/main/java/org/jboss/wsf/stack/jbws/embedded/standalone-config.xml)
===================================================================
---
stack/native/branches/tdiesler/trunk/modules/embedded/src/main/java/org/jboss/wsf/stack/jbws/embedded/standalone-config.xml
(rev 0)
+++
stack/native/branches/tdiesler/trunk/modules/embedded/src/main/java/org/jboss/wsf/stack/jbws/embedded/standalone-config.xml 2008-04-30
20:55:41 UTC (rev 6822)
@@ -0,0 +1,132 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<deployment
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="urn:jboss:bean-deployer:2.0
bean-deployer_2_0.xsd"
+ xmlns="urn:jboss:bean-deployer:2.0">
+
+ <!--
+ ======================================================================
+ SPI Implementations
+ ======================================================================
+ -->
+
+ <bean name="WSKernelLocator"
class="org.jboss.wsf.spi.util.KernelLocator">
+ <property name="kernel"><inject
bean="jboss.kernel:service=Kernel"/></property>
+ </bean>
+
+ <bean name="WSServerConfig"
class="org.jboss.wsf.stack.jbws.embedded.StandaloneServerConfig">
+ <property name="webServiceHost">localhost</property>
+ <property name="modifySOAPAddress">true</property>
+ </bean>
+
+ <!-- The registry for web service endpoints -->
+ <bean name="WSEndpointRegistry"
class="org.jboss.wsf.framework.management.DefaultEndpointRegistry"/>
+
+ <!--
+ ======================================================================
+ Standalone DeploymentAspectManager
+ ======================================================================
+ -->
+
+ <bean name="WSDeploymentAspectManagerJSE"
class="org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl">
+ <property
name="name">WSDeploymentAspectManagerJSE</property>
+ </bean>
+
+ <!--
+ ======================================================================
+ Container deployment aspects
+ ======================================================================
+ -->
+
+ <bean name="WSEndpointLifecycleDeploymentAspect"
class="org.jboss.wsf.framework.deployment.EndpointLifecycleDeploymentAspect">
+ <property name="requires">LAST_DEPLOYMENT_ASPECT</property>
+ </bean>
+
+ <bean name="WSEndpointRegistryDeploymentAspect"
class="org.jboss.wsf.framework.deployment.EndpointRegistryDeploymentAspect">
+ <property name="provides">RegisteredEndpoint</property>
+ </bean>
+
+ <bean name="WSHttpTransportDeploymentAspect"
class="org.jboss.wsf.stack.jbws.embedded.HttpEndpointPublishAspect">
+ <property name="requires">RegisteredEndpoint</property>
+ <property name="provides">HttpTransport</property>
+ </bean>
+
+ <bean name="WSDeploymentAspectInstallerJSE"
class="org.jboss.wsf.framework.deployment.DeploymentAspectInstaller">
+ <property name="manager"><inject
bean="WSDeploymentAspectManagerJSE"/></property>
+ <property name="sortAspectsOnCreate">false</property>
+ <property name="aspects">
+ <set class="java.util.HashSet"
elementClass="org.jboss.wsf.spi.deployment.DeploymentAspect">
+ <inject bean="WSEndpointRegistryDeploymentAspect"/>
+ <inject bean="WSEndpointLifecycleDeploymentAspect"/>
+ </set>
+ </property>
+ </bean>
+
+ <!--
+ ==============================================================================
+ Stack deployment aspects
+ ==============================================================================
+ -->
+
+ <bean name="WSNativeEagerInitializeDeploymentAspect"
class="org.jboss.wsf.stack.jbws.EagerInitializeDeploymentAspect">
+ <property name="requires">UnifiedMetaDataModel</property>
+ <property
name="provides">InitializedMetaDataModel</property>
+ </bean>
+
+ <bean name="WSNativeEndpointHandlerDeploymentAspect"
class="org.jboss.wsf.framework.deployment.EndpointHandlerDeploymentAspect">
+ <!--property name="requires">ContainerEndpointHandler,
ContainerMetaData</property-->
+ <property name="provides">StackEndpointHandler</property>
+ </bean>
+
+ <bean name="WSNativeEventingDeploymentAspect"
class="org.jboss.wsf.stack.jbws.EventingDeploymentAspect">
+ <property name="requires">UnifiedMetaDataModel</property>
+ </bean>
+
+ <bean name="WSNativePublishContractDeploymentAspect"
class="org.jboss.wsf.stack.jbws.PublishContractDeploymentAspect">
+ <property name="requires">UnifiedMetaDataModel</property>
+ <property name="provides">PublishedContract</property>
+ </bean>
+
+ <bean name="WSNativeServiceEndpointInvokerDeploymentAspect"
class="org.jboss.wsf.stack.jbws.ServiceEndpointInvokerDeploymentAspect">
+ <property name="requires">UnifiedMetaDataModel</property>
+ </bean>
+
+ <bean name="WSNativeRMDeploymentAspect"
class="org.jboss.ws.extensions.wsrm.server.RMDeploymentAspect">
+ <property name="requires">StackEndpointHandler,
UnifiedMetaDataModel</property>
+ </bean>
+
+ <bean name="WSNativeUnifiedMetaDataDeploymentAspect"
class="org.jboss.wsf.stack.jbws.UnifiedMetaDataDeploymentAspect">
+ <property name="provides">UnifiedMetaDataModel</property>
+ </bean>
+
+ <!-- Deployment aspect installer -->
+
+ <bean name="WSNativeDeploymentAspectInstallerJSE"
class="org.jboss.wsf.framework.deployment.DeploymentAspectInstaller">
+ <property name="manager"><inject
bean="WSDeploymentAspectManagerJSE"/></property>
+ <property name="sortAspectsOnCreate">true</property>
+ <property name="aspects">
+ <set class="java.util.HashSet"
elementClass="org.jboss.wsf.spi.deployment.DeploymentAspect">
+ <inject bean="WSNativeEndpointHandlerDeploymentAspect"/>
+ <inject bean="WSNativeEventingDeploymentAspect"/>
+ <inject bean="WSNativePublishContractDeploymentAspect"/>
+ <inject
bean="WSNativeServiceEndpointInvokerDeploymentAspect"/>
+ <inject bean="WSNativeRMDeploymentAspect"/>
+ <inject bean="WSNativeUnifiedMetaDataDeploymentAspect"/>
+ <inject bean="WSNativeEagerInitializeDeploymentAspect"/>
+ <inject bean="WSHttpTransportDeploymentAspect"/>
+ </set>
+ </property>
+ <depends>WSDeploymentAspectManagerJSE</depends>
+ </bean>
+
+ <!--
+ ==============================================================================
+ Stack specific beans (not SPI)
+ ==============================================================================
+ -->
+
+ <!-- A subscription manager for WS-Eventing -->
+ <bean name="WSSubscriptionManager"
class="org.jboss.ws.extensions.eventing.mgmt.SubscriptionManager">
+ <property name="bindAddress">localhost</property>
+ </bean>
+
+</deployment>
\ No newline at end of file
Copied: stack/native/branches/tdiesler/trunk/modules/embedded/src/main/resources/META-INF
(from rev 6817,
stack/native/branches/tdiesler/trunk/src/main/resources/jbossws-embedded.jar/META-INF)
Copied:
stack/native/branches/tdiesler/trunk/modules/embedded/src/main/resources/META-INF/services
(from rev 6821,
stack/native/branches/tdiesler/trunk/src/main/resources/jbossws-embedded.jar/META-INF/services)
Added:
stack/native/branches/tdiesler/trunk/modules/embedded/target/classes/org/jboss/wsf/stack/jbws/embedded/DeploymentModelBuilder.class
===================================================================
(Binary files differ)
Property changes on:
stack/native/branches/tdiesler/trunk/modules/embedded/target/classes/org/jboss/wsf/stack/jbws/embedded/DeploymentModelBuilder.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
stack/native/branches/tdiesler/trunk/modules/embedded/target/classes/org/jboss/wsf/stack/jbws/embedded/EmbeddableWSFRuntime.class
===================================================================
(Binary files differ)
Property changes on:
stack/native/branches/tdiesler/trunk/modules/embedded/target/classes/org/jboss/wsf/stack/jbws/embedded/EmbeddableWSFRuntime.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
stack/native/branches/tdiesler/trunk/modules/embedded/target/classes/org/jboss/wsf/stack/jbws/embedded/EmbeddedBootstrap$Shutdown.class
===================================================================
(Binary files differ)
Property changes on:
stack/native/branches/tdiesler/trunk/modules/embedded/target/classes/org/jboss/wsf/stack/jbws/embedded/EmbeddedBootstrap$Shutdown.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
stack/native/branches/tdiesler/trunk/modules/embedded/target/classes/org/jboss/wsf/stack/jbws/embedded/EmbeddedBootstrap.class
===================================================================
(Binary files differ)
Property changes on:
stack/native/branches/tdiesler/trunk/modules/embedded/target/classes/org/jboss/wsf/stack/jbws/embedded/EmbeddedBootstrap.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
stack/native/branches/tdiesler/trunk/modules/embedded/target/classes/org/jboss/wsf/stack/jbws/embedded/HttpEndpointPublishAspect.class
===================================================================
(Binary files differ)
Property changes on:
stack/native/branches/tdiesler/trunk/modules/embedded/target/classes/org/jboss/wsf/stack/jbws/embedded/HttpEndpointPublishAspect.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
stack/native/branches/tdiesler/trunk/modules/embedded/target/classes/org/jboss/wsf/stack/jbws/embedded/InvocationHandlerJSE.class
===================================================================
(Binary files differ)
Property changes on:
stack/native/branches/tdiesler/trunk/modules/embedded/target/classes/org/jboss/wsf/stack/jbws/embedded/InvocationHandlerJSE.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
stack/native/branches/tdiesler/trunk/modules/embedded/target/classes/org/jboss/wsf/stack/jbws/embedded/JSEInvocationHandlerFactory$1.class
===================================================================
(Binary files differ)
Property changes on:
stack/native/branches/tdiesler/trunk/modules/embedded/target/classes/org/jboss/wsf/stack/jbws/embedded/JSEInvocationHandlerFactory$1.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
stack/native/branches/tdiesler/trunk/modules/embedded/target/classes/org/jboss/wsf/stack/jbws/embedded/JSEInvocationHandlerFactory.class
===================================================================
(Binary files differ)
Property changes on:
stack/native/branches/tdiesler/trunk/modules/embedded/target/classes/org/jboss/wsf/stack/jbws/embedded/JSEInvocationHandlerFactory.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
stack/native/branches/tdiesler/trunk/modules/embedded/target/classes/org/jboss/wsf/stack/jbws/embedded/NoopWebServiceContextFactory$NoopWebServiceContext.class
===================================================================
(Binary files differ)
Property changes on:
stack/native/branches/tdiesler/trunk/modules/embedded/target/classes/org/jboss/wsf/stack/jbws/embedded/NoopWebServiceContextFactory$NoopWebServiceContext.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
stack/native/branches/tdiesler/trunk/modules/embedded/target/classes/org/jboss/wsf/stack/jbws/embedded/NoopWebServiceContextFactory.class
===================================================================
(Binary files differ)
Property changes on:
stack/native/branches/tdiesler/trunk/modules/embedded/target/classes/org/jboss/wsf/stack/jbws/embedded/NoopWebServiceContextFactory.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
stack/native/branches/tdiesler/trunk/modules/embedded/target/classes/org/jboss/wsf/stack/jbws/embedded/StandaloneServerConfig.class
===================================================================
(Binary files differ)
Property changes on:
stack/native/branches/tdiesler/trunk/modules/embedded/target/classes/org/jboss/wsf/stack/jbws/embedded/StandaloneServerConfig.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
stack/native/branches/tdiesler/trunk/modules/embedded/target/jbossws-native-embedded-3.0.2-SNAPSHOT-sources.jar
===================================================================
(Binary files differ)
Property changes on:
stack/native/branches/tdiesler/trunk/modules/embedded/target/jbossws-native-embedded-3.0.2-SNAPSHOT-sources.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
stack/native/branches/tdiesler/trunk/modules/embedded/target/jbossws-native-embedded-3.0.2-SNAPSHOT.jar
===================================================================
(Binary files differ)
Property changes on:
stack/native/branches/tdiesler/trunk/modules/embedded/target/jbossws-native-embedded-3.0.2-SNAPSHOT.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
stack/native/branches/tdiesler/trunk/modules/embedded/target/maven-archiver/pom.properties
===================================================================
---
stack/native/branches/tdiesler/trunk/modules/embedded/target/maven-archiver/pom.properties
(rev 0)
+++
stack/native/branches/tdiesler/trunk/modules/embedded/target/maven-archiver/pom.properties 2008-04-30
20:55:41 UTC (rev 6822)
@@ -0,0 +1,5 @@
+#Generated by Maven
+#Wed Apr 30 22:39:11 CEST 2008
+version=3.0.2-SNAPSHOT
+groupId=org.jboss.ws.native
+artifactId=jbossws-native-embedded
Copied: stack/native/branches/tdiesler/trunk/modules/management (from rev 6787,
stack/metro/trunk/modules/management)
Deleted: stack/native/branches/tdiesler/trunk/modules/management/pom.xml
===================================================================
--- stack/metro/trunk/modules/management/pom.xml 2008-04-30 14:12:48 UTC (rev 6787)
+++ stack/native/branches/tdiesler/trunk/modules/management/pom.xml 2008-04-30 20:55:41
UTC (rev 6822)
@@ -1,25 +0,0 @@
-<project
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <name>JBoss Web Services - Stack Metro Management</name>
- <artifactId>jbossws-metro-management</artifactId>
- <packaging>war</packaging>
-
- <parent>
- <groupId>org.jboss.ws</groupId>
- <artifactId>jbossws-metro</artifactId>
- <version>3.0.2-SNAPSHOT</version>
- </parent>
-
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-war-plugin</artifactId>
- <configuration>
- <warSourceExcludes>WEB-INF/lib/*.jar</warSourceExcludes>
- </configuration>
- </plugin>
- </plugins>
- </build>
-</project>
Copied: stack/native/branches/tdiesler/trunk/modules/management/pom.xml (from rev 6821,
stack/metro/trunk/modules/management/pom.xml)
===================================================================
--- stack/native/branches/tdiesler/trunk/modules/management/pom.xml
(rev 0)
+++ stack/native/branches/tdiesler/trunk/modules/management/pom.xml 2008-04-30 20:55:41
UTC (rev 6822)
@@ -0,0 +1,25 @@
+<project
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <name>JBoss Web Services - Stack Native Management</name>
+ <artifactId>jbossws-native-management</artifactId>
+ <packaging>war</packaging>
+
+ <parent>
+ <groupId>org.jboss.ws.native</groupId>
+ <artifactId>jbossws-native</artifactId>
+ <version>3.0.2-SNAPSHOT</version>
+ </parent>
+
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-war-plugin</artifactId>
+ <configuration>
+ <warSourceExcludes>WEB-INF/lib/*.jar</warSourceExcludes>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+</project>
Copied: stack/native/branches/tdiesler/trunk/modules/management/src (from rev 6821,
stack/metro/trunk/modules/management/src)
Modified:
stack/native/branches/tdiesler/trunk/modules/management/src/main/webapp/WEB-INF/jboss-web.xml
===================================================================
--- stack/metro/trunk/modules/management/src/main/webapp/WEB-INF/jboss-web.xml 2008-04-30
20:32:06 UTC (rev 6821)
+++
stack/native/branches/tdiesler/trunk/modules/management/src/main/webapp/WEB-INF/jboss-web.xml 2008-04-30
20:55:41 UTC (rev 6822)
@@ -6,9 +6,10 @@
<jboss-web>
- <!--
- <security-domain>java:/jaas/jbossws</security-domain>
+ <!-- A security domain that restricts access
+ <security-domain>java:/jaas/JBossWS</security-domain>
-->
+
<context-root>jbossws</context-root>
</jboss-web>
Modified:
stack/native/branches/tdiesler/trunk/modules/management/src/main/webapp/WEB-INF/web.xml
===================================================================
--- stack/metro/trunk/modules/management/src/main/webapp/WEB-INF/web.xml 2008-04-30
20:32:06 UTC (rev 6821)
+++
stack/native/branches/tdiesler/trunk/modules/management/src/main/webapp/WEB-INF/web.xml 2008-04-30
20:55:41 UTC (rev 6822)
@@ -17,6 +17,11 @@
<servlet-class>org.jboss.wsf.framework.management.ContextServlet</servlet-class>
</servlet>
+ <servlet>
+ <servlet-name>PortComponentLinkServlet</servlet-name>
+
<servlet-class>org.jboss.ws.core.server.PortComponentLinkServlet</servlet-class>
+ </servlet>
+
<!-- now the mappings -->
<servlet-mapping>
@@ -24,6 +29,37 @@
<url-pattern>/services/*</url-pattern>
</servlet-mapping>
+ <servlet-mapping>
+ <servlet-name>PortComponentLinkServlet</servlet-name>
+ <url-pattern>/pclink</url-pattern>
+ </servlet-mapping>
+
+ <!-- A security constraint that restricts access
+ <security-constraint>
+ <web-resource-collection>
+ <web-resource-name>ContextServlet</web-resource-name>
+ <description>An example security config that only allows users with the
+ role 'friend' to access the JBossWS console web application
+ </description>
+ <url-pattern>/*</url-pattern>
+ <http-method>GET</http-method>
+ <http-method>POST</http-method>
+ </web-resource-collection>
+ <auth-constraint>
+ <role-name>friend</role-name>
+ </auth-constraint>
+ </security-constraint>
+ -->
+
+ <login-config>
+ <auth-method>BASIC</auth-method>
+ <realm-name>JBossWS Management Console</realm-name>
+ </login-config>
+
+ <security-role>
+ <role-name>friend</role-name>
+ </security-role>
+
<!--
currently the W3C haven't settled on a media type for WSDL;
http://www.w3.org/TR/2003/WD-wsdl12-20030303/#ietf-draft
Modified:
stack/native/branches/tdiesler/trunk/modules/management/src/main/webapp/index.html
===================================================================
--- stack/metro/trunk/modules/management/src/main/webapp/index.html 2008-04-30 20:32:06
UTC (rev 6821)
+++
stack/native/branches/tdiesler/trunk/modules/management/src/main/webapp/index.html 2008-04-30
20:55:41 UTC (rev 6822)
@@ -1,66 +1,66 @@
-<html><head>
-<meta http-equiv='Content-Type content='text/html;
charset=iso-8859-1'>
-<title>JBossWS (@implementation.version@)</title>
-<link rel='stylesheet' href='./styles.css'>
-</head>
-<body>
-
-<div class='pageHeader'>JBossWS</div>
-
-<div class="pageSection">
-<h2>Welcome to JBoss Web Services</h2>
-JBossWS is a JAX-WS compliant web service stack developed to be part of JBoss'
JavaEE5 offering.
-</div>
-
-<div class="pageSection">
-<h3>Administration</h3>
-
-<fieldset>
- <legend><b>Runtime information</b></legend>
-<ul>
- <li><b>Revision: @implementation.version@</b></li>
- <li><b>Build: @build.id@</b></li>
- <li><a href="services">View a list of deployed
services</a></li>
- <!--li><a href="depends">View installed
dependencies</a></li-->
- <li><a href="/jmx-console/">Access JMX
console</a></li>
-</ul>
-</fieldset>
-</div>
-
-<div class="pageSection">
-<h3>Project information</h3>
-
-<fieldset>
- <legend><b>Documentation</b></legend>
-
-<ul>
- <li><a
href="http://labs.jboss.com/portal/jbossws/downloads">Latest download and
samples</a></li>
- <li><a
href="http://jbws.dyndns.org/mediawiki/index.php/JBossWS_FAQs"&...
- <li><a
href="http://jbws.dyndns.org/mediawiki/index.php/JAX-WS_User_Guide&q...
guide</a></li>
+<html><head>
+<meta http-equiv='Content-Type content='text/html;
charset=iso-8859-1'>
+<title>JBossWS (@implementation.version@)</title>
+<link rel='stylesheet' href='./styles.css'>
+</head>
+<body>
+
+<div class='pageHeader'>JBossWS</div>
+
+<div class="pageSection">
+<h2>Welcome to JBoss Web Services</h2>
+JBossWS is a JAX-WS compliant web service stack developed to be part of JBoss'
JavaEE5 offering.
+</div>
+
+<div class="pageSection">
+<h3>Administration</h3>
+
+<fieldset>
+ <legend><b>Runtime information</b></legend>
+<ul>
+ <li><b>Revision: @implementation.version@</b></li>
+ <li><b>Build: @build.id@</b></li>
+ <li><a href="services">View a list of deployed
services</a></li>
+ <!--li><a href="depends">View installed
dependencies</a></li-->
+ <li><a href="/jmx-console/">Access JMX
console</a></li>
+</ul>
+</fieldset>
+</div>
+
+<div class="pageSection">
+<h3>Project information</h3>
+
+<fieldset>
+ <legend><b>Documentation</b></legend>
+
+<ul>
+ <li><a
href="http://labs.jboss.com/portal/jbossws/downloads">Latest download and
samples</a></li>
+ <li><a
href="http://jbws.dyndns.org/mediawiki/index.php/JBossWS_FAQs"&...
+ <li><a
href="http://jbws.dyndns.org/mediawiki/index.php/JAX-WS_User_Guide&q...
guide</a></li>
<li><a
href="http://jbws.dyndns.org/mediawiki/index.php/Main_Page">...
WIKI</a></li>
- <li><a
href="http://jbws.dyndns.org/mediawiki/index.php?title=Records_manag...
management</a></li>
-</ul>
-</fieldset>
-
-</br>
-<fieldset>
- <legend><b>Community</b></legend>
-<ul>
- <li><a
href="http://www.jboss.org/index.html?module=bb&op=viewforum&...
forum</a></li>
- <li><a
href="http://www.jboss.org/index.html?module=bb&op=viewforum&...
forum</a></li>
- <li><a
href="https://lists.jboss.org/mailman/listinfo/jbossws-users"&g...
list</a></li>
-</ul>
-</fieldset>
-
-</br>
-<fieldset>
- <legend><b>Source repository</b></legend>
-<ul>
- <li><a
href="http://jbws.dyndns.org/mediawiki/index.php?title=Subversion&qu...
repository</a></li>
- <li><a
href="http://fisheye.jboss.com/viewrep/JBossWS">Browse
sources online</a></li>
-</ul>
-</fieldset>
-</div>
-
-</body>
-</html>
+ <li><a
href="http://jbws.dyndns.org/mediawiki/index.php?title=Records_manag...
management</a></li>
+</ul>
+</fieldset>
+
+</br>
+<fieldset>
+ <legend><b>Community</b></legend>
+<ul>
+ <li><a
href="http://www.jboss.org/index.html?module=bb&op=viewforum&...
forum</a></li>
+ <li><a
href="http://www.jboss.org/index.html?module=bb&op=viewforum&...
forum</a></li>
+ <li><a
href="https://lists.jboss.org/mailman/listinfo/jbossws-users"&g...
list</a></li>
+</ul>
+</fieldset>
+
+</br>
+<fieldset>
+ <legend><b>Source repository</b></legend>
+<ul>
+ <li><a
href="http://jbws.dyndns.org/mediawiki/index.php?title=Subversion&qu...
repository</a></li>
+ <li><a
href="http://fisheye.jboss.com/viewrep/JBossWS">Browse
sources online</a></li>
+</ul>
+</fieldset>
+</div>
+
+</body>
+</html>
Modified:
stack/native/branches/tdiesler/trunk/modules/management/src/main/webapp/styles.css
===================================================================
--- stack/metro/trunk/modules/management/src/main/webapp/styles.css 2008-04-30 20:32:06
UTC (rev 6821)
+++
stack/native/branches/tdiesler/trunk/modules/management/src/main/webapp/styles.css 2008-04-30
20:55:41 UTC (rev 6822)
@@ -1,186 +1,186 @@
-
-/* table for list views */
-.table_list {
-}
-
-/* table for detail views */
-.table_form {
-}
-
-.pageHeader {
- font-size: 14pt;
- font-weight: BOLD;
- color: #ffffff;
- border-bottom-width:1px;
- border-bottom-style:solid;
- border-color:#000066;
- margin-bottom:15px;
- padding-left:15px;
- padding-top:5px;
- padding-bottom:5px;
- background-color: #3b4f66;
- max-width: 900px;
-}
-
-.pageSection {
- padding-left:15px;
- margin-bottom: 5px;
- max-width: 900px;
-}
-
-.metrics
-{
- font-size: 6pt;
- background-color: #dddddd;
- width: 100%;
-}
-
-/* table row header */
-.list_tr_head {
- font-family: Verdana, sans-serif;
- font-size: 8pt;
- font-weight: 600;
- text-align: center;
- background-color: #3b4f66;
-}
-
-/* table row list view */
-.list_tr {
- font-family: Verdana, sans-serif;
- font-size: 8pt;
- color: #000066;
- vertical-align: top;
- background-color: #ffffff;
-}
-
-/* table row list view odd lines */
-.list_tr_even {
- font-family: Verdana, sans-serif;
- font-size: 8pt;
- color: #000066;
- vertical-align: top;
- background-color: #ffffff;
-}
-
-/* table row list view even lines */
-.list_tr_odd {
- font-family: Verdana, sans-serif;
- font-size: 8pt;
- color: #000066;
- vertical-align: top;
- background-color: #dddddd;
-}
-
-/* form label */
-.form_label {
- font-family: Verdana, sans-serif;
- font-weight: 500;
- font-size: 8pt;
- color: #000066;
- vertical-align: top;
- background-color: #dddddd;
- padding-top: 2px;
- padding-bottom: 2px;
-}
-
-/* form value */
-.form_value {
- font-family: Verdana, sans-serif;
- font-size: 8pt;
- color: #000066;
- vertical-align: baseline;
-}
-
-/* tiny writing */
-.tiny {
- font-family: Verdana, sans-serif;
- font-size: 8pt;
- color: #666666;
-}
-
-/* required input fields */
-.inputmust {
- background-color: #dddddd;
-}
-
-/* error message */
-.error {
- font-family: Courier New;
- color: #990000;
-}
-
-/* error message */
-.error_trace {
- font-family: Courier New;
-}
-
-/* active tree node */
-.tree_active_label {
- font-weight: bold;
-}
-
-body {
- font-family: Verdana,, sans-serif;
- font-size: 8pt;
- color: #000066;
- background-color: #ffffff;
-}
-
-/* title style */
-h1 {
- font-family: Verdana, sans-serif;
- font-size: 14pt;
- font-weight: 600;
- color: #000066;
-}
-
-h2 {
- font-family: Verdana, sans-serif;
- font-size: 12pt;
- font-weight: 600;
- color: #000066;
-}
-
-h3 {
- font-family: Verdana, sans-serif;
- font-size: 10pt;
- font-weight: 600;
- color: #000066;
-}
-
-h4 {
- font-family: Verdana, sans-serif;
- font-size: 10pt;
- font-weight: 500;
- color: #000066;
-}
-
-/* table desk */
-td {
- font-family: Verdana, sans-serif;
- font-size: 8pt;
- padding-left: 5px;
- padding-right: 5px;
-}
-
-input, textarea, select, option {
- font-family: Verdana, sans-serif;
- font-size: 8pt;
- color: #000066;
-}
-
-a {
- font-family: Verdana, sans-serif;
- color: #3b4f66;
- text-decoration: none;
-}
-
-a:hover{
- font-family: Verdana, sans-serif;
- color: #cc0000;
- text-decoration: none;
-}
-
-pre {
- background:#dddddd
+
+/* table for list views */
+.table_list {
+}
+
+/* table for detail views */
+.table_form {
+}
+
+.pageHeader {
+ font-size: 14pt;
+ font-weight: BOLD;
+ color: #ffffff;
+ border-bottom-width:1px;
+ border-bottom-style:solid;
+ border-color:#000066;
+ margin-bottom:15px;
+ padding-left:15px;
+ padding-top:5px;
+ padding-bottom:5px;
+ background-color: #3b4f66;
+ max-width: 900px;
+}
+
+.pageSection {
+ padding-left:15px;
+ margin-bottom: 5px;
+ max-width: 900px;
+}
+
+.metrics
+{
+ font-size: 6pt;
+ background-color: #dddddd;
+ width: 100%;
+}
+
+/* table row header */
+.list_tr_head {
+ font-family: Verdana, sans-serif;
+ font-size: 8pt;
+ font-weight: 600;
+ text-align: center;
+ background-color: #3b4f66;
+}
+
+/* table row list view */
+.list_tr {
+ font-family: Verdana, sans-serif;
+ font-size: 8pt;
+ color: #000066;
+ vertical-align: top;
+ background-color: #ffffff;
+}
+
+/* table row list view odd lines */
+.list_tr_even {
+ font-family: Verdana, sans-serif;
+ font-size: 8pt;
+ color: #000066;
+ vertical-align: top;
+ background-color: #ffffff;
+}
+
+/* table row list view even lines */
+.list_tr_odd {
+ font-family: Verdana, sans-serif;
+ font-size: 8pt;
+ color: #000066;
+ vertical-align: top;
+ background-color: #dddddd;
+}
+
+/* form label */
+.form_label {
+ font-family: Verdana, sans-serif;
+ font-weight: 500;
+ font-size: 8pt;
+ color: #000066;
+ vertical-align: top;
+ background-color: #dddddd;
+ padding-top: 2px;
+ padding-bottom: 2px;
+}
+
+/* form value */
+.form_value {
+ font-family: Verdana, sans-serif;
+ font-size: 8pt;
+ color: #000066;
+ vertical-align: baseline;
+}
+
+/* tiny writing */
+.tiny {
+ font-family: Verdana, sans-serif;
+ font-size: 8pt;
+ color: #666666;
+}
+
+/* required input fields */
+.inputmust {
+ background-color: #dddddd;
+}
+
+/* error message */
+.error {
+ font-family: Courier New;
+ color: #990000;
+}
+
+/* error message */
+.error_trace {
+ font-family: Courier New;
+}
+
+/* active tree node */
+.tree_active_label {
+ font-weight: bold;
+}
+
+body {
+ font-family: Verdana,, sans-serif;
+ font-size: 8pt;
+ color: #000066;
+ background-color: #ffffff;
+}
+
+/* title style */
+h1 {
+ font-family: Verdana, sans-serif;
+ font-size: 14pt;
+ font-weight: 600;
+ color: #000066;
+}
+
+h2 {
+ font-family: Verdana, sans-serif;
+ font-size: 12pt;
+ font-weight: 600;
+ color: #000066;
+}
+
+h3 {
+ font-family: Verdana, sans-serif;
+ font-size: 10pt;
+ font-weight: 600;
+ color: #000066;
+}
+
+h4 {
+ font-family: Verdana, sans-serif;
+ font-size: 10pt;
+ font-weight: 500;
+ color: #000066;
+}
+
+/* table desk */
+td {
+ font-family: Verdana, sans-serif;
+ font-size: 8pt;
+ padding-left: 5px;
+ padding-right: 5px;
+}
+
+input, textarea, select, option {
+ font-family: Verdana, sans-serif;
+ font-size: 8pt;
+ color: #000066;
+}
+
+a {
+ font-family: Verdana, sans-serif;
+ color: #3b4f66;
+ text-decoration: none;
+}
+
+a:hover{
+ font-family: Verdana, sans-serif;
+ color: #cc0000;
+ text-decoration: none;
+}
+
+pre {
+ background:#dddddd
}
\ No newline at end of file
Modified: stack/native/branches/tdiesler/trunk/pom.xml
===================================================================
--- stack/native/branches/tdiesler/trunk/pom.xml 2008-04-30 20:32:06 UTC (rev 6821)
+++ stack/native/branches/tdiesler/trunk/pom.xml 2008-04-30 20:55:41 UTC (rev 6822)
@@ -36,6 +36,7 @@
<module>modules/jaxws</module>
<module>modules/jaxws-ext</module>
<module>modules/core</module>
+ <module>modules/embedded</module>
</modules>
<!-- Properties -->