Uses of Class
org.apache.felix.scrplugin.SCRDescriptorException

Packages that use SCRDescriptorException
org.apache.felix.scrplugin   
org.apache.felix.scrplugin.helper   
org.apache.felix.scrplugin.om   
org.apache.felix.scrplugin.tags   
org.apache.felix.scrplugin.tags.annotation Extracting SCR tags from source file declared as Java 1.5 annotations. 
org.apache.felix.scrplugin.tags.cl   
org.apache.felix.scrplugin.tags.qdox   
org.apache.felix.scrplugin.xml   
 

Uses of SCRDescriptorException in org.apache.felix.scrplugin
 

Methods in org.apache.felix.scrplugin that throw SCRDescriptorException
protected  void SCRDescriptorGenerator.addInterfaces(Service service, JavaTag serviceTag, JavaClassDescription description)
          Recursively add interfaces to the service.
protected  Component SCRDescriptorGenerator.createComponent(JavaClassDescription description, JavaTag componentTag, MetaData metaData, IssueLog iLog)
          Create a component for the java class description.
protected  OCD SCRDescriptorGenerator.doComponent(JavaTag tag, Component component, MetaData metaData, IssueLog iLog)
          Fill the component object with the information from the tag.
protected  void SCRDescriptorGenerator.doReference(JavaTag reference, String name, Component component, String type)
           
protected  void SCRDescriptorGenerator.doServices(JavaTag[] services, Component component, JavaClassDescription description)
          Process the service annotations
 boolean SCRDescriptorGenerator.execute()
          Actually generates the Declarative Services and Metatype descriptors scanning the java sources provided by the descriptor manager.
protected  Map<String,Component> JavaClassDescriptorManager.getComponentDescriptors()
          Returns a map of component descriptors which may be extended by the java sources returned by the JavaClassDescriptorManager.getSources() method.
 JavaClassDescription JavaClassDescriptorManager.getJavaClassDescription(String className)
          Get a java class description for the class.
protected  JavaField SCRDescriptorGenerator.getReferencedField(JavaTag tag, String ref)
           
protected  String SCRDescriptorGenerator.getReferenceName(JavaTag reference, String defaultName)
           
 JavaClassDescription[] JavaClassDescriptorManager.getSourceDescriptions()
          Return all source descriptions of this project.
protected  com.thoughtworks.qdox.model.JavaSource[] JavaClassDescriptorManager.getSources()
          Returns the QDox JavaSource instances representing the source files for which the Declarative Services and Metatype descriptors have to be generated.
protected  Components JavaClassDescriptorManager.parseServiceComponentDescriptor(InputStream file)
          Parses the descriptors read from the given input stream.
protected  void SCRDescriptorGenerator.testReference(Map<String,Object[]> references, JavaTag reference, String defaultName, boolean isInspectedClass)
          Test a newly found reference
 

Uses of SCRDescriptorException in org.apache.felix.scrplugin.helper
 

Methods in org.apache.felix.scrplugin.helper that throw SCRDescriptorException
protected  String PropertyHandler.getPropertyName(JavaTag tag, JavaField field)
          Return the name of the property.
protected  String[] PropertyHandler.getPropertyValueRef(JavaTag tag, Property prop, String valueRef)
           
protected  JavaField PropertyHandler.getReferencedField(JavaTag tag, String ref)
           
 void PropertyHandler.handleField(JavaField javaField, boolean isInspectedClass)
           
 void PropertyHandler.processProperties(Map<String,String> globalProperties, IssueLog iLog)
          Process all found properties for the component.
protected  void PropertyHandler.processProperty(JavaTag tag, String name, JavaField javaField, IssueLog iLog)
          Process a property.
protected  void PropertyHandler.setPropertyValueRef(JavaTag tag, Property property, String valueRef)
           
 void PropertyHandler.testProperty(JavaTag property, JavaField field, boolean isInspectedClass)
          Test if there is already a property with the same name.
 

Uses of SCRDescriptorException in org.apache.felix.scrplugin.om
 

