org.ow2.util.ee.deploy.api.deployable
Interface OSGiDeployable

All Superinterfaces:
IDeployable<OSGiDeployable>

public interface OSGiDeployable
extends IDeployable<OSGiDeployable>

Represents an OSGi deployable.

Author:
Florent Benoit

Method Summary
 Integer getStartLevel()
          Return the bundle start level value.
 Boolean isReference()
          Return true if the bundle must be a referenced JAR file.
 Boolean isStart()
          Return true if the bundle must be started, false otherwise.
 Boolean isStartTransient()
          Return true if the bundle start operation is transient.
 void setReference(Boolean reference)
          Set if the bundle must be a referenced JAR file.
 void setStart(Boolean start)
          Set if the bundle must be started or not.
 void setStartLevel(Integer startLevel)
          Set the bundle start level.
 void setStartTransient(Boolean startTransient)
          Set if the bundle start operation is transient.
 
Methods inherited from interface org.ow2.util.ee.deploy.api.deployable.IDeployable
addExtension, getArchive, getExtension, getModuleName, getOriginalDeployable, getShortName, getUnpackedDeployable, setOriginalDeployable, setUnpackedDeployable
 

Method Detail

setStart

void setStart(Boolean start)
Set if the bundle must be started or not.

Parameters:
start - The value to set

isStart

Boolean isStart()
Return true if the bundle must be started, false otherwise.

Returns:
True if the bundle must be started, false otherwise

setReference

void setReference(Boolean reference)
Set if the bundle must be a referenced JAR file.

Parameters:
reference - The value to set

isReference

Boolean isReference()
Return true if the bundle must be a referenced JAR file.

Returns:
True if the bundle must be a referenced JAR file

setStartLevel

void setStartLevel(Integer startLevel)
Set the bundle start level.

Parameters:
startLevel - The value to set

getStartLevel

Integer getStartLevel()
Return the bundle start level value.

Returns:
The bundle start level value

setStartTransient

void setStartTransient(Boolean startTransient)
Set if the bundle start operation is transient. If true, the persistent autostart setting of the bundle is not modified.

Parameters:
startTransient - The value to set

isStartTransient

Boolean isStartTransient()
Return true if the bundle start operation is transient.

Returns:
True if the bundle start operation is transient


Copyright © 2007-2012 OW2 Consortium. All Rights Reserved.