Author: heiko.braun(a)jboss.com
Date: 2008-04-07 10:11:16 -0400 (Mon, 07 Apr 2008)
New Revision: 6252
Modified:
stack/native/branches/hbraun/src/main/java/org/jboss/ws/extensions/wsrm/server/RMDeploymentAspect.java
stack/native/branches/hbraun/src/main/java/org/jboss/wsf/stack/jbws/EagerInitializeDeploymentAspect.java
stack/native/branches/hbraun/src/main/java/org/jboss/wsf/stack/jbws/EventingDeploymentAspect.java
stack/native/branches/hbraun/src/main/java/org/jboss/wsf/stack/jbws/JAXBIntroDeploymentAspect.java
stack/native/branches/hbraun/src/main/java/org/jboss/wsf/stack/jbws/PublishContractDeploymentAspect.java
stack/native/branches/hbraun/src/main/java/org/jboss/wsf/stack/jbws/ServiceEndpointInvokerDeploymentAspect.java
stack/native/branches/hbraun/src/main/java/org/jboss/wsf/stack/jbws/UnifiedMetaDataDeploymentAspect.java
stack/native/branches/hbraun/src/main/java/org/jboss/wsf/stack/jbws/embedded/HttpEndpointPublishAspect.java
Log:
Update DA's to new signature 'create(Deployment dep, WSFRuntime runtime)'
Modified:
stack/native/branches/hbraun/src/main/java/org/jboss/ws/extensions/wsrm/server/RMDeploymentAspect.java
===================================================================
---
stack/native/branches/hbraun/src/main/java/org/jboss/ws/extensions/wsrm/server/RMDeploymentAspect.java 2008-04-07
14:10:58 UTC (rev 6251)
+++
stack/native/branches/hbraun/src/main/java/org/jboss/ws/extensions/wsrm/server/RMDeploymentAspect.java 2008-04-07
14:11:16 UTC (rev 6252)
@@ -28,6 +28,7 @@
import org.jboss.wsf.spi.deployment.DeploymentAspect;
import org.jboss.wsf.spi.deployment.Endpoint;
import org.jboss.wsf.spi.invocation.InvocationHandler;
+import org.jboss.wsf.spi.WSFRuntime;
/**
* Registers RMInvocationHandler if WS-RM is detected
@@ -40,7 +41,7 @@
{
@Override
- public final void start(Deployment dep)
+ public final void start(Deployment dep, WSFRuntime runtime)
{
for (Endpoint ep : dep.getService().getEndpoints())
{
@@ -60,7 +61,7 @@
}
@Override
- public final void destroy(Deployment dep)
+ public final void destroy(Deployment dep, WSFRuntime runtime)
{
for (Endpoint ep : dep.getService().getEndpoints())
{
Modified:
stack/native/branches/hbraun/src/main/java/org/jboss/wsf/stack/jbws/EagerInitializeDeploymentAspect.java
===================================================================
---
stack/native/branches/hbraun/src/main/java/org/jboss/wsf/stack/jbws/EagerInitializeDeploymentAspect.java 2008-04-07
14:10:58 UTC (rev 6251)
+++
stack/native/branches/hbraun/src/main/java/org/jboss/wsf/stack/jbws/EagerInitializeDeploymentAspect.java 2008-04-07
14:11:16 UTC (rev 6252)
@@ -26,6 +26,7 @@
import org.jboss.ws.metadata.umdm.UnifiedMetaData;
import org.jboss.wsf.spi.deployment.DeploymentAspect;
import org.jboss.wsf.spi.deployment.Deployment;
+import org.jboss.wsf.spi.WSFRuntime;
/**
* A deployer that initializes the UMDM
@@ -36,7 +37,7 @@
public class EagerInitializeDeploymentAspect extends DeploymentAspect
{
@Override
- public void start(Deployment dep)
+ public void start(Deployment dep, WSFRuntime runtime)
{
UnifiedMetaData umd = dep.getAttachment(UnifiedMetaData.class);
if (umd == null)
Modified:
stack/native/branches/hbraun/src/main/java/org/jboss/wsf/stack/jbws/EventingDeploymentAspect.java
===================================================================
---
stack/native/branches/hbraun/src/main/java/org/jboss/wsf/stack/jbws/EventingDeploymentAspect.java 2008-04-07
14:10:58 UTC (rev 6251)
+++
stack/native/branches/hbraun/src/main/java/org/jboss/wsf/stack/jbws/EventingDeploymentAspect.java 2008-04-07
14:11:16 UTC (rev 6252)
@@ -32,6 +32,7 @@
import org.jboss.wsf.spi.deployment.DeploymentAspect;
import org.jboss.wsf.spi.deployment.Deployment;
import org.jboss.wsf.spi.deployment.Endpoint;
+import org.jboss.wsf.spi.WSFRuntime;
/**
* A deployer that creates event sources and register them with the
@@ -43,7 +44,7 @@
public class EventingDeploymentAspect extends DeploymentAspect
{
@Override
- public void start(Deployment dep)
+ public void start(Deployment dep, WSFRuntime runtime)
{
for (Endpoint ep : dep.getService().getEndpoints())
{
@@ -72,7 +73,7 @@
}
@Override
- public void destroy(Deployment dep)
+ public void destroy(Deployment dep, WSFRuntime runtime)
{
for (Endpoint ep : dep.getService().getEndpoints())
{
Modified:
stack/native/branches/hbraun/src/main/java/org/jboss/wsf/stack/jbws/JAXBIntroDeploymentAspect.java
===================================================================
---
stack/native/branches/hbraun/src/main/java/org/jboss/wsf/stack/jbws/JAXBIntroDeploymentAspect.java 2008-04-07
14:10:58 UTC (rev 6251)
+++
stack/native/branches/hbraun/src/main/java/org/jboss/wsf/stack/jbws/JAXBIntroDeploymentAspect.java 2008-04-07
14:11:16 UTC (rev 6252)
@@ -29,6 +29,7 @@
import org.jboss.ws.core.jaxws.JAXBBindingCustomization;
import org.jboss.wsf.spi.binding.BindingCustomization;
import org.jboss.wsf.spi.deployment.*;
+import org.jboss.wsf.spi.WSFRuntime;
import java.io.IOException;
import java.io.InputStream;
@@ -43,7 +44,7 @@
private static final String META_INF_JAXB_INTROS_XML =
"META-INF/jaxb-intros.xml";
private static final String WEB_INF_JAXB_INTROS_XML =
"WEB-INF/jaxb-intros.xml";
- public void start(Deployment deployment)
+ public void start(Deployment deployment, WSFRuntime runtime)
{
// assert ArchiveDeployment
Modified:
stack/native/branches/hbraun/src/main/java/org/jboss/wsf/stack/jbws/PublishContractDeploymentAspect.java
===================================================================
---
stack/native/branches/hbraun/src/main/java/org/jboss/wsf/stack/jbws/PublishContractDeploymentAspect.java 2008-04-07
14:10:58 UTC (rev 6251)
+++
stack/native/branches/hbraun/src/main/java/org/jboss/wsf/stack/jbws/PublishContractDeploymentAspect.java 2008-04-07
14:11:16 UTC (rev 6252)
@@ -30,6 +30,7 @@
import org.jboss.wsf.spi.deployment.Deployment;
import org.jboss.wsf.spi.deployment.DeploymentAspect;
import org.jboss.wsf.spi.deployment.WSFDeploymentException;
+import org.jboss.wsf.spi.WSFRuntime;
/**
* A deployer that publishes the wsdl
@@ -40,7 +41,7 @@
public class PublishContractDeploymentAspect extends DeploymentAspect
{
@Override
- public void start(Deployment dep)
+ public void start(Deployment dep, WSFRuntime runtime)
{
UnifiedMetaData umd = dep.getAttachment(UnifiedMetaData.class);
if (umd == null)
Modified:
stack/native/branches/hbraun/src/main/java/org/jboss/wsf/stack/jbws/ServiceEndpointInvokerDeploymentAspect.java
===================================================================
---
stack/native/branches/hbraun/src/main/java/org/jboss/wsf/stack/jbws/ServiceEndpointInvokerDeploymentAspect.java 2008-04-07
14:10:58 UTC (rev 6251)
+++
stack/native/branches/hbraun/src/main/java/org/jboss/wsf/stack/jbws/ServiceEndpointInvokerDeploymentAspect.java 2008-04-07
14:11:16 UTC (rev 6252)
@@ -29,6 +29,7 @@
import org.jboss.wsf.spi.deployment.Deployment;
import org.jboss.wsf.spi.deployment.Endpoint;
import org.jboss.wsf.spi.deployment.Deployment.DeploymentType;
+import org.jboss.wsf.spi.WSFRuntime;
/**
* A deployer that associates the ServiceEndpointInvoker with the endpoint
@@ -39,7 +40,7 @@
public class ServiceEndpointInvokerDeploymentAspect extends DeploymentAspect
{
@Override
- public void start(Deployment dep)
+ public void start(Deployment dep, WSFRuntime runtime)
{
for (Endpoint ep : dep.getService().getEndpoints())
{
Modified:
stack/native/branches/hbraun/src/main/java/org/jboss/wsf/stack/jbws/UnifiedMetaDataDeploymentAspect.java
===================================================================
---
stack/native/branches/hbraun/src/main/java/org/jboss/wsf/stack/jbws/UnifiedMetaDataDeploymentAspect.java 2008-04-07
14:10:58 UTC (rev 6251)
+++
stack/native/branches/hbraun/src/main/java/org/jboss/wsf/stack/jbws/UnifiedMetaDataDeploymentAspect.java 2008-04-07
14:11:16 UTC (rev 6252)
@@ -35,6 +35,7 @@
import org.jboss.wsf.spi.deployment.DeploymentAspect;
import org.jboss.wsf.spi.deployment.Endpoint;
import org.jboss.wsf.spi.deployment.Deployment.DeploymentType;
+import org.jboss.wsf.spi.WSFRuntime;
/**
* A deployer that builds the UnifiedDeploymentInfo
@@ -45,7 +46,7 @@
public class UnifiedMetaDataDeploymentAspect extends DeploymentAspect
{
@Override
- public void start(Deployment dep)
+ public void start(Deployment dep, WSFRuntime runtime)
{
UnifiedMetaData umd = dep.getAttachment(UnifiedMetaData.class);
if (umd == null)
@@ -72,7 +73,7 @@
}
else
{
- throw new IllegalStateException("Invalid type: " +
dep.getType());
+ throw new IllegalStateException("Invalid deployment type: " +
dep.getType());
}
dep.addAttachment(UnifiedMetaData.class, umd);
Modified:
stack/native/branches/hbraun/src/main/java/org/jboss/wsf/stack/jbws/embedded/HttpEndpointPublishAspect.java
===================================================================
---
stack/native/branches/hbraun/src/main/java/org/jboss/wsf/stack/jbws/embedded/HttpEndpointPublishAspect.java 2008-04-07
14:10:58 UTC (rev 6251)
+++
stack/native/branches/hbraun/src/main/java/org/jboss/wsf/stack/jbws/embedded/HttpEndpointPublishAspect.java 2008-04-07
14:11:16 UTC (rev 6252)
@@ -23,6 +23,7 @@
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;
@@ -45,7 +46,7 @@
http = tmf.createTransportManager(Protocol.HTTP);
}
- public void start(Deployment dep)
+ public void start(Deployment dep, WSFRuntime runtime)
{
String webcontext = dep.getService().getContextRoot();
assert webcontext!=null;
@@ -64,7 +65,7 @@
}
}
- public void stop(Deployment dep)
+ public void stop(Deployment dep, WSFRuntime runtime)
{
assert dep.getService().getEndpoints().size()>0;