org.jvnet.hk2.osgiadapter
Class OsgiHk2Loader

java.lang.Object
  extended by org.jvnet.hk2.osgiadapter.OsgiHk2Loader
All Implemented Interfaces:
HK2Loader

public class OsgiHk2Loader
extends Object
implements HK2Loader

An Hk2Loader that uses a Bundle to load classes

Author:
mason.taube@oracle.com

Method Summary
 Class<?> loadClass(String className)
          Loads a class given the class name to instantiate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

loadClass

public Class<?> loadClass(String className)
                   throws MultiException
Description copied from interface: HK2Loader
Loads a class given the class name to instantiate

Specified by:
loadClass in interface HK2Loader
Parameters:
className - The descriptor to convert into an ActiveDescriptor
Returns:
The class to be loaded. May not return null
Throws:
MultiException - If this loader had some problem loading the class


Copyright © 2013 Oracle Corporation. All Rights Reserved.