org.ops4j.pax.scanner.common
Class ScannedFileBundle
java.lang.Object
org.ops4j.pax.scanner.ScannedBundleBean
org.ops4j.pax.scanner.common.ScannedFileBundle
- All Implemented Interfaces:
- ScannedBundle
public class ScannedFileBundle
- extends ScannedBundleBean
Represents an entry in the scanned file..
- Since:
- August 18, 2007
- Author:
- Alin Dreghiciu
Constructor Summary |
ScannedFileBundle(java.lang.String reference)
Constructor |
ScannedFileBundle(java.lang.String reference,
java.lang.Integer defaultStartLevel,
java.lang.Boolean defaultShouldStart,
java.lang.Boolean defaultShouldUpdate)
Creates a new bundle reference based on a bundle reference with default start level and start options. |
Methods inherited from class org.ops4j.pax.scanner.ScannedBundleBean |
equals, getLocation, getStartLevel, hashCode, setLocation, setShouldStart, setShouldUpdate, setStartLevel, shouldStart, shouldUpdate, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
ScannedFileBundle
public ScannedFileBundle(java.lang.String reference)
throws MalformedSpecificationException
- Constructor
- Parameters:
reference
- the bundle reference specification
- Throws:
MalformedSpecificationException
- if the reference is malformed
ScannedFileBundle
public ScannedFileBundle(java.lang.String reference,
java.lang.Integer defaultStartLevel,
java.lang.Boolean defaultShouldStart,
java.lang.Boolean defaultShouldUpdate)
throws java.net.MalformedURLException
- Creates a new bundle reference based on a bundle reference with default start level and start options.
- Parameters:
reference
- the bundle reference specificationdefaultStartLevel
- default start level if not set on the bundle referencedefaultShouldStart
- default start if not set on the bundle referencedefaultShouldUpdate
- default update if not set on the bundle reference
- Throws:
java.net.MalformedURLException
- if the reference is malformed
Copyright © 2006-2011 OPS4J - Open Participation Software for Java. All Rights Reserved.