Author: alessio.soldano(a)jboss.com
Date: 2010-08-05 10:35:10 -0400 (Thu, 05 Aug 2010)
New Revision: 12744
Modified:
spi/trunk/src/main/java/org/jboss/wsf/spi/deployment/DeploymentModelFactory.java
spi/trunk/src/main/java/org/jboss/wsf/spi/deployment/Endpoint.java
Log:
Minor changes to doc
Modified:
spi/trunk/src/main/java/org/jboss/wsf/spi/deployment/DeploymentModelFactory.java
===================================================================
---
spi/trunk/src/main/java/org/jboss/wsf/spi/deployment/DeploymentModelFactory.java 2010-08-05
14:22:45 UTC (rev 12743)
+++
spi/trunk/src/main/java/org/jboss/wsf/spi/deployment/DeploymentModelFactory.java 2010-08-05
14:35:10 UTC (rev 12744)
@@ -35,7 +35,7 @@
@Deprecated
/**
- * Use #newHttpEndpoint(String) instead
+ * DEPRECATED: Use #newHttpEndpoint(String s) or new JMSEndpoint(String s) instead
*/
public abstract Endpoint newEndpoint(String targetBean);
Modified: spi/trunk/src/main/java/org/jboss/wsf/spi/deployment/Endpoint.java
===================================================================
--- spi/trunk/src/main/java/org/jboss/wsf/spi/deployment/Endpoint.java 2010-08-05 14:22:45
UTC (rev 12743)
+++ spi/trunk/src/main/java/org/jboss/wsf/spi/deployment/Endpoint.java 2010-08-05 14:35:10
UTC (rev 12744)
@@ -25,7 +25,6 @@
import javax.management.ObjectName;
import javax.naming.Context;
-import javax.naming.NamingException;
import org.jboss.wsf.spi.invocation.InvocationHandler;
import org.jboss.wsf.spi.invocation.RequestHandler;
@@ -52,11 +51,19 @@
UNDEFINED, STARTED, STOPPED
};
- /** Get the URL pattern for this endpoint */
- @Deprecated// TODO: moved to HttpEndpoint - explicit cast required
+ /** Get the URL pattern for this endpoint.
+ * This has been deprecated, getting the current URLPatter
+ * makes sense for {@link HttpEndpoint} only.
+ */
+ @Deprecated
String getURLPattern();
- /** Set the URL pattern for this endpoint */
- @Deprecated// TODO: moved to HttpEndpoint - explicit cast required
+ /** Set the URL pattern for this endpoint
+ * This has been deprecated, setting the current URLPatter
+ * makes sense for {@link HttpEndpoint} only.
+ *
+ * @param urlPattern
+ */
+ @Deprecated
void setURLPattern(String urlPattern);
/** Get the service this endpoint belongs to */
Show replies by date