Author: richard.opalka(a)jboss.com
Date: 2008-05-19 07:54:59 -0400 (Mon, 19 May 2008)
New Revision: 7094
Modified:
container/jboss50/branches/jbossws-jboss500/src/main/resources/jbossws-jboss50-container.jar/META-INF/jbossws-container-beans.xml
Log:
fixed container beans
Modified:
container/jboss50/branches/jbossws-jboss500/src/main/resources/jbossws-jboss50-container.jar/META-INF/jbossws-container-beans.xml
===================================================================
---
container/jboss50/branches/jbossws-jboss500/src/main/resources/jbossws-jboss50-container.jar/META-INF/jbossws-container-beans.xml 2008-05-19
11:52:33 UTC (rev 7093)
+++
container/jboss50/branches/jbossws-jboss500/src/main/resources/jbossws-jboss50-container.jar/META-INF/jbossws-container-beans.xml 2008-05-19
11:54:59 UTC (rev 7094)
@@ -15,41 +15,100 @@
</bean>
<!-- The HTTPServer used by the JAXWS Endpoint API -->
- <bean name="WSHTTPServer"
class="org.jboss.wsf.container.jboss50.DeploymentAspectHttpServer"/>
-
- <!-- The registry for web service endpoints -->
- <bean name="WSEndpointRegistry"
class="org.jboss.wsf.framework.management.ManagedEndpointRegistry">
- <property name="mbeanServer"><inject
bean="WSMBeanServerLocator"
property="mbeanServer"/></property>
- </bean>
-
- <!--
*********************************************************************************************************************
+ <bean name="WSHTTPServer"
class="org.jboss.wsf.container.jboss50.transport.WSFRuntimeDelegateHttpServer"/>
+
+ <!--
+
*********************************************************************************************************************
Main WSFRuntimes.
-->
<bean name="WebserviceJSERuntime"
class="org.jboss.wsf.container.jboss50.BareWSFRuntime">
- <property name="runtimeName">WebserviceJSERuntime</property>
+ <property name="runtimeName">WebserviceJSERuntime</property>
<property name="deploymentAspectManager"><inject
bean="WSDeploymentAspectManagerJSE"/></property>
+ <property name="endpointRegistry"><inject
bean="WSEndpointRegistry"/></property>
+ <property name="transportManagerFactory"><inject
bean="JSETransportManagerFactory"/></property>
+ <property name="invocationHandlerFactory"><inject
bean="InvocationHandlerFactory"/></property>
+ <property name="requestHandlerFactory"><inject
bean="StackRequestHandlerFactory"/></property>
</bean>
<bean name="WebserviceEJBRuntime"
class="org.jboss.wsf.container.jboss50.BareWSFRuntime">
<property name="runtimeName">WebserviceEJBRuntime</property>
<property name="deploymentAspectManager"><inject
bean="WSDeploymentAspectManagerEJB"/></property>
+ <property name="endpointRegistry"><inject
bean="WSEndpointRegistry"/></property>
+ <property name="transportManagerFactory"><inject
bean="EJBTransportManagerFactory"/></property>
+ <property name="invocationHandlerFactory"><inject
bean="InvocationHandlerFactory"/></property>
+ <property name="requestHandlerFactory"><inject
bean="StackRequestHandlerFactory"/></property>
</bean>
<bean name="EndpointAPIRuntime"
class="org.jboss.wsf.container.jboss50.BareWSFRuntime">
<property name="runtimeName">EndpointAPIRuntime</property>
<property name="deploymentAspectManager"><inject
bean="WSDeploymentAspectManagerEndpointAPI"/></property>
+ <property name="endpointRegistry"><inject
bean="WSEndpointRegistry"/></property>
+ <property name="transportManagerFactory"><inject
bean="EndpointAPITransportManagerFactory"/></property>
+ <property name="invocationHandlerFactory"><inject
bean="InvocationHandlerFactory"/></property>
+ <property name="requestHandlerFactory"><inject
bean="StackRequestHandlerFactory"/></property>
</bean>
+ <!--
+
*********************************************************************************************************************
+ WSFRuntimes Components
+ -->
+ <!-- The registry for web service endpoints -->
+ <bean name="WSEndpointRegistry"
class="org.jboss.wsf.framework.management.ManagedEndpointRegistry">
+ <property name="mbeanServer"><inject
bean="WSMBeanServerLocator"
property="mbeanServer"/></property>
+ </bean>
+
+ <!-- JSE transport -->
+ <bean name="JSETransportManagerFactory"
class="org.jboss.wsf.container.jboss50.transport.BareTransportManagerFactory">
+ <property name="httpTransport"><inject
bean="JSEHttpTransport"/></property>
+ </bean>
+
+ <!-- EJB transport -->
+ <bean name="EJBTransportManagerFactory"
class="org.jboss.wsf.container.jboss50.transport.BareTransportManagerFactory">
+ <property name="httpTransport"><inject
bean="EJBHttpTransport"/></property>
+ </bean>
+
+ <!-- Endpoint API transport -->
+ <bean name="EndpointAPITransportManagerFactory"
class="org.jboss.wsf.container.jboss50.transport.BareTransportManagerFactory">
+ <property name="httpTransport"><inject
bean="EndpointAPIHttpTransport"/></property>
+ </bean>
+
+ <bean name="JSEHttpTransport"
class="org.jboss.wsf.container.jboss50.transport.NoopHttpTransportManager"/>
+
+ <bean name="EJBHttpTransport"
class="org.jboss.wsf.container.jboss50.transport.EJBHttpTransportManager">
+ <property name="generator"><inject
bean="WSWebAppGenerator"/></property>
+ <property name="deploymentFactory"><inject
bean="WSWebAppDeploymentFactory"/></property>
+ </bean>
+
+ <bean name="EndpointAPIHttpTransport"
class="org.jboss.wsf.container.jboss50.transport.EndpointAPIHttpTransportManager">
+ <property name="generator"><inject
bean="WSWebAppGenerator"/></property>
+ </bean>
+
+ <!-- Dynamically creates web apps in memory -->
+ <bean name="WSWebAppGenerator"
class="org.jboss.wsf.container.jboss50.transport.WebAppGenerator">
+ <property name="securityHandlerEJB21"><inject
bean="WSSecurityHandlerEJB21"/></property>
+ <property name="securityHandlerEJB3"><inject
bean="WSSecurityHandlerEJB3"/></property>
+ </bean>
+
+ <!-- Attaches a web meta data to the deployment unit -->
+ <bean name="WSWebAppDeploymentFactory"
class="org.jboss.wsf.container.jboss50.transport.WebAppDeploymentFactory">
+ <property name="webXMLRewriter"><inject
bean="WSWebXMLRewriter"/></property>
+ <property name="mainDeployer"><inject
bean="MainDeployer"/></property>
+ </bean>
+
+ <!-- invcocation handling -->
+ <bean name="InvocationHandlerFactory"
class="org.jboss.wsf.container.jboss50.invocation.InvocationHandlerFactoryImpl"/>
+
<!--
*********************************************************************************************************************
- Deployment aspect manager
+ Each DeploymentAspectManger maintains a list of DeploymentAspects which are installed
by an AspectInstaller
-->
<bean name="WSDeploymentAspectManagerJSE"
class="org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl">
<property
name="name">WSDeploymentAspectManagerJSE</property>
</bean>
+
<bean name="WSDeploymentAspectManagerEJB"
class="org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl">
<property
name="name">WSDeploymentAspectManagerEJB</property>
</bean>
@@ -58,8 +117,10 @@
</bean>
<!--
+
*********************************************************************************************************************
The container deployment aspects
-->
+
<bean name="WSContainerMetaDataDeploymentAspect"
class="org.jboss.wsf.container.jboss50.deployment.metadata.ContainerMetaDataDeploymentAspect">
<property name="provides">ContainerMetaData,
VFSRoot</property>
</bean>
@@ -68,9 +129,9 @@
<property name="requires">ContainerMetaData</property>
<property name="provides">ContextRoot</property>
</bean>
-
- <bean name="WSEndpointAddressDeploymentAspect"
class="org.jboss.wsf.framework.deployment.EndpointAddressDeploymentAspect">
- <property name="requires">URLPattern</property>
+
+ <bean name="WSHttpTransportDeploymentAspect"
class="org.jboss.wsf.framework.deployment.HttpTransportDeploymentAspect">
+ <property
name="requires">URLPattern,ContextProperties</property>
<property name="provides">EndpointAddress</property>
</bean>
@@ -99,6 +160,7 @@
<bean name="WSEndpointRegistryDeploymentAspect"
class="org.jboss.wsf.framework.deployment.EndpointRegistryDeploymentAspect">
<property name="requires">EndpointName</property>
<property name="provides">RegisteredEndpoint</property>
+ <depends>WSEndpointRegistry</depends>
</bean>
<bean name="WSModifyWebMetaDataDeploymentAspect"
class="org.jboss.wsf.container.jboss50.deployment.tomcat.ModifyWebMetaDataDeploymentAspect">
@@ -115,38 +177,33 @@
<property name="provides">URLPattern</property>
</bean>
- <bean name="WSWebAppDeploymentAspect"
class="org.jboss.wsf.container.jboss50.WebAppDeploymentAspect">
- <property name="requires">WebMetaData,
ContextProperties</property>
- <property name="webXMLRewriter"><inject
bean="WSWebXMLRewriter"/></property>
- <property name="mainDeployer"><inject
bean="MainDeployer"/></property>
- </bean>
-
- <bean name="WSWebAppGeneratorDeploymentAspect"
class="org.jboss.wsf.container.jboss50.WebApp50GeneratorDeploymentAspect">
- <property name="requires">URLPattern</property>
- <property name="provides">WebMetaData</property>
- <property name="securityHandlerEJB21"><inject
bean="WSSecurityHandlerEJB21"/></property>
- <property name="securityHandlerEJB3"><inject
bean="WSSecurityHandlerEJB3"/></property>
- </bean>
-
- <!-- Deployment aspect helper beans -->
+ <!--
+
*********************************************************************************************************************
+ Deployment aspect helper beans
+ -->
<bean name="WSSecurityHandlerEJB21"
class="org.jboss.wsf.container.jboss50.deployment.tomcat.SecurityHandlerEJB21"/>
<bean name="WSSecurityHandlerEJB3"
class="org.jboss.wsf.container.jboss50.deployment.tomcat.SecurityHandlerEJB3"/>
- <bean name="WSWebAppDesciptorModifier"
class="org.jboss.wsf.container.jboss50.DefaultWebAppDesciptorModifierImpl"/>
- <bean name="WSWebXMLRewriter"
class="org.jboss.wsf.container.jboss50.WebXMLRewriterImpl">
- <property name="desciptorModifier"><inject
bean="WSWebAppDesciptorModifier"/></property>
+ <bean name="WSWebAppDescriptorModifier"
class="org.jboss.wsf.container.jboss50.deployment.tomcat.DefaultWebAppDescriptorModifierImpl"/>
+
+ <bean name="WSWebXMLRewriter"
class="org.jboss.wsf.container.jboss50.deployment.tomcat.WebXMLRewriterImpl">
+ <property name="descriptorModifier"><inject
bean="WSWebAppDescriptorModifier"/></property>
</bean>
- <!-- Deployment aspect installers -->
+ <!--
+
*********************************************************************************************************************
+ Deployment aspect installers
+ -->
- <!-- Phase 1 -->
<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">
+
+ <!-- phase 1 -->
<inject bean="WSContainerMetaDataDeploymentAspect"/>
<inject bean="WSContextRootDeploymentAspect"/>
- <inject bean="WSEndpointAddressDeploymentAspect"/>
+ <inject bean="WSHttpTransportDeploymentAspect"/>
<inject bean="WSEndpointHandlerDeploymentAspect"/>
<inject bean="WSEndpointMetricsDeploymentAspect"/>
<inject bean="WSEndpointNameDeploymentAspect"/>
@@ -154,14 +211,13 @@
<inject bean="WSModifyWebMetaDataDeploymentAspect"/>
<inject bean="WSURLPatternDeploymentAspect"/>
- <!-- Phase2 -->
+ <!-- phase 2 -->
<inject bean="WSEndpointLifecycleDeploymentAspect"/>
<inject bean="WSRuntimeLoaderDeploymentAspect"/>
</set>
</property>
</bean>
-
<bean name="WSDeploymentAspectInstallerEJB"
class="org.jboss.wsf.framework.deployment.DeploymentAspectInstaller">
<property name="manager"><inject
bean="WSDeploymentAspectManagerEJB"/></property>
<property name="sortAspectsOnCreate">false</property>
@@ -169,16 +225,15 @@
<set class="java.util.HashSet"
elementClass="org.jboss.wsf.spi.deployment.DeploymentAspect">
<inject bean="WSContainerMetaDataDeploymentAspect"/>
<inject bean="WSContextRootDeploymentAspect"/>
- <inject bean="WSEndpointAddressDeploymentAspect"/>
+ <inject bean="WSHttpTransportDeploymentAspect"/>
<inject bean="WSEndpointHandlerDeploymentAspect"/>
<inject bean="WSEndpointLifecycleDeploymentAspect"/>
<inject bean="WSEndpointMetricsDeploymentAspect"/>
<inject bean="WSEndpointNameDeploymentAspect"/>
<inject bean="WSEndpointRegistryDeploymentAspect"/>
- <inject bean="WSURLPatternDeploymentAspect"/>
+ <inject bean="WSURLPatternDeploymentAspect"/>
+
<inject bean="WSRuntimeLoaderDeploymentAspect"/>
- <inject bean="WSWebAppDeploymentAspect"/>
- <inject bean="WSWebAppGeneratorDeploymentAspect"/>
</set>
</property>
</bean>
@@ -187,16 +242,14 @@
<property name="manager"><inject
bean="WSDeploymentAspectManagerEndpointAPI"/></property>
<property name="sortAspectsOnCreate">false</property>
<property name="aspects">
- <set class="java.util.HashSet"
elementClass="org.jboss.wsf.spi.deployment.DeploymentAspect">
+ <set class="java.util.HashSet"
elementClass="org.jboss.wsf.spi.deployment.DeploymentAspect">
<inject bean="WSEndpointAPIDeploymentAspect"/>
- <inject bean="WSEndpointAddressDeploymentAspect"/>
+ <inject bean="WSHttpTransportDeploymentAspect"/>
<inject bean="WSEndpointHandlerDeploymentAspect"/>
<inject bean="WSEndpointLifecycleDeploymentAspect"/>
<inject bean="WSEndpointMetricsDeploymentAspect"/>
<inject bean="WSEndpointNameDeploymentAspect"/>
- <inject bean="WSEndpointRegistryDeploymentAspect"/>
- <inject bean="WSWebAppDeploymentAspect"/>
- <inject bean="WSWebAppGeneratorDeploymentAspect"/>
+ <inject bean="WSEndpointRegistryDeploymentAspect"/>
</set>
</property>
</bean>