org.jboss.osgi.deployment.deployer
Interface Deployment

All Superinterfaces:
Attachments

public interface Deployment
extends Attachments

An abstraction of a bundle deployment

Since:
27-May-2009
Author:
thomas.diesler@jboss.com

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jboss.osgi.spi.Attachments
Attachments.Key
 
Method Summary
 String getLocation()
          Get the bundle location
 String getManifestHeader(String key)
          Get the manifest header for the given key.
 VirtualFile getRoot()
          Get the root virtual file
 Integer getStartLevel()
          Get the start level associated with this deployment
 String getSymbolicName()
          Get the bundle symbolic name
 String getVersion()
          Get the bundle version
 boolean isAutoStart()
          Get the autostart flag associated with this deployment
 boolean isBundleUpdate()
          Get the update flag associated with this deployment
 void setAutoStart(boolean autoStart)
          Set the autostart flag associated with this deployment
 void setBundleUpdate(boolean update)
          Set the update flag associated with this deployment
 void setStartLevel(Integer startLevel)
          Set the start level associated with this deployment
 
Methods inherited from interface org.jboss.osgi.spi.Attachments
addAttachment, addAttachment, addAttachment, getAttachment, getAttachment, getAttachment, getAttachmentKeys, removeAttachment, removeAttachment, removeAttachment
 

Method Detail

getRoot

VirtualFile getRoot()
Get the root virtual file


getLocation

String getLocation()
Get the bundle location


getSymbolicName

String getSymbolicName()
Get the bundle symbolic name


getVersion

String getVersion()
Get the bundle version


getManifestHeader

String getManifestHeader(String key)
Get the manifest header for the given key.


getStartLevel

Integer getStartLevel()
Get the start level associated with this deployment


setStartLevel

void setStartLevel(Integer startLevel)
Set the start level associated with this deployment


isAutoStart

boolean isAutoStart()
Get the autostart flag associated with this deployment


setAutoStart

void setAutoStart(boolean autoStart)
Set the autostart flag associated with this deployment


isBundleUpdate

boolean isBundleUpdate()
Get the update flag associated with this deployment


setBundleUpdate

void setBundleUpdate(boolean update)
Set the update flag associated with this deployment



Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.