org.ow2.util.ee.metadata.ws.impl.configurator.visitor.clazz
Class JavaxJwsWebServiceVisitor<T extends org.ow2.util.ee.metadata.ws.api.IWebservicesCommonClassMetadata>

java.lang.Object
  extended by org.ow2.util.ee.metadata.common.impl.configurator.visitor.AbsAnnotationVisitor<T>
      extended by org.ow2.util.ee.metadata.ws.impl.configurator.visitor.clazz.JavaxJwsWebServiceVisitor<T>
All Implemented Interfaces:
org.ow2.util.ee.metadata.common.impl.configurator.visitor.AnnotationType, org.ow2.util.scan.api.IAnnotationVisitor

public class JavaxJwsWebServiceVisitor<T extends org.ow2.util.ee.metadata.ws.api.IWebservicesCommonClassMetadata>
extends org.ow2.util.ee.metadata.common.impl.configurator.visitor.AbsAnnotationVisitor<T>

This class manages the handling of @javax.jws.WebService annotation.

Author:
Guillaume Sauthier

Field Summary
static java.lang.String TYPE
          Type of annotation.
 
Constructor Summary
JavaxJwsWebServiceVisitor(T annotationMetadata)
          Constructor.
 
Method Summary
 java.lang.String getType()
           
 void visit(java.lang.String name, java.lang.Object value)
          Visits a primitive value of the annotation.
 void visitEnd()
          Visits the end of the annotation.
 
Methods inherited from class org.ow2.util.ee.metadata.common.impl.configurator.visitor.AbsAnnotationVisitor
getAnnotationMetadata, visitAnnotation, visitArray, visitEnum
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TYPE

public static final java.lang.String TYPE
Type of annotation.

See Also:
Constant Field Values
Constructor Detail

JavaxJwsWebServiceVisitor

public JavaxJwsWebServiceVisitor(T annotationMetadata)
Constructor.

Parameters:
annotationMetadata - linked to a class or method metadata
Method Detail

visit

public void visit(java.lang.String name,
                  java.lang.Object value)
Visits a primitive value of the annotation.

Specified by:
visit in interface org.ow2.util.scan.api.IAnnotationVisitor
Overrides:
visit in class org.ow2.util.ee.metadata.common.impl.configurator.visitor.AbsAnnotationVisitor<T extends org.ow2.util.ee.metadata.ws.api.IWebservicesCommonClassMetadata>
Parameters:
name - the value name.
value - the actual value, whose type must be Byte, Boolean, Character, Short, Integer, Long, Float, Double, String or IType.

visitEnd

public void visitEnd()
Visits the end of the annotation.

Specified by:
visitEnd in interface org.ow2.util.scan.api.IAnnotationVisitor
Specified by:
visitEnd in class org.ow2.util.ee.metadata.common.impl.configurator.visitor.AbsAnnotationVisitor<T extends org.ow2.util.ee.metadata.ws.api.IWebservicesCommonClassMetadata>

getType

public java.lang.String getType()
Returns:
type of the annotation (its description).


Copyright © 2007-2009 OW2 Consortium. All Rights Reserved.