Author: richard.opalka(a)jboss.com
Date: 2008-06-06 02:34:17 -0400 (Fri, 06 Jun 2008)
New Revision: 7394
Modified:
container/jboss50/branches/jbossws-jboss500/src/main/java/org/jboss/wsf/container/jboss50/BareWSFRuntime.java
container/jboss50/branches/jbossws-jboss500/src/main/resources/jbossws-jboss50-container.jar/META-INF/jbossws-container-beans.xml
Log:
refactoring runtimeName property
Modified:
container/jboss50/branches/jbossws-jboss500/src/main/java/org/jboss/wsf/container/jboss50/BareWSFRuntime.java
===================================================================
---
container/jboss50/branches/jbossws-jboss500/src/main/java/org/jboss/wsf/container/jboss50/BareWSFRuntime.java 2008-06-06
05:44:40 UTC (rev 7393)
+++
container/jboss50/branches/jbossws-jboss500/src/main/java/org/jboss/wsf/container/jboss50/BareWSFRuntime.java 2008-06-06
06:34:17 UTC (rev 7394)
@@ -37,7 +37,7 @@
/**
* @author Heiko.Braun <heiko.braun(a)jboss.com>
*/
-public class BareWSFRuntime implements WSFRuntime, ComposableRuntime
+public class BareWSFRuntime implements WSFRuntime
{
private static final Logger log = Logger.getLogger(BareWSFRuntime.class);
@@ -54,20 +54,14 @@
private TransportManagerFactory transportManagerFactory;
boolean initialized;
-
- public String getRuntimeName()
+
+ public BareWSFRuntime(String runtimeName)
{
- return runtimeName;
- }
-
- public void setRuntimeName(String runtimeName)
- {
this.runtimeName = runtimeName;
}
// ---------------------------------------------------------------------------------
-
public void create(Deployment deployment)
{
init();
@@ -106,7 +100,6 @@
// ---------------------------------------------------------------------------------
-
public void setTransportManagerFactory(TransportManagerFactory factory)
{
assert factory!=null;
@@ -159,7 +152,7 @@
public void setInvocationHandlerFactory(InvocationHandlerFactory factory)
{
assert factory!=null;
- log.debug(runtimeName + " -> InvocationHandlerFactory: "+ factory);
+ log.info(runtimeName + " -> InvocationHandlerFactory: "+ factory);
this.invocationHandlerFactory = factory;
}
@@ -170,6 +163,6 @@
public String toString()
{
- return this.runtimeName+ " :" + super.toString();
+ return this.runtimeName+ ": " + super.toString();
}
}
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-06-06
05:44:40 UTC (rev 7393)
+++
container/jboss50/branches/jbossws-jboss500/src/main/resources/jbossws-jboss50-container.jar/META-INF/jbossws-container-beans.xml 2008-06-06
06:34:17 UTC (rev 7394)
@@ -23,7 +23,9 @@
-->
<bean name="WebserviceJSERuntime"
class="org.jboss.wsf.container.jboss50.BareWSFRuntime">
- <property name="runtimeName">WebserviceJSERuntime</property>
+ <constructor>
+ <parameter>WebserviceJSERuntime</parameter>
+ </constructor>
<property name="deploymentAspectManager"><inject
bean="WSDeploymentAspectManagerJSE"/></property>
<property name="endpointRegistry"><inject
bean="WSEndpointRegistry"/></property>
<property name="transportManagerFactory"><inject
bean="JSETransportManagerFactory"/></property>
@@ -32,7 +34,9 @@
</bean>
<bean name="WebserviceEJBRuntime"
class="org.jboss.wsf.container.jboss50.BareWSFRuntime">
- <property name="runtimeName">WebserviceEJBRuntime</property>
+ <constructor>
+ <parameter>WebserviceEJBRuntime</parameter>
+ </constructor>
<property name="deploymentAspectManager"><inject
bean="WSDeploymentAspectManagerEJB"/></property>
<property name="endpointRegistry"><inject
bean="WSEndpointRegistry"/></property>
<property name="transportManagerFactory"><inject
bean="EJBTransportManagerFactory"/></property>
@@ -41,7 +45,9 @@
</bean>
<bean name="EndpointAPIRuntime"
class="org.jboss.wsf.container.jboss50.BareWSFRuntime">
- <property name="runtimeName">EndpointAPIRuntime</property>
+ <constructor>
+ <parameter>EndpointAPIRuntime</parameter>
+ </constructor>
<property name="deploymentAspectManager"><inject
bean="WSDeploymentAspectManagerEndpointAPI"/></property>
<property name="endpointRegistry"><inject
bean="WSEndpointRegistry"/></property>
<property name="transportManagerFactory"><inject
bean="EndpointAPITransportManagerFactory"/></property>
Show replies by date