org.nuxeo.runtime.annotations.loader
Class BundleAnnotationsLoader
java.lang.Object
org.nuxeo.runtime.annotations.loader.BundleAnnotationsLoader
- All Implemented Interfaces:
- java.util.EventListener, org.osgi.framework.BundleListener
public class BundleAnnotationsLoader
- extends java.lang.Object
- implements org.osgi.framework.BundleListener
- Author:
- Bogdan Stefanescu
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BundleAnnotationsLoader
public BundleAnnotationsLoader()
getInstance
public static BundleAnnotationsLoader getInstance()
addLoader
public void addLoader(java.lang.String annotationType,
AnnotationLoader loader)
loadAnnotationsFromDeployedBundles
public void loadAnnotationsFromDeployedBundles(org.osgi.framework.Bundle bundle)
throws java.io.IOException
- Throws:
java.io.IOException
loadAnnotations
public void loadAnnotations(org.osgi.framework.Bundle bundle)
throws java.io.IOException
- Throws:
java.io.IOException
parse
public static java.lang.String[] parse(java.lang.String str)
bundleChanged
public void bundleChanged(org.osgi.framework.BundleEvent event)
- Specified by:
bundleChanged
in interface org.osgi.framework.BundleListener
readLines
public static java.util.List<java.lang.String> readLines(java.io.InputStream in)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2010 Nuxeo SAS. All Rights Reserved.