Author: heiko.braun(a)jboss.com
Date: 2007-07-23 12:11:06 -0400 (Mon, 23 Jul 2007)
New Revision: 3967
Added:
trunk/integration/native/src/main/java/org/jboss/wsf/stack/jbws/RequestHandlerFactoryImpl.java
trunk/integration/native/src/main/resources/jbossws-native.jar/
trunk/integration/native/src/main/resources/jbossws-native.jar/META-INF/
trunk/integration/native/src/main/resources/jbossws-native.jar/META-INF/services/
trunk/integration/native/src/main/resources/jbossws-native.jar/META-INF/services/org.jboss.wsf.spi.deployment.LifecycleHandlerFactory
trunk/integration/native/src/main/resources/jbossws-native.jar/META-INF/services/org.jboss.wsf.spi.invocation.RequestHandlerFactory
trunk/integration/spi/src/main/java/org/jboss/wsf/framework/deployment/LifecycleHandlerFactoryImpl.java
trunk/integration/spi/src/main/java/org/jboss/wsf/spi/deployment/LifecycleHandlerFactory.java
trunk/integration/spi/src/main/java/org/jboss/wsf/spi/invocation/RequestHandlerFactory.java
trunk/integration/sunri/src/main/resources/jbossws-sunri.jar/
trunk/integration/sunri/src/main/resources/jbossws-sunri.jar/META-INF/
trunk/integration/sunri/src/main/resources/jbossws-sunri.jar/META-INF/services/
trunk/integration/sunri/src/main/resources/jbossws-sunri.jar/META-INF/services/org.jboss.wsf.spi.deployment.LifecycleHandlerFactory
trunk/integration/sunri/src/main/resources/jbossws-sunri.jar/META-INF/services/org.jboss.wsf.spi.invocation.RequestHandlerFactory
trunk/integration/xfire/src/main/resources/jbossws-xfire.jar/
trunk/integration/xfire/src/main/resources/jbossws-xfire.jar/META-INF/
trunk/integration/xfire/src/main/resources/jbossws-xfire.jar/META-INF/services/
trunk/integration/xfire/src/main/resources/jbossws-xfire.jar/META-INF/services/org.jboss.wsf.spi.deployment.LifecycleHandlerFactory
trunk/integration/xfire/src/main/resources/jbossws-xfire.jar/META-INF/services/org.jboss.wsf.spi.invocation.RequestHandlerFactory
Removed:
trunk/integration/jboss50/src/main/java/org/jboss/wsf/container/jboss50/MainDeployerHook.java
trunk/integration/native/src/main/java/org/jboss/wsf/stack/jbws/LifecycleHandlerImpl.java
trunk/integration/sunri/src/main/java/org/jboss/wsf/stack/sunri/LifecycleHandlerImpl.java
trunk/integration/xfire/src/main/java/org/jboss/wsf/stack/xfire/LifecycleHandlerImpl.java
Modified:
trunk/JBossWS-Trunk.iws
trunk/integration/jboss40/src/main/resources/jbossws-jboss40-config.xml
trunk/integration/jboss42/src/main/resources/jbossws-jboss42-config.xml
trunk/integration/native/build.xml
trunk/integration/native/src/main/java/org/jboss/wsf/stack/jbws/RequestHandlerImpl.java
trunk/integration/native/src/main/resources/jbossws-native-config.xml
trunk/integration/spi/src/main/java/org/jboss/wsf/framework/DefaultSPIProviderResolver.java
trunk/integration/spi/src/main/java/org/jboss/wsf/framework/deployment/EndpointHandlerDeploymentAspect.java
trunk/integration/sunri/build.xml
trunk/integration/sunri/src/main/resources/jbossws-sunri-config.xml
trunk/integration/xfire/build.xml
trunk/integration/xfire/src/main/resources/jbossws-xfire-config.xml
Log:
Provide RequestHandler and LifecycleHandler through SPIProvider API
Modified: trunk/JBossWS-Trunk.iws
===================================================================
--- trunk/JBossWS-Trunk.iws 2007-07-23 13:02:36 UTC (rev 3966)
+++ trunk/JBossWS-Trunk.iws 2007-07-23 16:11:06 UTC (rev 3967)
@@ -121,7 +121,7 @@
<option name="CONDITION" value="" />
<option name="LOG_MESSAGE" value="" />
</breakpoint>
- <breakpoint
url="file://$PROJECT_DIR$/integration/spi/src/main/java/org/jboss/wsf/framework/DefaultSPIProviderResolver.java"
line="57"
class="org.jboss.wsf.framework.DefaultSPIProviderResolver.Provider"
package="org.jboss.wsf.framework">
+ <breakpoint
url="file://$PROJECT_DIR$/integration/spi/src/main/java/org/jboss/wsf/framework/DefaultSPIProviderResolver.java"
line="59"
class="org.jboss.wsf.framework.DefaultSPIProviderResolver.Provider"
package="org.jboss.wsf.framework">
<option name="ENABLED" value="false" />
<option name="SUSPEND_POLICY" value="SuspendAll" />
<option name="LOG_ENABLED" value="false" />
@@ -228,80 +228,15 @@
</component>
<component name="FileEditorManager">
<leaf>
- <file leaf-file-name="DeploymentAspectManager.java"
pinned="false" current="false" current-in-tab="false">
- <entry
file="file://$PROJECT_DIR$/integration/spi/src/main/java/org/jboss/wsf/spi/deployment/DeploymentAspectManager.java">
+ <file leaf-file-name="LifecycleHandler.java" pinned="false"
current="true" current-in-tab="true">
+ <entry
file="file://$PROJECT_DIR$/integration/spi/src/main/java/org/jboss/wsf/spi/deployment/LifecycleHandler.java">
<provider selected="true"
editor-type-id="text-editor">
- <state line="47" column="19"
selection-start="1727" selection-end="1727"
vertical-scroll-proportion="0.6878981">
+ <state line="30" column="17"
selection-start="1179" selection-end="1179"
vertical-scroll-proportion="0.23809524">
<folding />
</state>
</provider>
</entry>
</file>
- <file leaf-file-name="Deployment.java" pinned="false"
current="false" current-in-tab="false">
- <entry
file="file://$PROJECT_DIR$/integration/spi/src/main/java/org/jboss/wsf/spi/deployment/Deployment.java">
- <provider selected="true"
editor-type-id="text-editor">
- <state line="37" column="17"
selection-start="1370" selection-end="1370"
vertical-scroll-proportion="-0.025477707">
- <folding />
- </state>
- </provider>
- </entry>
- </file>
- <file leaf-file-name="KernelAwareSPIFactory.java"
pinned="false" current="false" current-in-tab="false">
- <entry
file="file://$PROJECT_DIR$/integration/spi/src/main/java/org/jboss/wsf/framework/KernelAwareSPIFactory.java">
- <provider selected="true"
editor-type-id="text-editor">
- <state line="42" column="0"
selection-start="1639" selection-end="1639"
vertical-scroll-proportion="0.56050956">
- <folding>
- <element signature="imports" expanded="true"
/>
- </folding>
- </state>
- </provider>
- </entry>
- </file>
- <file leaf-file-name="InvocationHandlerEJB3.java"
pinned="false" current="false" current-in-tab="false">
- <entry
file="file://$PROJECT_DIR$/integration/jboss50/src/main/java/org/jboss/wsf/container/jboss50/InvocationHandlerEJB3.java">
- <provider selected="true"
editor-type-id="text-editor">
- <state line="51" column="13"
selection-start="2041" selection-end="2041"
vertical-scroll-proportion="-0.72611463">
- <folding />
- </state>
- </provider>
- </entry>
- </file>
- <file leaf-file-name="SecurityAdaptorImpl.java"
pinned="false" current="false" current-in-tab="false">
- <entry
file="file://$PROJECT_DIR$/integration/jboss50/src/main/java/org/jboss/wsf/container/jboss50/SecurityAdaptorImpl.java">
- <provider selected="true"
editor-type-id="text-editor">
- <state line="36" column="53"
selection-start="1444" selection-end="1444"
vertical-scroll-proportion="0.3312102">
- <folding />
- </state>
- </provider>
- </entry>
- </file>
- <file leaf-file-name="WebXMLRewriterFactory.java"
pinned="false" current="true" current-in-tab="true">
- <entry
file="file://$PROJECT_DIR$/integration/spi/src/main/java/org/jboss/wsf/spi/deployment/WebXMLRewriterFactory.java">
- <provider selected="true"
editor-type-id="text-editor">
- <state line="29" column="58"
selection-start="1220" selection-end="1220"
vertical-scroll-proportion="0.225">
- <folding />
- </state>
- </provider>
- </entry>
- </file>
- <file leaf-file-name="TestDeployerJBoss.java" pinned="false"
current="false" current-in-tab="false">
- <entry
file="file://$PROJECT_DIR$/integration/spi/src/main/java/org/jboss/wsf/test/TestDeployerJBoss.java">
- <provider selected="true"
editor-type-id="text-editor">
- <state line="80" column="53"
selection-start="2771" selection-end="2771"
vertical-scroll-proportion="0.17324841">
- <folding />
- </state>
- </provider>
- </entry>
- </file>
- <file leaf-file-name="SecurityAdaptorFactory.java"
pinned="false" current="false" current-in-tab="false">
- <entry
file="file://$PROJECT_DIR$/integration/spi/src/main/java/org/jboss/wsf/spi/invocation/SecurityAdaptorFactory.java">
- <provider selected="true"
editor-type-id="text-editor">
- <state line="33" column="19"
selection-start="1321" selection-end="1321"
vertical-scroll-proportion="0.3312102">
- <folding />
- </state>
- </provider>
- </entry>
- </file>
</leaf>
</component>
<component name="FindManager">
@@ -449,6 +384,14 @@
<option name="myItemId" value="jboss" />
<option name="myItemType"
value="com.intellij.ide.projectView.impl.nodes.PackageElementNode" />
</PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="wsf" />
+ <option name="myItemType"
value="com.intellij.ide.projectView.impl.nodes.PackageElementNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="framework" />
+ <option name="myItemType"
value="com.intellij.ide.projectView.impl.nodes.PackageElementNode" />
+ </PATH_ELEMENT>
</PATH>
<PATH>
<PATH_ELEMENT>
@@ -456,9 +399,17 @@
<option name="myItemType"
value="com.intellij.ide.projectView.impl.nodes.PackageViewProjectNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
- <option name="myItemId" value="int-50" />
+ <option name="myItemId" value="spi" />
<option name="myItemType"
value="com.intellij.ide.projectView.impl.nodes.PackageViewModuleNode" />
</PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="org" />
+ <option name="myItemType"
value="com.intellij.ide.projectView.impl.nodes.PackageElementNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="jboss" />
+ <option name="myItemType"
value="com.intellij.ide.projectView.impl.nodes.PackageElementNode" />
+ </PATH_ELEMENT>
</PATH>
<PATH>
<PATH_ELEMENT>
@@ -466,10 +417,20 @@
<option name="myItemType"
value="com.intellij.ide.projectView.impl.nodes.PackageViewProjectNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
- <option name="myItemId" value="int-50" />
+ <option name="myItemId" value="int-xfire" />
<option name="myItemType"
value="com.intellij.ide.projectView.impl.nodes.PackageViewModuleNode" />
</PATH_ELEMENT>
+ </PATH>
+ <PATH>
<PATH_ELEMENT>
+ <option name="myItemId" value="JBossWS-Trunk.ipr" />
+ <option name="myItemType"
value="com.intellij.ide.projectView.impl.nodes.PackageViewProjectNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="int-xfire" />
+ <option name="myItemType"
value="com.intellij.ide.projectView.impl.nodes.PackageViewModuleNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
<option name="myItemId" value="org" />
<option name="myItemType"
value="com.intellij.ide.projectView.impl.nodes.PackageElementNode" />
</PATH_ELEMENT>
@@ -482,11 +443,11 @@
<option name="myItemType"
value="com.intellij.ide.projectView.impl.nodes.PackageElementNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
- <option name="myItemId" value="container" />
+ <option name="myItemId" value="stack" />
<option name="myItemType"
value="com.intellij.ide.projectView.impl.nodes.PackageElementNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
- <option name="myItemId" value="jboss50" />
+ <option name="myItemId" value="xfire" />
<option name="myItemType"
value="com.intellij.ide.projectView.impl.nodes.PackageElementNode" />
</PATH_ELEMENT>
</PATH>
@@ -496,7 +457,7 @@
<option name="myItemType"
value="com.intellij.ide.projectView.impl.nodes.PackageViewProjectNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
- <option name="myItemId" value="int-40" />
+ <option name="myItemId" value="int-sunri" />
<option name="myItemType"
value="com.intellij.ide.projectView.impl.nodes.PackageViewModuleNode" />
</PATH_ELEMENT>
</PATH>
@@ -506,7 +467,7 @@
<option name="myItemType"
value="com.intellij.ide.projectView.impl.nodes.PackageViewProjectNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
- <option name="myItemId" value="int-40" />
+ <option name="myItemId" value="int-sunri" />
<option name="myItemType"
value="com.intellij.ide.projectView.impl.nodes.PackageViewModuleNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
@@ -522,11 +483,91 @@
<option name="myItemType"
value="com.intellij.ide.projectView.impl.nodes.PackageElementNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
+ <option name="myItemId" value="stack" />
+ <option name="myItemType"
value="com.intellij.ide.projectView.impl.nodes.PackageElementNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="sunri" />
+ <option name="myItemType"
value="com.intellij.ide.projectView.impl.nodes.PackageElementNode" />
+ </PATH_ELEMENT>
+ </PATH>
+ <PATH>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="JBossWS-Trunk.ipr" />
+ <option name="myItemType"
value="com.intellij.ide.projectView.impl.nodes.PackageViewProjectNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="int-native" />
+ <option name="myItemType"
value="com.intellij.ide.projectView.impl.nodes.PackageViewModuleNode" />
+ </PATH_ELEMENT>
+ </PATH>
+ <PATH>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="JBossWS-Trunk.ipr" />
+ <option name="myItemType"
value="com.intellij.ide.projectView.impl.nodes.PackageViewProjectNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="int-native" />
+ <option name="myItemType"
value="com.intellij.ide.projectView.impl.nodes.PackageViewModuleNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="org" />
+ <option name="myItemType"
value="com.intellij.ide.projectView.impl.nodes.PackageElementNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="jboss" />
+ <option name="myItemType"
value="com.intellij.ide.projectView.impl.nodes.PackageElementNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="wsf" />
+ <option name="myItemType"
value="com.intellij.ide.projectView.impl.nodes.PackageElementNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="stack" />
+ <option name="myItemType"
value="com.intellij.ide.projectView.impl.nodes.PackageElementNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="jbws" />
+ <option name="myItemType"
value="com.intellij.ide.projectView.impl.nodes.PackageElementNode" />
+ </PATH_ELEMENT>
+ </PATH>
+ <PATH>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="JBossWS-Trunk.ipr" />
+ <option name="myItemType"
value="com.intellij.ide.projectView.impl.nodes.PackageViewProjectNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="int-50" />
+ <option name="myItemType"
value="com.intellij.ide.projectView.impl.nodes.PackageViewModuleNode" />
+ </PATH_ELEMENT>
+ </PATH>
+ <PATH>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="JBossWS-Trunk.ipr" />
+ <option name="myItemType"
value="com.intellij.ide.projectView.impl.nodes.PackageViewProjectNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="int-50" />
+ <option name="myItemType"
value="com.intellij.ide.projectView.impl.nodes.PackageViewModuleNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="org" />
+ <option name="myItemType"
value="com.intellij.ide.projectView.impl.nodes.PackageElementNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="jboss" />
+ <option name="myItemType"
value="com.intellij.ide.projectView.impl.nodes.PackageElementNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="wsf" />
+ <option name="myItemType"
value="com.intellij.ide.projectView.impl.nodes.PackageElementNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
<option name="myItemId" value="container" />
<option name="myItemType"
value="com.intellij.ide.projectView.impl.nodes.PackageElementNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
- <option name="myItemId" value="jboss40" />
+ <option name="myItemId" value="jboss50" />
<option name="myItemType"
value="com.intellij.ide.projectView.impl.nodes.PackageElementNode" />
</PATH_ELEMENT>
</PATH>
@@ -716,13 +757,9 @@
<option name="myItemType"
value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
- <option name="myItemId"
value="PsiDirectory:$PROJECT_DIR$/integration/spi/src/main/java/org/jboss/wsf/spi/metadata"
/>
+ <option name="myItemId"
value="PsiDirectory:$PROJECT_DIR$/integration/spi/src/main/java/org/jboss/wsf/spi/invocation"
/>
<option name="myItemType"
value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
- <PATH_ELEMENT>
- <option name="myItemId"
value="PsiDirectory:$PROJECT_DIR$/integration/spi/src/main/java/org/jboss/wsf/spi/metadata/webservices"
/>
- <option name="myItemType"
value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
- </PATH_ELEMENT>
</PATH>
<PATH>
<PATH_ELEMENT>
@@ -762,7 +799,7 @@
<option name="myItemType"
value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
- <option name="myItemId"
value="PsiDirectory:$PROJECT_DIR$/integration/spi/src/main/java/org/jboss/wsf/spi/metadata"
/>
+ <option name="myItemId"
value="PsiDirectory:$PROJECT_DIR$/integration/spi/src/main/java/org/jboss/wsf/spi/deployment"
/>
<option name="myItemType"
value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
</PATH>
@@ -800,13 +837,51 @@
<option name="myItemType"
value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
- <option name="myItemId"
value="PsiDirectory:$PROJECT_DIR$/integration/spi/src/main/java/org/jboss/wsf/spi"
/>
+ <option name="myItemId"
value="PsiDirectory:$PROJECT_DIR$/integration/spi/src/main/java/org/jboss/wsf/framework"
/>
<option name="myItemType"
value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
+ </PATH>
+ <PATH>
<PATH_ELEMENT>
- <option name="myItemId"
value="PsiDirectory:$PROJECT_DIR$/integration/spi/src/main/java/org/jboss/wsf/spi/deployment"
/>
+ <option name="myItemId" value="JBossWS-Trunk.ipr" />
+ <option name="myItemType"
value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="spi" />
+ <option name="myItemType"
value="com.intellij.ide.projectView.impl.nodes.ProjectViewModuleNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId"
value="PsiDirectory:$PROJECT_DIR$/integration/spi" />
<option name="myItemType"
value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId"
value="PsiDirectory:$PROJECT_DIR$/integration/spi/src" />
+ <option name="myItemType"
value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId"
value="PsiDirectory:$PROJECT_DIR$/integration/spi/src/main" />
+ <option name="myItemType"
value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId"
value="PsiDirectory:$PROJECT_DIR$/integration/spi/src/main/java" />
+ <option name="myItemType"
value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId"
value="PsiDirectory:$PROJECT_DIR$/integration/spi/src/main/java/org/jboss"
/>
+ <option name="myItemType"
value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId"
value="PsiDirectory:$PROJECT_DIR$/integration/spi/src/main/java/org/jboss/wsf"
/>
+ <option name="myItemType"
value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId"
value="PsiDirectory:$PROJECT_DIR$/integration/spi/src/main/java/org/jboss/wsf/framework"
/>
+ <option name="myItemType"
value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId"
value="PsiDirectory:$PROJECT_DIR$/integration/spi/src/main/java/org/jboss/wsf/framework/invocation"
/>
+ <option name="myItemType"
value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
+ </PATH_ELEMENT>
</PATH>
<PATH>
<PATH_ELEMENT>
@@ -865,7 +940,7 @@
<option name="STATE" value="0" />
</component>
<component name="ProjectView">
- <navigator currentView="ProjectPane"
splitterProportion="0.5">
+ <navigator currentView="PackagesPane"
splitterProportion="0.5">
<flattenPackages PackagesPane="false" />
<showMembers />
<showModules />
@@ -900,6 +975,22 @@
<component name="RestoreUpdateTree" />
<component name="RunManager">
<activeType name="Remote" />
+ <configuration selected="false" default="true"
type="JUnit" factoryName="JUnit">
+ <module name="" />
+ <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false"
/>
+ <option name="ALTERNATIVE_JRE_PATH" />
+ <option name="PACKAGE_NAME" />
+ <option name="MAIN_CLASS_NAME" />
+ <option name="METHOD_NAME" />
+ <option name="TEST_OBJECT" value="class" />
+ <option name="VM_PARAMETERS" />
+ <option name="PARAMETERS" />
+ <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$"
/>
+ <option name="ADDITIONAL_CLASS_PATH" />
+ <option name="TEST_SEARCH_SCOPE">
+ <value defaultName="wholeProject" />
+ </option>
+ </configuration>
<configuration selected="false" default="true"
type="Application" factoryName="Application">
<option name="MAIN_CLASS_NAME" />
<option name="VM_PARAMETERS" />
@@ -916,22 +1007,6 @@
<option name="HOST" value="localhost" />
<option name="PORT" value="5005" />
</configuration>
- <configuration selected="false" default="true"
type="JUnit" factoryName="JUnit">
- <module name="" />
- <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false"
/>
- <option name="ALTERNATIVE_JRE_PATH" />
- <option name="PACKAGE_NAME" />
- <option name="MAIN_CLASS_NAME" />
- <option name="METHOD_NAME" />
- <option name="TEST_OBJECT" value="class" />
- <option name="VM_PARAMETERS" />
- <option name="PARAMETERS" />
- <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$"
/>
- <option name="ADDITIONAL_CLASS_PATH" />
- <option name="TEST_SEARCH_SCOPE">
- <value defaultName="wholeProject" />
- </option>
- </configuration>
<configuration selected="false" default="true"
type="Applet" factoryName="Applet">
<module name="" />
<option name="MAIN_CLASS_NAME" />
@@ -1021,17 +1096,17 @@
<layout>
<window_info id="CVS" active="false"
anchor="bottom" auto_hide="false" internal_type="docked"
type="docked" visible="false" weight="0.33"
order="8" />
<window_info id="TODO" active="false"
anchor="bottom" auto_hide="false" internal_type="docked"
type="docked" visible="false" weight="0.33"
order="7" />
- <window_info id="Project" active="false"
anchor="left" auto_hide="false" internal_type="docked"
type="docked" visible="true" weight="0.2651048"
order="0" />
- <window_info id="Find" active="false"
anchor="bottom" auto_hide="false" internal_type="docked"
type="docked" visible="false" weight="0.465063"
order="1" />
+ <window_info id="Project" active="true"
anchor="left" auto_hide="false" internal_type="docked"
type="docked" visible="true" weight="0.32737362"
order="0" />
+ <window_info id="Find" active="false"
anchor="bottom" auto_hide="false" internal_type="docked"
type="docked" visible="false" weight="0.43871707"
order="1" />
<window_info id="Structure" active="false"
anchor="left" auto_hide="false" internal_type="docked"
type="docked" visible="false" weight="0.25215784"
order="1" />
<window_info id="Messages" active="false"
anchor="bottom" auto_hide="false" internal_type="docked"
type="docked" visible="false" weight="0.33"
order="8" />
<window_info id="Inspection" active="false"
anchor="bottom" auto_hide="false" internal_type="docked"
type="docked" visible="false" weight="0.4"
order="6" />
<window_info id="Module Dependencies" active="false"
anchor="right" auto_hide="false" internal_type="docked"
type="docked" visible="false" weight="0.3298397"
order="3" />
- <window_info id="Dependency Viewer" active="false"
anchor="bottom" auto_hide="false" internal_type="docked"
type="docked" visible="false" weight="0.5956472"
order="8" />
+ <window_info id="Dependency Viewer" active="false"
anchor="bottom" auto_hide="false" internal_type="docked"
type="docked" visible="false" weight="0.59335625"
order="8" />
<window_info id="Favorites" active="false"
anchor="right" auto_hide="false" internal_type="docked"
type="docked" visible="false" weight="0.33"
order="3" />
<window_info id="Ant Build" active="false"
anchor="right" auto_hide="false" internal_type="docked"
type="docked" visible="false" weight="0.25"
order="1" />
<window_info id="Run" active="false"
anchor="bottom" auto_hide="false" internal_type="docked"
type="docked" visible="false" weight="0.33"
order="2" />
- <window_info id="Hierarchy" active="true"
anchor="right" auto_hide="false" internal_type="docked"
type="docked" visible="true" weight="0.3162762"
order="2" />
+ <window_info id="Hierarchy" active="false"
anchor="right" auto_hide="false" internal_type="docked"
type="docked" visible="false" weight="0.21393341"
order="2" />
<window_info id="File View" active="false"
anchor="right" auto_hide="false" internal_type="docked"
type="docked" visible="false" weight="0.33"
order="3" />
<window_info id="Debug" active="false"
anchor="bottom" auto_hide="false" internal_type="docked"
type="docked" visible="false" weight="0.39862543"
order="4" />
<window_info id="Commander" active="false"
anchor="right" auto_hide="false" internal_type="sliding"
type="sliding" visible="false" weight="0.4"
order="0" />
@@ -1107,111 +1182,95 @@
<option name="FILTER_TARGETS" value="false" />
</component>
<component name="editorHistoryManager">
- <entry file="file://$PROJECT_DIR$/integration/jboss40/build.xml">
+ <entry
file="file://$PROJECT_DIR$/integration/spi/src/main/java/org/jboss/wsf/framework/deployment/EndpointHandlerDeploymentAspect.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="0" column="0" selection-start="0"
selection-end="0" vertical-scroll-proportion="-1.299363">
- <folding />
- </state>
- </provider>
- </entry>
- <entry
file="file://$PROJECT_DIR$/integration/jboss50/src/main/java/org/jboss/wsf/container/jboss50/DeploymentAspectManagerFactoryImpl.java">
- <provider selected="true" editor-type-id="text-editor">
- <state line="44" column="35"
selection-start="1905" selection-end="1905"
vertical-scroll-proportion="0.5714286">
+ <state line="39" column="26"
selection-start="1665" selection-end="1665"
vertical-scroll-proportion="1.0518292">
<folding>
<element signature="imports" expanded="true" />
</folding>
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/jbossws-core/src/main/java/javax/xml/ws/Service.java">
+ <entry
file="file://$PROJECT_DIR$/integration/jboss40/src/main/resources/jbossws-jboss40-config.xml">
<provider selected="true" editor-type-id="text-editor">
- <state line="66" column="13"
selection-start="2641" selection-end="2641"
vertical-scroll-proportion="0.89575756">
+ <state line="93" column="91"
selection-start="4099" selection-end="4099"
vertical-scroll-proportion="0.33231708">
<folding />
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/jbossws-core/src/main/java/javax/xml/ws/Binding.java">
+ <entry
file="file://$PROJECT_DIR$/integration/jboss42/src/main/resources/jbossws-jboss42-config.xml">
<provider selected="true" editor-type-id="text-editor">
- <state line="31" column="17"
selection-start="1255" selection-end="1255"
vertical-scroll-proportion="0.26190478">
+ <state line="92" column="91"
selection-start="4061" selection-end="4061"
vertical-scroll-proportion="0.33231708">
<folding />
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/jbossws-core/src/main/java/javax/xml/ws/Dispatch.java">
+ <entry
file="file://$PROJECT_DIR$/integration/jboss50/src/main/resources/jbossws-jboss50.deployer/META-INF/jbossws-deployer-beans.xml">
<provider selected="true" editor-type-id="text-editor">
- <state line="35" column="43"
selection-start="1477" selection-end="1477"
vertical-scroll-proportion="0.35714287">
+ <state line="146" column="91"
selection-start="5639" selection-end="5639"
vertical-scroll-proportion="0.33231708">
<folding />
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/jbossws-core/src/main/java/javax/xml/ws/BindingProvider.java">
+ <entry
file="file://$PROJECT_DIR$/integration/native/src/main/resources/jbossws-native-config.xml">
<provider selected="true" editor-type-id="text-editor">
- <state line="170" column="67"
selection-start="7011" selection-end="7011"
vertical-scroll-proportion="0.7380952">
+ <state line="63" column="97"
selection-start="3430" selection-end="3430"
vertical-scroll-proportion="0.33231708">
<folding />
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/integration/spi/src/main/java/org/jboss/wsf/spi/deployment/DeploymentAspectManager.java">
+ <entry
file="file://$PROJECT_DIR$/integration/native/output/lib/jbossws-native42/jbossws.beans/META-INF/jboss-beans.xml">
<provider selected="true" editor-type-id="text-editor">
- <state line="47" column="19"
selection-start="1727" selection-end="1727"
vertical-scroll-proportion="0.6878981">
+ <state line="67" column="61"
selection-start="3777" selection-end="3777"
vertical-scroll-proportion="0.27134147">
<folding />
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/integration/spi/src/main/java/org/jboss/wsf/spi/deployment/Deployment.java">
+ <entry
file="file://$PROJECT_DIR$/integration/native/output/lib/jbossws-native40/jbossws.beans/META-INF/jboss-beans.xml">
<provider selected="true" editor-type-id="text-editor">
- <state line="37" column="17"
selection-start="1370" selection-end="1370"
vertical-scroll-proportion="-0.025477707">
+ <state line="65" column="105"
selection-start="3605" selection-end="3605"
vertical-scroll-proportion="0.14939025">
<folding />
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/integration/spi/src/main/java/org/jboss/wsf/framework/KernelAwareSPIFactory.java">
+ <entry
file="file://$PROJECT_DIR$/integration/sunri/src/main/resources/jbossws-sunri.jar/META-INF/services/org.jboss.wsf.spi.invocation.RequestHandlerFactory">
<provider selected="true" editor-type-id="text-editor">
- <state line="42" column="0"
selection-start="1639" selection-end="1639"
vertical-scroll-proportion="0.56050956">
- <folding>
- <element signature="imports" expanded="true" />
- </folding>
- </state>
- </provider>
- </entry>
- <entry
file="jar://$PROJECT_DIR$/jbossws-core/thirdparty/jbosssx-client.jar!/org/jboss/security/SecurityAssociation.class">
- <provider selected="true" editor-type-id="text-editor">
- <state line="0" column="0" selection-start="0"
selection-end="0" vertical-scroll-proportion="-1.4093959">
+ <state line="0" column="44" selection-start="44"
selection-end="44" vertical-scroll-proportion="0.0">
<folding />
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/integration/jboss50/src/main/java/org/jboss/wsf/container/jboss50/InvocationHandlerEJB3.java">
+ <entry
file="file://$PROJECT_DIR$/integration/xfire/src/main/resources/jbossws-xfire.jar/META-INF/services/org.jboss.wsf.spi.invocation.RequestHandlerFactory">
<provider selected="true" editor-type-id="text-editor">
- <state line="51" column="13"
selection-start="2041" selection-end="2041"
vertical-scroll-proportion="-0.72611463">
+ <state line="0" column="44" selection-start="44"
selection-end="44" vertical-scroll-proportion="0.0">
<folding />
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/integration/spi/src/main/java/org/jboss/wsf/spi/invocation/SecurityAdaptorFactory.java">
+ <entry
file="file://$PROJECT_DIR$/integration/sunri/src/main/resources/jbossws-sunri-config.xml">
<provider selected="true" editor-type-id="text-editor">
- <state line="33" column="19"
selection-start="1321" selection-end="1321"
vertical-scroll-proportion="0.3312102">
+ <state line="77" column="61"
selection-start="4154" selection-end="4154"
vertical-scroll-proportion="0.36091954">
<folding />
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/integration/spi/src/main/java/org/jboss/wsf/test/TestDeployerJBoss.java">
+ <entry
file="file://$PROJECT_DIR$/integration/xfire/src/main/resources/jbossws-xfire-config.xml">
<provider selected="true" editor-type-id="text-editor">
- <state line="80" column="53"
selection-start="2771" selection-end="2771"
vertical-scroll-proportion="0.17324841">
+ <state line="42" column="61"
selection-start="2264" selection-end="2264"
vertical-scroll-proportion="0.22424242">
<folding />
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/integration/jboss50/src/main/java/org/jboss/wsf/container/jboss50/SecurityAdaptorImpl.java">
+ <entry
file="file://$PROJECT_DIR$/integration/xfire/IntegrationIssues.txt">
<provider selected="true" editor-type-id="text-editor">
- <state line="36" column="53"
selection-start="1444" selection-end="1444"
vertical-scroll-proportion="0.3312102">
+ <state line="0" column="0" selection-start="0"
selection-end="0" vertical-scroll-proportion="0.0">
<folding />
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/integration/spi/src/main/java/org/jboss/wsf/spi/deployment/WebXMLRewriterFactory.java">
+ <entry
file="file://$PROJECT_DIR$/integration/spi/src/main/java/org/jboss/wsf/spi/deployment/LifecycleHandler.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="29" column="58"
selection-start="1220" selection-end="1220"
vertical-scroll-proportion="0.225">
+ <state line="30" column="17"
selection-start="1179" selection-end="1179"
vertical-scroll-proportion="0.23809524">
<folding />
</state>
</provider>
Modified: trunk/integration/jboss40/src/main/resources/jbossws-jboss40-config.xml
===================================================================
--- trunk/integration/jboss40/src/main/resources/jbossws-jboss40-config.xml 2007-07-23
13:02:36 UTC (rev 3966)
+++ trunk/integration/jboss40/src/main/resources/jbossws-jboss40-config.xml 2007-07-23
16:11:06 UTC (rev 3967)
@@ -92,15 +92,7 @@
</bean>
<bean name="WSEndpointHandlerDeploymentAspect"
class="org.jboss.wsf.framework.deployment.EndpointHandlerDeploymentAspect">
- <property name="provides">ContainerEndpointHandler</property>
- <property name="invocationHandler">
- <map keyClass="java.lang.String"
valueClass="java.lang.String">
-
<entry><key>JAXRPC_EJB21</key><value>org.jboss.wsf.container.jboss42.InvocationHandlerEJB21</value></entry>
-
<entry><key>JAXRPC_MDB21</key><value>org.jboss.wsf.container.jboss42.InvocationHandlerMDB21</value></entry>
-
<entry><key>JAXWS_JSE</key><value>org.jboss.wsf.spi.invocation.DefaultInvocationHandlerJAXWS</value></entry>
-
<entry><key>JAXWS_EJB3</key><value>org.jboss.wsf.container.jboss40.InvocationHandlerEJB3</value></entry>
- </map>
- </property>
+ <property name="provides">ContainerEndpointHandler</property>
</bean>
<bean name="WSEndpointLifecycleDeploymentAspect"
class="org.jboss.wsf.framework.deployment.EndpointLifecycleDeploymentAspect">
Modified: trunk/integration/jboss42/src/main/resources/jbossws-jboss42-config.xml
===================================================================
--- trunk/integration/jboss42/src/main/resources/jbossws-jboss42-config.xml 2007-07-23
13:02:36 UTC (rev 3966)
+++ trunk/integration/jboss42/src/main/resources/jbossws-jboss42-config.xml 2007-07-23
16:11:06 UTC (rev 3967)
@@ -91,15 +91,7 @@
</bean>
<bean name="WSEndpointHandlerDeploymentAspect"
class="org.jboss.wsf.framework.deployment.EndpointHandlerDeploymentAspect">
- <property name="provides">ContainerEndpointHandler</property>
- <property name="invocationHandler">
- <map keyClass="java.lang.String"
valueClass="java.lang.String">
-
<entry><key>JAXRPC_EJB21</key><value>org.jboss.wsf.container.jboss42.InvocationHandlerEJB21</value></entry>
-
<entry><key>JAXRPC_MDB21</key><value>org.jboss.wsf.container.jboss42.InvocationHandlerMDB21</value></entry>
-
<entry><key>JAXWS_JSE</key><value>org.jboss.wsf.spi.invocation.DefaultInvocationHandlerJAXWS</value></entry>
-
<entry><key>JAXWS_EJB3</key><value>org.jboss.wsf.container.jboss42.InvocationHandlerEJB3</value></entry>
- </map>
- </property>
+ <property name="provides">ContainerEndpointHandler</property>
</bean>
<bean name="WSEndpointLifecycleDeploymentAspect"
class="org.jboss.wsf.framework.deployment.EndpointLifecycleDeploymentAspect">
Deleted:
trunk/integration/jboss50/src/main/java/org/jboss/wsf/container/jboss50/MainDeployerHook.java
===================================================================
---
trunk/integration/jboss50/src/main/java/org/jboss/wsf/container/jboss50/MainDeployerHook.java 2007-07-23
13:02:36 UTC (rev 3966)
+++
trunk/integration/jboss50/src/main/java/org/jboss/wsf/container/jboss50/MainDeployerHook.java 2007-07-23
16:11:06 UTC (rev 3967)
@@ -1,61 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt 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.container.jboss50;
-
-//$Id$
-
-import org.jboss.deployers.spi.DeploymentException;
-import org.jboss.deployers.structure.spi.DeploymentUnit;
-import org.jboss.wsf.spi.deployment.Deployment;
-
-/**
- * A basic hook that delegates a deployment manger.
- *
- * @author Thomas.Diesler(a)jboss.org
- * @since 25-Apr-2007
- */
-public class MainDeployerHook extends AbstractDeployerHook
-{
- public void deploy(DeploymentUnit unit) throws DeploymentException
- {
- if (ignoreDeployment(unit))
- return;
-
- Deployment dep = unit.getAttachment(Deployment.class);
- if (dep != null)
- {
- deploymentAspectManager.deploy(dep);
- }
- }
-
- public void undeploy(DeploymentUnit unit)
- {
- if (ignoreDeployment(unit))
- return;
-
- Deployment dep = unit.getAttachment(Deployment.class);
- if (dep != null)
- {
- deploymentAspectManager.undeploy(dep);
- }
- }
-}
Modified: trunk/integration/native/build.xml
===================================================================
--- trunk/integration/native/build.xml 2007-07-23 13:02:36 UTC (rev 3966)
+++ trunk/integration/native/build.xml 2007-07-23 16:11:06 UTC (rev 3967)
@@ -107,6 +107,7 @@
<fileset dir="${native.output.classes.dir}">
<include name="org/jboss/wsf/stack/jbws/**"/>
</fileset>
+ <metainf
dir="${native.resources.dir}/jbossws-native.jar/META-INF"/>
</jar>
<!-- Build jbossws-context.war -->
Deleted:
trunk/integration/native/src/main/java/org/jboss/wsf/stack/jbws/LifecycleHandlerImpl.java
===================================================================
---
trunk/integration/native/src/main/java/org/jboss/wsf/stack/jbws/LifecycleHandlerImpl.java 2007-07-23
13:02:36 UTC (rev 3966)
+++
trunk/integration/native/src/main/java/org/jboss/wsf/stack/jbws/LifecycleHandlerImpl.java 2007-07-23
16:11:06 UTC (rev 3967)
@@ -1,58 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt 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;
-
-//$Id: LifecycleHandlerImpl.java 2923 2007-04-25 14:23:29Z thomas.diesler(a)jboss.com $
-
-import org.jboss.ws.metadata.umdm.ServerEndpointMetaData;
-import org.jboss.wsf.framework.deployment.BasicLifecycleHandler;
-import org.jboss.wsf.spi.deployment.Endpoint;
-
-/**
- * A lifecycle handler
- *
- * @author Thomas.Diesler(a)jboss.org
- * @since 25-Apr-2007
- */
-public class LifecycleHandlerImpl extends BasicLifecycleHandler
-{
- public void start(Endpoint endpoint)
- {
- super.start(endpoint);
- log.info("WebService started: " + getEndpointAddress(endpoint));
- }
-
- public void stop(Endpoint endpoint)
- {
- super.stop(endpoint);
- log.info("WebService stopped: " + getEndpointAddress(endpoint));
- }
-
- private String getEndpointAddress(Endpoint ep)
- {
- ServerEndpointMetaData sepMetaData =
ep.getAttachment(ServerEndpointMetaData.class);
- if (sepMetaData == null)
- throw new IllegalStateException("Cannot obtain endpoint meta data");
-
- return sepMetaData.getEndpointAddress();
- }
-}
Added:
trunk/integration/native/src/main/java/org/jboss/wsf/stack/jbws/RequestHandlerFactoryImpl.java
===================================================================
---
trunk/integration/native/src/main/java/org/jboss/wsf/stack/jbws/RequestHandlerFactoryImpl.java
(rev 0)
+++
trunk/integration/native/src/main/java/org/jboss/wsf/stack/jbws/RequestHandlerFactoryImpl.java 2007-07-23
16:11:06 UTC (rev 3967)
@@ -0,0 +1,37 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt 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;
+
+import org.jboss.wsf.spi.invocation.RequestHandlerFactory;
+import org.jboss.wsf.spi.invocation.RequestHandler;
+
+/**
+ * @author Heiko.Braun(a)jboss.com
+ * Created: Jul 23, 2007
+ */
+public class RequestHandlerFactoryImpl extends RequestHandlerFactory
+{
+ public RequestHandler createRequestHandler()
+ {
+ return new RequestHandlerImpl();
+ }
+}
Property changes on:
trunk/integration/native/src/main/java/org/jboss/wsf/stack/jbws/RequestHandlerFactoryImpl.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Modified:
trunk/integration/native/src/main/java/org/jboss/wsf/stack/jbws/RequestHandlerImpl.java
===================================================================
---
trunk/integration/native/src/main/java/org/jboss/wsf/stack/jbws/RequestHandlerImpl.java 2007-07-23
13:02:36 UTC (rev 3966)
+++
trunk/integration/native/src/main/java/org/jboss/wsf/stack/jbws/RequestHandlerImpl.java 2007-07-23
16:11:06 UTC (rev 3967)
@@ -102,6 +102,10 @@
// provide logging
private static final Logger log = Logger.getLogger(RequestHandlerImpl.class);
+ RequestHandlerImpl()
+ {
+ }
+
public void handleHttpRequest(Endpoint endpoint, HttpServletRequest req,
HttpServletResponse res, ServletContext context) throws ServletException, IOException
{
String method = req.getMethod();
Modified: trunk/integration/native/src/main/resources/jbossws-native-config.xml
===================================================================
--- trunk/integration/native/src/main/resources/jbossws-native-config.xml 2007-07-23
13:02:36 UTC (rev 3966)
+++ trunk/integration/native/src/main/resources/jbossws-native-config.xml 2007-07-23
16:11:06 UTC (rev 3967)
@@ -63,14 +63,7 @@
<bean name="WSNativeEndpointHandlerDeploymentAspect"
class="org.jboss.wsf.framework.deployment.EndpointHandlerDeploymentAspect">
<property name="requires">ContainerEndpointHandler,
ContainerMetaData</property>
- <property name="provides">StackEndpointHandler</property>
- <property
name="requestHandler">org.jboss.wsf.stack.jbws.RequestHandlerImpl</property>
- <property
name="lifecycleHandler">org.jboss.wsf.stack.jbws.LifecycleHandlerImpl</property>
- <property name="invocationHandler">
- <map keyClass="java.lang.String"
valueClass="java.lang.String">
-
<entry><key>JAXRPC_JSE</key><value>org.jboss.wsf.spi.invocation.DefaultInvocationHandlerJAXRPC</value></entry>
- </map>
- </property>
+ <property name="provides">StackEndpointHandler</property>
</bean>
<bean name="WSNativeEventingDeploymentAspect"
class="org.jboss.wsf.stack.jbws.EventingDeploymentAspect">
Added:
trunk/integration/native/src/main/resources/jbossws-native.jar/META-INF/services/org.jboss.wsf.spi.deployment.LifecycleHandlerFactory
===================================================================
---
trunk/integration/native/src/main/resources/jbossws-native.jar/META-INF/services/org.jboss.wsf.spi.deployment.LifecycleHandlerFactory
(rev 0)
+++
trunk/integration/native/src/main/resources/jbossws-native.jar/META-INF/services/org.jboss.wsf.spi.deployment.LifecycleHandlerFactory 2007-07-23
16:11:06 UTC (rev 3967)
@@ -0,0 +1 @@
+org.jboss.wsf.framework.deployment.LifecycleHandlerFactoryImpl
\ No newline at end of file
Added:
trunk/integration/native/src/main/resources/jbossws-native.jar/META-INF/services/org.jboss.wsf.spi.invocation.RequestHandlerFactory
===================================================================
---
trunk/integration/native/src/main/resources/jbossws-native.jar/META-INF/services/org.jboss.wsf.spi.invocation.RequestHandlerFactory
(rev 0)
+++
trunk/integration/native/src/main/resources/jbossws-native.jar/META-INF/services/org.jboss.wsf.spi.invocation.RequestHandlerFactory 2007-07-23
16:11:06 UTC (rev 3967)
@@ -0,0 +1 @@
+org.jboss.wsf.stack.jbws.RequestHandlerFactoryImpl
\ No newline at end of file
Modified:
trunk/integration/spi/src/main/java/org/jboss/wsf/framework/DefaultSPIProviderResolver.java
===================================================================
---
trunk/integration/spi/src/main/java/org/jboss/wsf/framework/DefaultSPIProviderResolver.java 2007-07-23
13:02:36 UTC (rev 3966)
+++
trunk/integration/spi/src/main/java/org/jboss/wsf/framework/DefaultSPIProviderResolver.java 2007-07-23
16:11:06 UTC (rev 3967)
@@ -29,8 +29,10 @@
import org.jboss.wsf.spi.deployment.DeploymentModelFactory;
import org.jboss.wsf.spi.deployment.WebXMLRewriterFactory;
import org.jboss.wsf.spi.deployment.DeploymentAspectManagerFactory;
+import org.jboss.wsf.spi.deployment.LifecycleHandlerFactory;
import org.jboss.wsf.spi.invocation.InvocationModelFactory;
import org.jboss.wsf.spi.invocation.ResourceInjectorFactory;
+import org.jboss.wsf.spi.invocation.RequestHandlerFactory;
/**
* @author Heiko.Braun(a)jboss.com
@@ -59,7 +61,7 @@
T returnType = null;
- // SPI provided by framework
+ // SPI provided by framework, default that can be overridden
if(DeploymentModelFactory.class.equals(spiType))
{
@@ -79,6 +81,12 @@
spiType,
"org.jboss.wsf.framework.deployment.WebXMLRewriterFactoryImpl"
);
}
+ else if(LifecycleHandlerFactory.class.equals(spiType))
+ {
+ returnType = (T) loadService(
+ spiType,
"org.jboss.wsf.framework.deployment.LifecycleHandlerFactoryImpl"
+ );
+ }
// SPI provided by either container or stack integration
@@ -90,6 +98,12 @@
{
returnType = (T) loadService(spiType, null);
}
+ else if(RequestHandlerFactory.class.equals(spiType))
+ {
+ returnType = (T) loadService(
+ spiType, null
+ );
+ }
// help debugging
if(null == returnType)
Modified:
trunk/integration/spi/src/main/java/org/jboss/wsf/framework/deployment/EndpointHandlerDeploymentAspect.java
===================================================================
---
trunk/integration/spi/src/main/java/org/jboss/wsf/framework/deployment/EndpointHandlerDeploymentAspect.java 2007-07-23
13:02:36 UTC (rev 3966)
+++
trunk/integration/spi/src/main/java/org/jboss/wsf/framework/deployment/EndpointHandlerDeploymentAspect.java 2007-07-23
16:11:06 UTC (rev 3967)
@@ -25,21 +25,12 @@
import org.jboss.wsf.spi.SPIProvider;
import org.jboss.wsf.spi.SPIProviderResolver;
-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.deployment.LifecycleHandler;
-import org.jboss.wsf.spi.invocation.InvocationHandler;
-import org.jboss.wsf.spi.invocation.InvocationModelFactory;
-import org.jboss.wsf.spi.invocation.InvocationType;
-import org.jboss.wsf.spi.invocation.RequestHandler;
+import org.jboss.wsf.spi.deployment.*;
+import org.jboss.wsf.spi.invocation.*;
import org.jboss.wsf.spi.metadata.j2ee.UnifiedApplicationMetaData;
import org.jboss.wsf.spi.metadata.j2ee.UnifiedBeanMetaData;
import org.jboss.wsf.spi.metadata.j2ee.UnifiedMessageDrivenMetaData;
-import java.util.HashMap;
-import java.util.Map;
-
/**
* A deployer that assigns the handlers to the Endpoint
*
@@ -49,69 +40,42 @@
public class EndpointHandlerDeploymentAspect extends DeploymentAspect
{
private String requestHandler;
- private String lifecycleHandler;
+ private LifecycleHandler lifecycleHandler;
- private Map<String, String> invocationHandlerMap = new HashMap<String,
String>();
+ private SPIProvider spiProvider;
- public void setLifecycleHandler(String handler)
+ public EndpointHandlerDeploymentAspect()
{
- this.lifecycleHandler = handler;
- }
+ spiProvider = SPIProviderResolver.getInstance().getProvider();
+ }
- public void setRequestHandler(String handler)
- {
- this.requestHandler = handler;
- }
-
- public void setInvocationHandler(Map<String, String> handlers)
- {
- this.invocationHandlerMap = handlers;
- }
-
@Override
public void create(Deployment dep)
{
for (Endpoint ep : dep.getService().getEndpoints())
{
- if (requestHandler != null)
- ep.setRequestHandler(getRequestHandler(dep));
+ // associate a request handler
+ ep.setRequestHandler(getRequestHandler(dep));
- if (lifecycleHandler != null)
- ep.setLifecycleHandler(getLifecycleHandler(dep));
+ // associate a lifecycle handler
+ ep.setLifecycleHandler(getLifecycleHandler(dep));
- if (invocationHandlerMap != null)
- {
- InvocationHandler invocationHandler = getInvocationHandler(ep);
- if (invocationHandler != null)
- ep.setInvocationHandler(invocationHandler);
- }
+ // associate a n invocation handler
+ // TODO: can this be null?
+ InvocationHandler invocationHandler = getInvocationHandler(ep);
+ if (invocationHandler != null)
+ ep.setInvocationHandler(invocationHandler);
}
}
private RequestHandler getRequestHandler(Deployment dep)
{
- try
- {
- Class<?> handlerClass =
dep.getInitialClassLoader().loadClass(requestHandler);
- return (RequestHandler)handlerClass.newInstance();
- }
- catch (Exception e)
- {
- throw new IllegalStateException("Cannot load request handler: " +
requestHandler);
- }
+ return spiProvider.getSPI(RequestHandlerFactory.class).createRequestHandler();
}
private LifecycleHandler getLifecycleHandler(Deployment dep)
{
- try
- {
- Class<?> handlerClass =
dep.getInitialClassLoader().loadClass(lifecycleHandler);
- return (LifecycleHandler)handlerClass.newInstance();
- }
- catch (Exception e)
- {
- throw new IllegalStateException("Cannot load lifecycle handler: " +
lifecycleHandler);
- }
+ return spiProvider.getSPI(LifecycleHandlerFactory.class).createLifecylceHandler();
}
private InvocationHandler getInvocationHandler(Endpoint ep)
@@ -130,7 +94,7 @@
}
}
- SPIProvider spiProvider = SPIProviderResolver.getInstance().getProvider();
+
InvocationType type = InvocationType.valueOf(key);
InvocationHandler invocationHandler=
spiProvider.getSPI(InvocationModelFactory.class).createInvocationHandler( type );
return invocationHandler;
Added:
trunk/integration/spi/src/main/java/org/jboss/wsf/framework/deployment/LifecycleHandlerFactoryImpl.java
===================================================================
---
trunk/integration/spi/src/main/java/org/jboss/wsf/framework/deployment/LifecycleHandlerFactoryImpl.java
(rev 0)
+++
trunk/integration/spi/src/main/java/org/jboss/wsf/framework/deployment/LifecycleHandlerFactoryImpl.java 2007-07-23
16:11:06 UTC (rev 3967)
@@ -0,0 +1,37 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt 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.framework.deployment;
+
+import org.jboss.wsf.spi.deployment.LifecycleHandlerFactory;
+import org.jboss.wsf.spi.deployment.LifecycleHandler;
+
+/**
+ * @author Heiko.Braun(a)jboss.com
+ * Created: Jul 23, 2007
+ */
+public class LifecycleHandlerFactoryImpl extends LifecycleHandlerFactory
+{
+ public LifecycleHandler createLifecylceHandler()
+ {
+ return new BasicLifecycleHandler();
+ }
+}
Property changes on:
trunk/integration/spi/src/main/java/org/jboss/wsf/framework/deployment/LifecycleHandlerFactoryImpl.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
trunk/integration/spi/src/main/java/org/jboss/wsf/spi/deployment/LifecycleHandlerFactory.java
===================================================================
---
trunk/integration/spi/src/main/java/org/jboss/wsf/spi/deployment/LifecycleHandlerFactory.java
(rev 0)
+++
trunk/integration/spi/src/main/java/org/jboss/wsf/spi/deployment/LifecycleHandlerFactory.java 2007-07-23
16:11:06 UTC (rev 3967)
@@ -0,0 +1,33 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt 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.spi.deployment;
+
+import org.jboss.wsf.spi.SPIView;
+
+/**
+ * @author Heiko.Braun(a)jboss.com
+ * Created: Jul 23, 2007
+ */
+public abstract class LifecycleHandlerFactory implements SPIView
+{
+ public abstract LifecycleHandler createLifecylceHandler();
+}
Property changes on:
trunk/integration/spi/src/main/java/org/jboss/wsf/spi/deployment/LifecycleHandlerFactory.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
trunk/integration/spi/src/main/java/org/jboss/wsf/spi/invocation/RequestHandlerFactory.java
===================================================================
---
trunk/integration/spi/src/main/java/org/jboss/wsf/spi/invocation/RequestHandlerFactory.java
(rev 0)
+++
trunk/integration/spi/src/main/java/org/jboss/wsf/spi/invocation/RequestHandlerFactory.java 2007-07-23
16:11:06 UTC (rev 3967)
@@ -0,0 +1,33 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt 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.spi.invocation;
+
+import org.jboss.wsf.spi.SPIView;
+
+/**
+ * @author Heiko.Braun(a)jboss.com
+ * Created: Jul 23, 2007
+ */
+public abstract class RequestHandlerFactory implements SPIView
+{
+ public abstract RequestHandler createRequestHandler();
+}
Property changes on:
trunk/integration/spi/src/main/java/org/jboss/wsf/spi/invocation/RequestHandlerFactory.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Modified: trunk/integration/sunri/build.xml
===================================================================
--- trunk/integration/sunri/build.xml 2007-07-23 13:02:36 UTC (rev 3966)
+++ trunk/integration/sunri/build.xml 2007-07-23 16:11:06 UTC (rev 3967)
@@ -112,7 +112,8 @@
<include name="org/jboss/wsf/stack/sunri/metadata/**"/>
<include name="org/jboss/wsf/stack/sunri/log/**"/>
<include name="org/jboss/wsf/stack/sunri/*"/>
- </fileset>
+ </fileset>
+ <metainf dir="${sunri.resources.dir}/jbossws-sunri.jar/META-INF"/>
</jar>
<!-- jbossws-sunri-client.jar -->
Deleted:
trunk/integration/sunri/src/main/java/org/jboss/wsf/stack/sunri/LifecycleHandlerImpl.java
===================================================================
---
trunk/integration/sunri/src/main/java/org/jboss/wsf/stack/sunri/LifecycleHandlerImpl.java 2007-07-23
13:02:36 UTC (rev 3966)
+++
trunk/integration/sunri/src/main/java/org/jboss/wsf/stack/sunri/LifecycleHandlerImpl.java 2007-07-23
16:11:06 UTC (rev 3967)
@@ -1,48 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt 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.sunri;
-
-//$Id$
-
-import org.jboss.wsf.framework.deployment.BasicLifecycleHandler;
-import org.jboss.wsf.spi.deployment.Endpoint;
-
-/**
- * A lifecycle handler
- *
- * @author Thomas.Diesler(a)jboss.org
- * @since 25-Apr-2007
- */
-public class LifecycleHandlerImpl extends BasicLifecycleHandler
-{
- public void start(Endpoint ep)
- {
- super.start(ep);
- log.info("WebService started: " + ep.getName());
- }
-
- public void stop(Endpoint ep)
- {
- super.stop(ep);
- log.info("WebService stoped: " + ep.getName());
- }
-}
Modified: trunk/integration/sunri/src/main/resources/jbossws-sunri-config.xml
===================================================================
--- trunk/integration/sunri/src/main/resources/jbossws-sunri-config.xml 2007-07-23
13:02:36 UTC (rev 3966)
+++ trunk/integration/sunri/src/main/resources/jbossws-sunri-config.xml 2007-07-23
16:11:06 UTC (rev 3967)
@@ -75,9 +75,7 @@
<bean name="WSMetroEndpointHandlerDeploymentAspect"
class="org.jboss.wsf.framework.deployment.EndpointHandlerDeploymentAspect">
<property name="requires">ContainerEndpointHandler</property>
- <property name="provides">StackEndpointHandler</property>
- <property
name="requestHandler">org.jboss.wsf.stack.sunri.RequestHandlerImpl</property>
- <property
name="lifecycleHandler">org.jboss.wsf.stack.sunri.LifecycleHandlerImpl</property>
+ <property name="provides">StackEndpointHandler</property>
</bean>
<bean name="WSMetroDescriptorDeploymentAspect"
class="org.jboss.wsf.stack.sunri.SunJaxwsDeploymentAspect">
Added:
trunk/integration/sunri/src/main/resources/jbossws-sunri.jar/META-INF/services/org.jboss.wsf.spi.deployment.LifecycleHandlerFactory
===================================================================
---
trunk/integration/sunri/src/main/resources/jbossws-sunri.jar/META-INF/services/org.jboss.wsf.spi.deployment.LifecycleHandlerFactory
(rev 0)
+++
trunk/integration/sunri/src/main/resources/jbossws-sunri.jar/META-INF/services/org.jboss.wsf.spi.deployment.LifecycleHandlerFactory 2007-07-23
16:11:06 UTC (rev 3967)
@@ -0,0 +1 @@
+org.jboss.wsf.framework.deployment.LifecycleHandlerFactoryImpl
\ No newline at end of file
Added:
trunk/integration/sunri/src/main/resources/jbossws-sunri.jar/META-INF/services/org.jboss.wsf.spi.invocation.RequestHandlerFactory
===================================================================
---
trunk/integration/sunri/src/main/resources/jbossws-sunri.jar/META-INF/services/org.jboss.wsf.spi.invocation.RequestHandlerFactory
(rev 0)
+++
trunk/integration/sunri/src/main/resources/jbossws-sunri.jar/META-INF/services/org.jboss.wsf.spi.invocation.RequestHandlerFactory 2007-07-23
16:11:06 UTC (rev 3967)
@@ -0,0 +1 @@
+org.jboss.wsf.stack.sunri.RequestHandlerImpl
\ No newline at end of file
Modified: trunk/integration/xfire/build.xml
===================================================================
--- trunk/integration/xfire/build.xml 2007-07-23 13:02:36 UTC (rev 3966)
+++ trunk/integration/xfire/build.xml 2007-07-23 16:11:06 UTC (rev 3967)
@@ -108,6 +108,7 @@
<fileset dir="${xfire.output.classes.dir}">
<include name="org/jboss/wsf/stack/xfire/**"/>
</fileset>
+ <metainf dir="${xfire.resources.dir}/jbossws-xfire.jar/META-INF"/>
</jar>
<!-- Build jbossws-context.war -->
Deleted:
trunk/integration/xfire/src/main/java/org/jboss/wsf/stack/xfire/LifecycleHandlerImpl.java
===================================================================
---
trunk/integration/xfire/src/main/java/org/jboss/wsf/stack/xfire/LifecycleHandlerImpl.java 2007-07-23
13:02:36 UTC (rev 3966)
+++
trunk/integration/xfire/src/main/java/org/jboss/wsf/stack/xfire/LifecycleHandlerImpl.java 2007-07-23
16:11:06 UTC (rev 3967)
@@ -1,48 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt 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.xfire;
-
-//$Id$
-
-import org.jboss.wsf.framework.deployment.BasicLifecycleHandler;
-import org.jboss.wsf.spi.deployment.Endpoint;
-
-/**
- * A lifecycle handler
- *
- * @author Thomas.Diesler(a)jboss.org
- * @since 25-Apr-2007
- */
-public class LifecycleHandlerImpl extends BasicLifecycleHandler
-{
- public void start(Endpoint ep)
- {
- super.start(ep);
- log.info("WebService started: " + ep.getName());
- }
-
- public void stop(Endpoint ep)
- {
- super.stop(ep);
- log.info("WebService stoped: " + ep.getName());
- }
-}
Modified: trunk/integration/xfire/src/main/resources/jbossws-xfire-config.xml
===================================================================
--- trunk/integration/xfire/src/main/resources/jbossws-xfire-config.xml 2007-07-23
13:02:36 UTC (rev 3966)
+++ trunk/integration/xfire/src/main/resources/jbossws-xfire-config.xml 2007-07-23
16:11:06 UTC (rev 3967)
@@ -40,9 +40,7 @@
<bean name="WSCXFEndpointHandlerDeploymentAspect"
class="org.jboss.wsf.framework.deployment.EndpointHandlerDeploymentAspect">
<property name="requires">ContainerEndpointHandler</property>
- <property name="provides">StackEndpointHandler</property>
- <property
name="requestHandler">org.jboss.wsf.stack.xfire.RequestHandlerImpl</property>
- <property
name="lifecycleHandler">org.jboss.wsf.stack.xfire.LifecycleHandlerImpl</property>
+ <property name="provides">StackEndpointHandler</property>
</bean>
<bean name="WSCXFDescriptorDeploymentAspect"
class="org.jboss.wsf.stack.xfire.DescriptorDeploymentAspect">
Added:
trunk/integration/xfire/src/main/resources/jbossws-xfire.jar/META-INF/services/org.jboss.wsf.spi.deployment.LifecycleHandlerFactory
===================================================================
---
trunk/integration/xfire/src/main/resources/jbossws-xfire.jar/META-INF/services/org.jboss.wsf.spi.deployment.LifecycleHandlerFactory
(rev 0)
+++
trunk/integration/xfire/src/main/resources/jbossws-xfire.jar/META-INF/services/org.jboss.wsf.spi.deployment.LifecycleHandlerFactory 2007-07-23
16:11:06 UTC (rev 3967)
@@ -0,0 +1 @@
+org.jboss.wsf.framework.deployment.LifecycleHandlerFactoryImpl
\ No newline at end of file
Added:
trunk/integration/xfire/src/main/resources/jbossws-xfire.jar/META-INF/services/org.jboss.wsf.spi.invocation.RequestHandlerFactory
===================================================================
---
trunk/integration/xfire/src/main/resources/jbossws-xfire.jar/META-INF/services/org.jboss.wsf.spi.invocation.RequestHandlerFactory
(rev 0)
+++
trunk/integration/xfire/src/main/resources/jbossws-xfire.jar/META-INF/services/org.jboss.wsf.spi.invocation.RequestHandlerFactory 2007-07-23
16:11:06 UTC (rev 3967)
@@ -0,0 +1 @@
+org.jboss.wsf.stack.xfire.RequestHandlerImpl
\ No newline at end of file