Methods in org.apache.felix.scrplugin.om that throw SCRDescriptorException
protected  void Component.checkLifecycleMethod(int specVersion, JavaClassDescription javaClass, String methodName, boolean isActivate, IssueLog iLog)
          Check for existence of lifecycle methods.
 JavaMethod Reference.findMethod(int specVersion, String methodName)
           
 void Reference.validate(int specVersion, boolean componentIsAbstract, IssueLog iLog)
          Validate the property.
 void Service.validate(int specVersion, IssueLog iLog)
          Validate the service.
 void Interface.validate(int specVersion, IssueLog iLog)
          Validate the interface.
 void Component.validate(int specVersion, IssueLog iLog)
          Validate the component description.
protected  String Reference.validateMethod(int specVersion, String methodName, boolean componentIsAbstract, IssueLog iLog)
           
 

Uses of SCRDescriptorException in org.apache.felix.scrplugin.tags
 

Methods in org.apache.felix.scrplugin.tags that throw SCRDescriptorException
 void ModifiableJavaClassDescription.addMethods(String propertyName, String className, boolean createBind, boolean createUnbind)
           
 JavaField JavaClassDescription.getExternalFieldByName(String name)
           
 JavaField JavaClassDescription.getFieldByName(String name)
          Get the field with the name.
 JavaClassDescription[] JavaClassDescription.getImplementedInterfaces()
          Returns an array of the implemented interfaces of this class.
 JavaMethod JavaClassDescription.getMethodBySignature(String name, String[] parameters)
          Search for a method with the given signature.
 JavaClassDescription JavaClassDescription.getReferencedClass(String referencedName)
          Search for the class.
 JavaClassDescription JavaClassDescription.getSuperClass()
          Get the description for the parent class.
 JavaTag[] JavaClassDescription.getTagsByName(String name, boolean inherited)
          Get all class tags with this name.
 boolean JavaClassDescription.isA(String type)
          Is this class of the type?
 

Uses of SCRDescriptorException in org.apache.felix.scrplugin.tags.annotation
 

Methods in org.apache.felix.scrplugin.tags.annotation that throw SCRDescriptorException
 JavaField AnnotationJavaClassDescription.getFieldByName(String name)
           
 JavaTag[] AnnotationJavaClassDescription.getTagsByName(String name, boolean inherited)
           
 

Uses of SCRDescriptorException in org.apache.felix.scrplugin.tags.cl
 

Methods in org.apache.felix.scrplugin.tags.cl that throw SCRDescriptorException
 JavaField ClassLoaderJavaClassDescription.getExternalFieldByName(String name)
           
 JavaField ClassLoaderJavaClassDescription.getFieldByName(String name)
           
 JavaClassDescription[] ClassLoaderJavaClassDescription.getImplementedInterfaces()
           
 JavaMethod ClassLoaderJavaClassDescription.getMethodBySignature(String name, String[] parameters)
           
 JavaClassDescription ClassLoaderJavaClassDescription.getReferencedClass(String referencedName)
           
 JavaClassDescription ClassLoaderJavaClassDescription.getSuperClass()
           
 JavaTag[] ClassLoaderJavaClassDescription.getTagsByName(String name, boolean inherited)
           
 

Uses of SCRDescriptorException in org.apache.felix.scrplugin.tags.qdox
 

Methods in org.apache.felix.scrplugin.tags.qdox that throw SCRDescriptorException
 void QDoxJavaClassDescription.addMethods(String propertyName, String className, boolean createBind, boolean createUnbind)
           
 JavaField QDoxJavaClassDescription.getExternalFieldByName(String name)
           
 JavaField QDoxJavaClassDescription.getFieldByName(String name)
           
 JavaClassDescription[] QDoxJavaClassDescription.getImplementedInterfaces()
           
 JavaMethod QDoxJavaClassDescription.getMethodBySignature(String name, String[] parameters)
           
 JavaClassDescription QDoxJavaClassDescription.getSuperClass()
           
 JavaTag[] QDoxJavaClassDescription.getTagsByName(String name, boolean inherited)
           
 boolean QDoxJavaClassDescription.isA(String type)
           
 

Uses of SCRDescriptorException in org.apache.felix.scrplugin.xml
 

Methods in org.apache.felix.scrplugin.xml that throw SCRDescriptorException
static Components ComponentDescriptorIO.read(InputStream file)
           
static void ComponentDescriptorIO.write(Components components, File file, boolean isScrPrivateFile)
          Write the component descriptors to the file.
static void MetaTypeIO.write(MetaData metaData, File file)
           
 



Copyright © 2011 Apache Software Foundation. All Rights Reserved.