Nuxeo Enterprise Platform 5.4

org.nuxeo.runtime.annotations.loader
Class BundleAnnotationsLoader

java.lang.Object
  extended by 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

Constructor Summary
BundleAnnotationsLoader()
           
 
Method Summary
 void addLoader(java.lang.String annotationType, AnnotationLoader loader)
           
 void bundleChanged(org.osgi.framework.BundleEvent event)
           
static BundleAnnotationsLoader getInstance()
           
 void loadAnnotations(org.osgi.framework.Bundle bundle)
           
 void loadAnnotationsFromDeployedBundles(org.osgi.framework.Bundle bundle)
           
static java.lang.String[] parse(java.lang.String str)
           
static java.util.List<java.lang.String> readLines(java.io.InputStream in)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BundleAnnotationsLoader

public BundleAnnotationsLoader()
Method Detail

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

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.