org.apache.felix.ipojo.manipulator.metadata.annotation.visitor
Class ServiceControllerVisitor

java.lang.Object
  extended by org.objectweb.asm.commons.EmptyVisitor
      extended by org.apache.felix.ipojo.manipulator.metadata.annotation.visitor.ServiceControllerVisitor
All Implemented Interfaces:
org.objectweb.asm.AnnotationVisitor, org.objectweb.asm.ClassVisitor, org.objectweb.asm.FieldVisitor, org.objectweb.asm.MethodVisitor

public class ServiceControllerVisitor
extends org.objectweb.asm.commons.EmptyVisitor
implements org.objectweb.asm.AnnotationVisitor

Parses a @ServiceController annotation.

Author:
Felix Project Team
See Also:
ServiceController

Constructor Summary
ServiceControllerVisitor(java.lang.String field, org.apache.felix.ipojo.metadata.Element provides)
          Constructor.
 
Method Summary
 void visit(java.lang.String name, java.lang.Object value)
          Visit one "simple" annotation.
 void visitEnd()
          End of the annotation.
 
Methods inherited from class org.objectweb.asm.commons.EmptyVisitor
visit, visitAnnotation, visitAnnotation, visitAnnotationDefault, visitArray, visitAttribute, visitCode, visitEnum, visitField, visitFieldInsn, visitFrame, visitIincInsn, visitInnerClass, visitInsn, visitIntInsn, visitJumpInsn, visitLabel, visitLdcInsn, visitLineNumber, visitLocalVariable, visitLookupSwitchInsn, visitMaxs, visitMethod, visitMethodInsn, visitMultiANewArrayInsn, visitOuterClass, visitParameterAnnotation, visitSource, visitTableSwitchInsn, visitTryCatchBlock, visitTypeInsn, visitVarInsn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.objectweb.asm.AnnotationVisitor
visitAnnotation, visitArray, visitEnum
 

Constructor Detail

ServiceControllerVisitor

public ServiceControllerVisitor(java.lang.String field,
                                org.apache.felix.ipojo.metadata.Element provides)
Constructor.

Parameters:
provides - : element element.
field - : field name.
Method Detail

visit

public void visit(java.lang.String name,
                  java.lang.Object value)
Visit one "simple" annotation.

Specified by:
visit in interface org.objectweb.asm.AnnotationVisitor
Overrides:
visit in class org.objectweb.asm.commons.EmptyVisitor
Parameters:
name - : annotation name
value - : annotation value
See Also:
AnnotationVisitor.visit(java.lang.String, java.lang.Object)

visitEnd

public void visitEnd()
End of the annotation. Create a "controller" element

Specified by:
visitEnd in interface org.objectweb.asm.AnnotationVisitor
Specified by:
visitEnd in interface org.objectweb.asm.ClassVisitor
Specified by:
visitEnd in interface org.objectweb.asm.FieldVisitor
Specified by:
visitEnd in interface org.objectweb.asm.MethodVisitor
Overrides:
visitEnd in class org.objectweb.asm.commons.EmptyVisitor
See Also:
AnnotationVisitor.visitEnd()


Copyright © 2006-2013 The Apache Software Foundation. All Rights Reserved.