org.glassfish.extras.osgicontainer
Class OSGiDeployedBundle

java.lang.Object
  extended by org.glassfish.extras.osgicontainer.OSGiDeployedBundle
All Implemented Interfaces:
ApplicationContainer<OSGiContainer>

public class OSGiDeployedBundle
extends java.lang.Object
implements ApplicationContainer<OSGiContainer>


Constructor Summary
OSGiDeployedBundle(org.osgi.framework.Bundle bundle)
           
 
Method Summary
 java.lang.ClassLoader getClassLoader()
           
 OSGiContainer getDescriptor()
           
 boolean resume()
           
 boolean start(ApplicationContext startupContext)
           
 boolean stop(ApplicationContext stopContext)
           
 boolean suspend()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OSGiDeployedBundle

public OSGiDeployedBundle(org.osgi.framework.Bundle bundle)
Method Detail

getDescriptor

public OSGiContainer getDescriptor()
Specified by:
getDescriptor in interface ApplicationContainer<OSGiContainer>

start

public boolean start(ApplicationContext startupContext)
              throws java.lang.Exception
Specified by:
start in interface ApplicationContainer<OSGiContainer>
Throws:
java.lang.Exception

stop

public boolean stop(ApplicationContext stopContext)
Specified by:
stop in interface ApplicationContainer<OSGiContainer>

suspend

public boolean suspend()
Specified by:
suspend in interface ApplicationContainer<OSGiContainer>

resume

public boolean resume()
               throws java.lang.Exception
Specified by:
resume in interface ApplicationContainer<OSGiContainer>
Throws:
java.lang.Exception

getClassLoader

public java.lang.ClassLoader getClassLoader()
Specified by:
getClassLoader in interface ApplicationContainer<OSGiContainer>


Copyright © 2012 GlassFish Community. All Rights Reserved.