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
 java.lang.String getLocation()
          Get the bundle location
 org.jboss.osgi.vfs.VirtualFile getRoot()
          Get the root virtual file
 java.lang.Integer getStartLevel()
          Get the start level associated with this deployment
 java.lang.String getSymbolicName()
          Get the bundle symbolic name
 java.lang.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(java.lang.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

java.lang.String getLocation()
Get the bundle location


getSymbolicName

java.lang.String getSymbolicName()
Get the bundle symbolic name


getVersion

java.lang.String getVersion()
Get the bundle version Consider making Version serializable https://www.osgi.org/members/bugzilla/show_bug.cgi?id=1744


getStartLevel

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


setStartLevel

void setStartLevel(java.lang.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. All Rights Reserved.