org.jboss.osgi.deployment.deployer
Interface Deployment

All Superinterfaces:
org.jboss.osgi.spi.Attachments

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.net.URL getLocation()
          Get the bundle location
 java.lang.String getManifestHeader(java.lang.String key)
          Get the manifest header for the given key.
 org.jboss.virtual.VirtualFile getRoot()
          Get the root virtual file
 int 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
 boolean isAutoStart()
          Get the autostart flag associated with this deployment
 void setAutoStart(boolean autoStart)
          Set the autostart flag associated with this deployment
 void setStartLevel(int 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.virtual.VirtualFile getRoot()
Get the root virtual file


getLocation

java.net.URL getLocation()
Get the bundle location


getSymbolicName

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


getVersion

java.lang.String getVersion()
Get the bundle version


getManifestHeader

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


getStartLevel

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


setStartLevel

void setStartLevel(int 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



Copyright © 2009. All Rights Reserved.