[
http://jira.jboss.com/jira/browse/JBWS-1309?page=comments#action_12367475 ]
Thomas Diesler commented on JBWS-1309:
--------------------------------------
@PortComponent has been split up in @WebContext and @EndpointConfig
public @interface WebContext {
/**
* The contextRoot element specifies the context root that the web service endpoint is
deployed to.
* If it is not specified it will be derived from the deployment short name.
*
* Applies to server side port components only.
*/
String contextRoot() default "";
/**
* The virtual hosts that the web service endpoint is deployed to.
*
* Applies to server side port components only.
*/
String[] virtualHosts() default {};
/**
* Relative path that is appended to the contextRoot to form fully qualified
* endpoint address for the web service endpoint.
*
* Applies to server side port components only.
*/
String urlPattern() default "";
/**
* The authMethod is used to configure the authentication mechanism for the web
service.
* As a prerequisite to gaining access to any web service which are protected by an
authorization
* constraint, a user must have authenticated using the configured mechanism.
*
* Legal values for this element are "BASIC", or "CLIENT-CERT".
*/
String authMethod() default "";
/**
* The transportGuarantee specifies that the communication
* between client and server should be NONE, INTEGRAL, or
* CONFIDENTIAL. NONE means that the application does not require any
* transport guarantees. A value of INTEGRAL means that the application
* requires that the data sent between the client and server be sent in
* such a way that it can't be changed in transit. CONFIDENTIAL means
* that the application requires that the data be transmitted in a
* fashion that prevents other entities from observing the contents of
* the transmission. In most cases, the presence of the INTEGRAL or
* CONFIDENTIAL flag will indicate that the use of SSL is required.
*/
String transportGuarantee() default "";
/**
* A secure endpoint does not secure wsdl access by default.
* Explicitly setting secureWSDLAccess overrides this behaviour.
*
* Protect access to WSDL. See
http://jira.jboss.org/jira/browse/JBWS-723
*/
boolean secureWSDLAccess() default false;
}
public @interface EndpointConfig {
/**
* The optional config-name element gives the configuration name that must be present
in
* the configuration given by element config-file.
*
* Server side default: Standard Endpoint
* Client side default: Standard Client
*/
String configName() default "";
/**
* The optional config-file element is a URL or resource name for the configuration.
*
* Server side default: standard-jaxws-endpoint-config.xml
* Client side default: standard-jaxws-client-config.xml
*/
String configFile() default "";
}
Support xml overrides for @PortComponent
----------------------------------------
Key: JBWS-1309
URL:
http://jira.jboss.com/jira/browse/JBWS-1309
Project: JBoss Web Services
Issue Type: Task
Security Level: Public(Everyone can see)
Components: jbossws-jaxws
Reporter: Jason T. Greene
Fix For: jbossws-2.0.0.CR5
Similar to EJB3 annotations, we need to support an xml override for the PortComponent
annotation. The information will then need to be pulled from the JBoss metadata.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira