org.ops4j.pax.runner.platform
Interface BundleReference

All Known Implementing Classes:
BundleReferenceBean, LocalBundleReference

public interface BundleReference

Metadata about the bundle.

Since:
August 20, 2007
Author:
Alin Dreghiciu

Method Summary
 java.lang.String getName()
          Returns the name to the bundle to be installed.
 java.lang.Integer getStartLevel()
          The start level of the bundle.
 java.net.URL getURL()
          Returns the url to the bundle to be installed.
 java.lang.Boolean shouldStart()
          Should the bundle should be started?
 java.lang.Boolean shouldUpdate()
          Should the bundle should be updated?
 

Method Detail

getName

java.lang.String getName()
Returns the name to the bundle to be installed. Name is used for nice diplaying when required, as for example when downloading the reference to a local system file directory.

Returns:
an name

getURL

java.net.URL getURL()
Returns the url to the bundle to be installed.

Returns:
an url

getStartLevel

java.lang.Integer getStartLevel()
The start level of the bundle. If null is returned the start level will not be set on the bundle.

Returns:
the start level

shouldStart

java.lang.Boolean shouldStart()
Should the bundle should be started?

Returns:
true, if the bundle should start

shouldUpdate

java.lang.Boolean shouldUpdate()
Should the bundle should be updated?

Returns:
true, if the bundle should be updated


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