org.ops4j.pax.runner.osgi
Class UnsupportedBundle

java.lang.Object
  extended by org.ops4j.pax.runner.osgi.UnsupportedBundle
All Implemented Interfaces:
org.osgi.framework.Bundle
Direct Known Subclasses:
RunnerBundle

public class UnsupportedBundle
extends java.lang.Object
implements org.osgi.framework.Bundle


Field Summary
 
Fields inherited from interface org.osgi.framework.Bundle
ACTIVE, INSTALLED, RESOLVED, SIGNERS_ALL, SIGNERS_TRUSTED, START_ACTIVATION_POLICY, START_TRANSIENT, STARTING, STOP_TRANSIENT, STOPPING, UNINSTALLED
 
Constructor Summary
UnsupportedBundle()
           
 
Method Summary
 java.util.Enumeration findEntries(java.lang.String string, java.lang.String string1, boolean b)
           
 org.osgi.framework.BundleContext getBundleContext()
           
 long getBundleId()
           
 java.net.URL getEntry(java.lang.String string)
           
 java.util.Enumeration getEntryPaths(java.lang.String string)
           
 java.util.Dictionary getHeaders()
           
 java.util.Dictionary getHeaders(java.lang.String string)
           
 long getLastModified()
           
 java.lang.String getLocation()
           
 org.osgi.framework.ServiceReference[] getRegisteredServices()
           
 java.net.URL getResource(java.lang.String string)
           
 java.util.Enumeration getResources(java.lang.String string)
           
 org.osgi.framework.ServiceReference[] getServicesInUse()
           
 java.util.Map getSignerCertificates(int signerType)
           
 int getState()
           
 java.lang.String getSymbolicName()
           
 org.osgi.framework.Version getVersion()
           
 boolean hasPermission(java.lang.Object object)
           
 java.lang.Class loadClass(java.lang.String string)
           
 void start()
           
 void start(int opts)
           
 void stop()
           
 void stop(int opts)
           
 void uninstall()
           
 void update()
           
 void update(java.io.InputStream inputStream)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnsupportedBundle

public UnsupportedBundle()
Method Detail

getState

public int getState()
Specified by:
getState in interface org.osgi.framework.Bundle

start

public void start()
           throws org.osgi.framework.BundleException
Specified by:
start in interface org.osgi.framework.Bundle
Throws:
org.osgi.framework.BundleException

start

public void start(int opts)
           throws org.osgi.framework.BundleException
Specified by:
start in interface org.osgi.framework.Bundle
Throws:
org.osgi.framework.BundleException

stop

public void stop()
          throws org.osgi.framework.BundleException
Specified by:
stop in interface org.osgi.framework.Bundle
Throws:
org.osgi.framework.BundleException

stop

public void stop(int opts)
          throws org.osgi.framework.BundleException
Specified by:
stop in interface org.osgi.framework.Bundle
Throws:
org.osgi.framework.BundleException

update

public void update()
            throws org.osgi.framework.BundleException
Specified by:
update in interface org.osgi.framework.Bundle
Throws:
org.osgi.framework.BundleException

update

public void update(java.io.InputStream inputStream)
            throws org.osgi.framework.BundleException
Specified by:
update in interface org.osgi.framework.Bundle
Throws:
org.osgi.framework.BundleException

uninstall

public void uninstall()
               throws org.osgi.framework.BundleException
Specified by:
uninstall in interface org.osgi.framework.Bundle
Throws:
org.osgi.framework.BundleException

getHeaders

public java.util.Dictionary getHeaders()
Specified by:
getHeaders in interface org.osgi.framework.Bundle

getBundleId

public long getBundleId()
Specified by:
getBundleId in interface org.osgi.framework.Bundle

getLocation

public java.lang.String getLocation()
Specified by:
getLocation in interface org.osgi.framework.Bundle

getRegisteredServices

public org.osgi.framework.ServiceReference[] getRegisteredServices()
Specified by:
getRegisteredServices in interface org.osgi.framework.Bundle

getServicesInUse

public org.osgi.framework.ServiceReference[] getServicesInUse()
Specified by:
getServicesInUse in interface org.osgi.framework.Bundle

hasPermission

public boolean hasPermission(java.lang.Object object)
Specified by:
hasPermission in interface org.osgi.framework.Bundle

getResource

public java.net.URL getResource(java.lang.String string)
Specified by:
getResource in interface org.osgi.framework.Bundle

getHeaders

public java.util.Dictionary getHeaders(java.lang.String string)
Specified by:
getHeaders in interface org.osgi.framework.Bundle

getSymbolicName

public java.lang.String getSymbolicName()
Specified by:
getSymbolicName in interface org.osgi.framework.Bundle

loadClass

public java.lang.Class loadClass(java.lang.String string)
                          throws java.lang.ClassNotFoundException
Specified by:
loadClass in interface org.osgi.framework.Bundle
Throws:
java.lang.ClassNotFoundException

getResources

public java.util.Enumeration getResources(java.lang.String string)
                                   throws java.io.IOException
Specified by:
getResources in interface org.osgi.framework.Bundle
Throws:
java.io.IOException

getEntryPaths

public java.util.Enumeration getEntryPaths(java.lang.String string)
Specified by:
getEntryPaths in interface org.osgi.framework.Bundle

getEntry

public java.net.URL getEntry(java.lang.String string)
Specified by:
getEntry in interface org.osgi.framework.Bundle

getLastModified

public long getLastModified()
Specified by:
getLastModified in interface org.osgi.framework.Bundle

findEntries

public java.util.Enumeration findEntries(java.lang.String string,
                                         java.lang.String string1,
                                         boolean b)
Specified by:
findEntries in interface org.osgi.framework.Bundle

getBundleContext

public org.osgi.framework.BundleContext getBundleContext()
Specified by:
getBundleContext in interface org.osgi.framework.Bundle

getSignerCertificates

public java.util.Map getSignerCertificates(int signerType)
Specified by:
getSignerCertificates in interface org.osgi.framework.Bundle

getVersion

public org.osgi.framework.Version getVersion()
Specified by:
getVersion in interface org.osgi.framework.Bundle


Copyright © 2006-2012 OPS4J - Open Participation Software for Java. All Rights Reserved.