|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.loader.osgi.OsgiBundle
public class OsgiBundle
An osgi-bundle
| Method Summary | |
|---|---|
java.util.Enumeration |
findEntries(java.lang.String path,
java.lang.String filePattern,
boolean recurse)
Returns entries matching a pattern. |
BundleContext |
getBundleContext()
Returns the bundle's context |
long |
getBundleId()
Returns the bundle's unique id |
java.net.URL |
getEntry(java.lang.String path)
Returns a URL to the named entry |
java.util.Enumeration |
getEntryPaths(java.lang.String path)
Returns the paths to entries in the bundle |
java.util.Dictionary |
getHeaders()
Returns the Manifest headers |
java.util.Dictionary |
getHeaders(java.lang.String locale)
Returns the localized view of the manifest |
long |
getLastModified()
Returns the last modified time of the bundle. |
java.lang.String |
getLocation()
Returns the location |
ServiceReference[] |
getRegisteredServices()
Returns the bundle's registered services |
java.net.URL |
getResource(java.lang.String name)
Returns the specified resource from the bundle |
java.util.Enumeration |
getResources(java.lang.String name)
Returns the resources for the bundle |
ServiceReference[] |
getServicesInUse()
Returns the services the bundle is using |
int |
getState()
Returns the bundle's current state |
java.lang.String |
getSymbolicName()
Returns the bundle's symbolic name |
boolean |
hasPermission(java.lang.Object permission)
Returns true if the bundle has the specified permission |
java.lang.Class |
loadClass(java.lang.String name)
Loads a class using the bundle's classloader |
void |
start()
Start the bundle |
void |
start(int options)
Start the bundle |
void |
stop()
Start the bundle |
void |
stop(int options)
Stop the bundle |
java.lang.String |
toString()
|
void |
uninstall()
Uninstall the bundle |
void |
update()
Updates the bundle |
void |
update(java.io.InputStream is)
Updates the bundle from an input stream |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public long getBundleId()
public java.lang.String getSymbolicName()
public java.lang.String getLocation()
public int getState()
public void start(int options)
throws BundleException
BundleException
public void start()
throws BundleException
BundleException
public void stop(int options)
throws BundleException
BundleException
public void stop()
throws BundleException
BundleException
public void update()
throws BundleException
BundleException
public void update(java.io.InputStream is)
throws BundleException
BundleException
public void uninstall()
throws BundleException
BundleExceptionpublic java.util.Dictionary getHeaders()
public ServiceReference[] getRegisteredServices()
public ServiceReference[] getServicesInUse()
public boolean hasPermission(java.lang.Object permission)
public java.net.URL getResource(java.lang.String name)
public java.util.Dictionary getHeaders(java.lang.String locale)
public java.lang.Class loadClass(java.lang.String name)
throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException
public java.util.Enumeration getResources(java.lang.String name)
throws java.io.IOException
java.io.IOExceptionpublic java.util.Enumeration getEntryPaths(java.lang.String path)
public java.net.URL getEntry(java.lang.String path)
public long getLastModified()
public java.util.Enumeration findEntries(java.lang.String path,
java.lang.String filePattern,
boolean recurse)
public BundleContext getBundleContext()
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||