org.jvnet.hk2.osgiadapter
Class OSGiObrModuleImpl

java.lang.Object
  extended by org.jvnet.hk2.osgiadapter.OSGiModuleImpl
      extended by org.jvnet.hk2.osgiadapter.OSGiObrModuleImpl
All Implemented Interfaces:
Module

public class OSGiObrModuleImpl
extends OSGiModuleImpl

Author:
Sanjeeb.Sahoo@Sun.COM

Constructor Summary
OSGiObrModuleImpl(OSGiObrModulesRegistryImpl registry, File file)
           
OSGiObrModuleImpl(OSGiObrModulesRegistryImpl registry, ModuleDefinition moduleDef)
           
 
Method Summary
 void detach()
           
 void dumpState(PrintStream writer)
           
 ClassLoader getClassLoader()
           
 List<Module> getImports()
           
 OSGiObrModulesRegistryImpl getRegistry()
           
 ModuleState getState()
           
 void refresh()
           
 void resolve()
           
 void start()
           
 boolean stop()
           
 String toString()
           
 void uninstall()
           
 
Methods inherited from class org.jvnet.hk2.osgiadapter.OSGiModuleImpl
addImport, addImport, addListener, equals, getBundle, getMetadata, getModuleDefinition, getName, getProvidersClass, getProvidersClass, hashCode, hasProvider, isShared, isSticky, isTransientlyActive, removeListener, setBundle, setSticky
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OSGiObrModuleImpl

public OSGiObrModuleImpl(OSGiObrModulesRegistryImpl registry,
                         File file)
                  throws IOException
Throws:
IOException

OSGiObrModuleImpl

public OSGiObrModuleImpl(OSGiObrModulesRegistryImpl registry,
                         ModuleDefinition moduleDef)
                  throws IOException
Throws:
IOException
Method Detail

getRegistry

public OSGiObrModulesRegistryImpl getRegistry()
Specified by:
getRegistry in interface Module
Overrides:
getRegistry in class OSGiModuleImpl

getState

public ModuleState getState()
Specified by:
getState in interface Module
Overrides:
getState in class OSGiModuleImpl

resolve

public void resolve()
             throws ResolveError
Specified by:
resolve in interface Module
Overrides:
resolve in class OSGiModuleImpl
Throws:
ResolveError

start

public void start()
           throws ResolveError
Specified by:
start in interface Module
Overrides:
start in class OSGiModuleImpl
Throws:
ResolveError

stop

public boolean stop()
Specified by:
stop in interface Module
Overrides:
stop in class OSGiModuleImpl

detach

public void detach()
Specified by:
detach in interface Module
Overrides:
detach in class OSGiModuleImpl

uninstall

public void uninstall()
Specified by:
uninstall in interface Module
Overrides:
uninstall in class OSGiModuleImpl

refresh

public void refresh()
Specified by:
refresh in interface Module
Overrides:
refresh in class OSGiModuleImpl

dumpState

public void dumpState(PrintStream writer)
Specified by:
dumpState in interface Module
Overrides:
dumpState in class OSGiModuleImpl

getClassLoader

public ClassLoader getClassLoader()
Specified by:
getClassLoader in interface Module
Overrides:
getClassLoader in class OSGiModuleImpl

getImports

public List<Module> getImports()
Specified by:
getImports in interface Module
Overrides:
getImports in class OSGiModuleImpl

toString

public String toString()
Overrides:
toString in class OSGiModuleImpl


Copyright © 2011 Oracle Corporation. All Rights Reserved.