org.jboss.wsf.spi.annotation
Class WebContextImpl

java.lang.Object
  extended by org.jboss.wsf.spi.annotation.WebContextImpl
All Implemented Interfaces:
java.lang.annotation.Annotation, WebContext

public class WebContextImpl
extends java.lang.Object
implements WebContext

Represents a WebContext annotation and reflects the annotation defult values.
This implementation is used to provide a meta data representation (descriptor overrides) for the jboss EJB3 project.

Author:
Heiko.Braun@jboss.com

Constructor Summary
WebContextImpl()
           
 
Method Summary
 java.lang.Class<? extends java.lang.annotation.Annotation> annotationType()
           
 java.lang.String authMethod()
          The authMethod is used to configure the authentication mechanism for the web service.
 java.lang.String contextRoot()
          The contextRoot element specifies the context root that the web service endpoint is deployed to.
 boolean secureWSDLAccess()
          A secure endpoint does not secure wsdl access by default.
 void setAuthmethod(java.lang.String authmethod)
           
 void setContextRoot(java.lang.String contextRoot)
           
 void setSecuredWsdl(boolean securedWsdl)
           
 void setTransportGuarantee(java.lang.String transportGuarantee)
           
 void setUrlpattern(java.lang.String urlpattern)
           
 void setVirtualHosts(java.lang.String[] virtualHosts)
           
 java.lang.String transportGuarantee()
          The transportGuarantee specifies that the communication between client and server should be NONE, INTEGRAL, or CONFIDENTIAL.
 java.lang.String urlPattern()
          Relative path that is appended to the contextRoot to form fully qualified endpoint address for the web service endpoint.
 java.lang.String[] virtualHosts()
          The virtual hosts that the web service endpoint is deployed to.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.lang.annotation.Annotation
equals, hashCode, toString
 

Constructor Detail

WebContextImpl

public WebContextImpl()
Method Detail

contextRoot

public java.lang.String contextRoot()
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.


setContextRoot

public void setContextRoot(java.lang.String contextRoot)

virtualHosts

public java.lang.String[] virtualHosts()
The virtual hosts that the web service endpoint is deployed to. Applies to server side port components only.


setVirtualHosts

public void setVirtualHosts(java.lang.String[] virtualHosts)

urlPattern

public java.lang.String urlPattern()
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.


setUrlpattern

public void setUrlpattern(java.lang.String urlpattern)

authMethod

public java.lang.String authMethod()
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".


setAuthmethod

public void setAuthmethod(java.lang.String authmethod)

transportGuarantee

public java.lang.String transportGuarantee()
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.


setTransportGuarantee

public void setTransportGuarantee(java.lang.String transportGuarantee)

secureWSDLAccess

public boolean secureWSDLAccess()
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


setSecuredWsdl

public void setSecuredWsdl(boolean securedWsdl)

annotationType

public java.lang.Class<? extends java.lang.annotation.Annotation> annotationType()
Specified by:
annotationType in interface java.lang.annotation.Annotation


Copyright © 2010 JBoss, a division of Red Hat. All Rights Reserved.