org.apache.xbean.finder
Class BundleAnnotationFinder
java.lang.Object
org.apache.xbean.finder.AbstractFinder
org.apache.xbean.finder.BundleAnnotationFinder
- All Implemented Interfaces:
- IAnnotationFinder
public class BundleAnnotationFinder
- extends AbstractFinder
- Version:
- $Rev: 1160131 $ $Date: 2011-08-22 15:07:20 +0800 (Mon, 22 Aug 2011) $
| Methods inherited from class org.apache.xbean.finder.AbstractFinder |
findAnnotatedClasses, findAnnotatedConstructors, findAnnotatedFields, findAnnotatedMethods, findAnnotatedPackages, findClassesInPackage, findImplementations, findInheritedAnnotatedClasses, findMetaAnnotatedClasses, findMetaAnnotatedFields, findMetaAnnotatedMethods, findSubclasses, getAnnotationInfos, getClassesNotLoaded, isAnnotationPresent, link, readClassDef, readClassDef, readClassDef, readClassDef |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BundleAnnotationFinder
public BundleAnnotationFinder(org.osgi.service.packageadmin.PackageAdmin packageAdmin,
org.osgi.framework.Bundle bundle)
throws java.lang.Exception
- Throws:
java.lang.Exception
BundleAnnotationFinder
public BundleAnnotationFinder(org.osgi.service.packageadmin.PackageAdmin packageAdmin,
org.osgi.framework.Bundle bundle,
ResourceDiscoveryFilter discoveryFilter)
throws java.lang.Exception
- Throws:
java.lang.Exception
BundleAnnotationFinder
public BundleAnnotationFinder(org.osgi.service.packageadmin.PackageAdmin packageAdmin,
org.osgi.framework.Bundle bundle,
ResourceDiscoveryFilter discoveryFilter,
java.util.Set<java.lang.String> paths)
throws java.lang.Exception
- Throws:
java.lang.Exception
getResource
protected java.net.URL getResource(java.lang.String s)
- Specified by:
getResource in class AbstractFinder
loadClass
protected java.lang.Class<?> loadClass(java.lang.String s)
throws java.lang.ClassNotFoundException
- Specified by:
loadClass in class AbstractFinder
- Throws:
java.lang.ClassNotFoundException
getAnnotatedClassNames
public java.util.List<java.lang.String> getAnnotatedClassNames()
- Specified by:
getAnnotatedClassNames in interface IAnnotationFinder- Overrides:
getAnnotatedClassNames in class AbstractFinder
Copyright © 2005-2011 The Apache Software Foundation. All Rights Reserved.