ACTIVE, INSTALLED, RESOLVED, SIGNERS_ALL, SIGNERS_TRUSTED, START_ACTIVATION_POLICY, START_TRANSIENT, STARTING, STOP_TRANSIENT, STOPPING, UNINSTALLED
public Dictionary<String,String> getHeaders()
getHeaders
in interface Bundle
public ServiceReference<?>[] getRegisteredServices()
getRegisteredServices
in interface Bundle
public ServiceReference<?>[] getServicesInUse()
getServicesInUse
in interface Bundle
public boolean hasPermission(Object permission)
hasPermission
in interface Bundle
public URL getResource(String name)
getResource
in interface Bundle
public Dictionary<String,String> getHeaders(String locale)
getHeaders
in interface Bundle
public Class<?> loadClass(String name) throws ClassNotFoundException
loadClass
in interface Bundle
ClassNotFoundException
public Enumeration<URL> getResources(String name) throws IOException
getResources
in interface Bundle
IOException
public long getLastModified()
getLastModified
in interface Bundle
getLastModified
in interface Framework
public BundleContext getBundleContext()
getBundleContext
in interface Bundle
public Map<X509Certificate,List<X509Certificate>> getSignerCertificates(int signersType)
getSignerCertificates
in interface Bundle
public Version getVersion()
getVersion
in interface Bundle
public File getDataFile(String filename)
getDataFile
in interface Bundle
public int compareTo(Bundle o)
compareTo
in interface Comparable<Bundle>
public void start(int options) throws BundleException
start
in interface Bundle
start
in interface Framework
BundleException
public void start() throws BundleException
start
in interface Bundle
start
in interface Framework
BundleException
public void stop(int options) throws BundleException
stop
in interface Bundle
stop
in interface Framework
BundleException
public void stop() throws BundleException
stop
in interface Bundle
stop
in interface Framework
BundleException
public void update(InputStream input) throws BundleException
update
in interface Bundle
update
in interface Framework
BundleException
public void update() throws BundleException
update
in interface Bundle
update
in interface Framework
BundleException
public void uninstall() throws BundleException
uninstall
in interface Bundle
uninstall
in interface Framework
BundleException
public long getBundleId()
getBundleId
in interface Bundle
getBundleId
in interface Framework
public String getLocation()
getLocation
in interface Bundle
getLocation
in interface Framework
public String getSymbolicName()
getSymbolicName
in interface Bundle
getSymbolicName
in interface Framework
public Enumeration<String> getEntryPaths(String path)
getEntryPaths
in interface Bundle
getEntryPaths
in interface Framework
public Enumeration<URL> findEntries(String path, String filePattern, boolean recurse)
findEntries
in interface Bundle
findEntries
in interface Framework
public <A> A adapt(Class<A> type)
public void init() throws BundleException
init
in interface Framework
BundleException
public void init(FrameworkListener... listeners) throws BundleException
init
in interface Framework
BundleException
public FrameworkEvent waitForStop(long timeout) throws InterruptedException
waitForStop
in interface Framework
InterruptedException
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.