public final class BundleAdaptor extends Object implements Bundle
ACTIVE, INSTALLED, RESOLVED, SIGNERS_ALL, SIGNERS_TRUSTED, START_ACTIVATION_POLICY, START_TRANSIENT, STARTING, STOP_TRANSIENT, STOPPING, UNINSTALLED| Constructor and Description |
|---|
BundleAdaptor(org.jboss.gravia.runtime.Module module) |
public long getBundleId()
getBundleId in interface Bundlepublic String getSymbolicName()
getSymbolicName in interface Bundlepublic Version getVersion()
getVersion in interface Bundlepublic String getLocation()
getLocation in interface Bundlepublic BundleContext getBundleContext()
getBundleContext in interface Bundlepublic Class<?> loadClass(String className) throws ClassNotFoundException
loadClass in interface BundleClassNotFoundExceptionpublic URL getResource(String name)
getResource in interface Bundlepublic Dictionary<String,String> getHeaders()
getHeaders in interface Bundlepublic Dictionary<String,String> getHeaders(String locale)
getHeaders in interface Bundlepublic Enumeration<URL> getResources(String name) throws IOException
getResources in interface BundleIOExceptionpublic Enumeration<String> getEntryPaths(String path)
getEntryPaths in interface Bundlepublic Enumeration<URL> findEntries(String path, String filePattern, boolean recurse)
findEntries in interface Bundlepublic int compareTo(Bundle bundle)
compareTo in interface Comparable<Bundle>public void start(int options)
throws BundleException
start in interface BundleBundleExceptionpublic void start()
throws BundleException
start in interface BundleBundleExceptionpublic void stop(int options)
throws BundleException
stop in interface BundleBundleExceptionpublic void stop()
throws BundleException
stop in interface BundleBundleExceptionpublic void update(InputStream input) throws BundleException
update in interface BundleBundleExceptionpublic void update()
throws BundleException
update in interface BundleBundleExceptionpublic void uninstall()
throws BundleException
uninstall in interface BundleBundleExceptionpublic ServiceReference<?>[] getRegisteredServices()
getRegisteredServices in interface Bundlepublic ServiceReference<?>[] getServicesInUse()
getServicesInUse in interface Bundlepublic long getLastModified()
getLastModified in interface Bundlepublic Map<X509Certificate,List<X509Certificate>> getSignerCertificates(int signersType)
getSignerCertificates in interface Bundlepublic File getDataFile(String filename)
getDataFile in interface Bundlepublic boolean hasPermission(Object permission)
hasPermission in interface BundleCopyright © 2015 JBoss by Red Hat. All rights reserved.