|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.osgi.spi.util.AttachmentSupport
org.jboss.osgi.deployment.internal.DeploymentImpl
public class DeploymentImpl
An abstraction of a bundle deployment
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.jboss.osgi.spi.Attachments |
|---|
org.jboss.osgi.spi.Attachments.Key |
| Constructor Summary | |
|---|---|
DeploymentImpl(org.jboss.osgi.vfs.VirtualFile rootFile,
String location,
String symbolicName,
org.osgi.framework.Version version)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
String |
getLocation()
Get the bundle location |
String |
getManifestHeader(String key)
Get the manifest header for the given key. |
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 |
int |
hashCode()
|
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 |
String |
toString()
|
| Methods inherited from class org.jboss.osgi.spi.util.AttachmentSupport |
|---|
addAttachment, addAttachment, addAttachment, getAttachment, getAttachment, getAttachment, getAttachmentKeys, removeAttachment, removeAttachment, removeAttachment |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.jboss.osgi.spi.Attachments |
|---|
addAttachment, addAttachment, addAttachment, getAttachment, getAttachment, getAttachment, getAttachmentKeys, removeAttachment, removeAttachment, removeAttachment |
| Constructor Detail |
|---|
public DeploymentImpl(org.jboss.osgi.vfs.VirtualFile rootFile,
String location,
String symbolicName,
org.osgi.framework.Version version)
| Method Detail |
|---|
public org.jboss.osgi.vfs.VirtualFile getRoot()
Deployment
getRoot in interface Deploymentpublic String getLocation()
Deployment
getLocation in interface Deploymentpublic String getSymbolicName()
Deployment
getSymbolicName in interface Deploymentpublic String getVersion()
Deployment
getVersion in interface Deployment
public String getManifestHeader(String key)
throws IOException
Deployment
getManifestHeader in interface DeploymentIOExceptionpublic Integer getStartLevel()
Deployment
getStartLevel in interface Deploymentpublic void setStartLevel(Integer startLevel)
Deployment
setStartLevel in interface Deploymentpublic boolean isAutoStart()
Deployment
isAutoStart in interface Deploymentpublic void setAutoStart(boolean autoStart)
Deployment
setAutoStart in interface Deploymentpublic boolean isBundleUpdate()
Deployment
isBundleUpdate in interface Deploymentpublic void setBundleUpdate(boolean update)
Deployment
setBundleUpdate in interface Deploymentpublic boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class org.jboss.osgi.spi.util.AttachmentSupport
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||