public interface ApplicationManager
Modifier and Type | Method and Description |
---|---|
void |
addApplicationListener(ApplicationTracker listener)
Adds an application listener.
|
Application |
getApplication(String applicationId)
Returns the specified application.
|
Application |
getApplicationOfBundle(String bundleSymbolicName)
Returns application which corresponds to specified bundle.
|
List<Application> |
getApplications()
Returns all installed applications.
|
List<ApplicationCategory> |
getCategories()
Returns ordered list of application categories.
|
boolean |
isApplicationBundle(org.osgi.framework.Bundle bundle)
Returns true if specified bundle is part of an application.
|
void |
removeApplicationListener(ApplicationTracker listener)
Removes an application listener.
|
List<ApplicationCategory> getCategories()
List<Application> getApplications()
Application getApplication(String applicationId)
applicationId
- id of requested applicationvoid addApplicationListener(ApplicationTracker listener)
listener
- an application listenervoid removeApplicationListener(ApplicationTracker listener)
listener
- an application listenerApplication getApplicationOfBundle(String bundleSymbolicName)
bundleSymbolicName
- bundle symbolic nameboolean isApplicationBundle(org.osgi.framework.Bundle bundle)
bundle
- a BundleCopyright © 2012-2013 ADELE Research Group. All Rights Reserved.