org.jboss.osgi.deployment.deployer
Interface Deployment

All Superinterfaces:
org.jboss.osgi.spi.Attachments
All Known Implementing Classes:
AbstractDeployment, NullFileDeployment, VirtualFileDeployment

public interface Deployment
extends org.jboss.osgi.spi.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
org.jboss.osgi.spi.Attachments.Key
 
Method Summary
 String getLocation()
          Get the bundle location
 org.jboss.osgi.vfs.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 Consider making Version serializable https://www.osgi.org/members/bugzilla/show_bug.cgi?id=1744
 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

org.jboss.osgi.vfs.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 Consider making Version serializable https://www.osgi.org/members/bugzilla/show_bug.cgi?id=1744


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 © 2012. All Rights Reserved.