[jbossws-commits] JBossWS SVN: r14923 - spi/branches/JBWS-3343/src/main/java/org/jboss/wsf/spi/deployment.
jbossws-commits at lists.jboss.org
jbossws-commits at lists.jboss.org
Fri Sep 2 01:40:05 EDT 2011
Author: jim.ma
Date: 2011-09-02 01:40:05 -0400 (Fri, 02 Sep 2011)
New Revision: 14923
Modified:
spi/branches/JBWS-3343/src/main/java/org/jboss/wsf/spi/deployment/Deployment.java
spi/branches/JBWS-3343/src/main/java/org/jboss/wsf/spi/deployment/DeploymentAspectManagerFactory.java
spi/branches/JBWS-3343/src/main/java/org/jboss/wsf/spi/deployment/Endpoint.java
spi/branches/JBWS-3343/src/main/java/org/jboss/wsf/spi/deployment/Service.java
Log:
[JBWS-3346]:Remove DeploymentType
Modified: spi/branches/JBWS-3343/src/main/java/org/jboss/wsf/spi/deployment/Deployment.java
===================================================================
--- spi/branches/JBWS-3343/src/main/java/org/jboss/wsf/spi/deployment/Deployment.java 2011-09-02 05:21:38 UTC (rev 14922)
+++ spi/branches/JBWS-3343/src/main/java/org/jboss/wsf/spi/deployment/Deployment.java 2011-09-02 05:40:05 UTC (rev 14923)
@@ -21,6 +21,7 @@
*/
package org.jboss.wsf.spi.deployment;
+
/**
* A general web service deployment dep.
*
@@ -30,11 +31,7 @@
*/
public interface Deployment extends Extensible
{
- public enum DeploymentType
- {
- JAXRPC_JSE, JAXRPC_EJB21, JAXWS_JSE, JAXWS_EJB3, @Deprecated JAXWS_JMS;
- };
-
+
public enum DeploymentState
{
UNDEFINED, STARTED, STOPPED
@@ -58,12 +55,7 @@
/** Set the runtime class loader for this deployment */
void setRuntimeClassLoader(ClassLoader loader);
- /** Get the deployment type */
- DeploymentType getType();
- /** Set the deployment type */
- void setType(DeploymentType type);
-
/** Get the current deployment state */
DeploymentState getState();
@@ -75,4 +67,4 @@
/** Set the service associated with this deployment */
void setService(Service service);
-}
+}
\ No newline at end of file
Modified: spi/branches/JBWS-3343/src/main/java/org/jboss/wsf/spi/deployment/DeploymentAspectManagerFactory.java
===================================================================
--- spi/branches/JBWS-3343/src/main/java/org/jboss/wsf/spi/deployment/DeploymentAspectManagerFactory.java 2011-09-02 05:21:38 UTC (rev 14922)
+++ spi/branches/JBWS-3343/src/main/java/org/jboss/wsf/spi/deployment/DeploymentAspectManagerFactory.java 2011-09-02 05:40:05 UTC (rev 14923)
@@ -31,7 +31,7 @@
*/
public abstract class DeploymentAspectManagerFactory implements SPIView
{
- public abstract DeploymentAspectManager getDeploymentAspectManager(Deployment.DeploymentType deploymentType);
+ //public abstract DeploymentAspectManager getDeploymentAspectManager(Deployment.DeploymentType deploymentType);
/**
* Get a named instance of a deployment aspect manager
Modified: spi/branches/JBWS-3343/src/main/java/org/jboss/wsf/spi/deployment/Endpoint.java
===================================================================
--- spi/branches/JBWS-3343/src/main/java/org/jboss/wsf/spi/deployment/Endpoint.java 2011-09-02 05:21:38 UTC (rev 14922)
+++ spi/branches/JBWS-3343/src/main/java/org/jboss/wsf/spi/deployment/Endpoint.java 2011-09-02 05:40:05 UTC (rev 14923)
@@ -145,10 +145,4 @@
/** get endpoint type */
EndpointType getType();
-
- /** Get the context root for this service */
- String getContextRoot();
-
- /** Set the context root for this service */
- void setContextRoot(String contextRoot);
}
Modified: spi/branches/JBWS-3343/src/main/java/org/jboss/wsf/spi/deployment/Service.java
===================================================================
--- spi/branches/JBWS-3343/src/main/java/org/jboss/wsf/spi/deployment/Service.java 2011-09-02 05:21:38 UTC (rev 14922)
+++ spi/branches/JBWS-3343/src/main/java/org/jboss/wsf/spi/deployment/Service.java 2011-09-02 05:40:05 UTC (rev 14923)
@@ -50,6 +50,12 @@
/** Get the list of endpoints with EndpointTypeFilter*/
List<Endpoint> getEndpoints(EndpointTypeFilter filter);
+ /** Get the endpoint type list */
+ List<EndpointType> getEndpointTypes();
+
+ /** Add endpoint type */
+ void addEndpointType(EndpointType type);
+
/** Get an endpoint by name */
Endpoint getEndpointByName(String simpleName);
@@ -59,4 +65,10 @@
/** Set the virtual hosts for this service */
void setVirtualHosts(List<String> virtualHosts);
+ /** Get the context root for this service */
+ String getContextRoot();
+
+ /** Set the context root for this service */
+ void setContextRoot(String contextRoot);
+
}
More information about the jbossws-commits
mailing list