public abstract class AbstractDeployment extends org.jboss.osgi.spi.util.AttachmentSupport implements Deployment, Serializable
Constructor and Description |
---|
AbstractDeployment(String location,
String symbolicName,
org.osgi.framework.Version version) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getLocation()
Get the bundle location
|
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() |
addAttachment, addAttachment, addAttachment, getAttachment, getAttachment, getAttachment, getAttachmentKeys, removeAttachment, removeAttachment, removeAttachment
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getRoot
public String getLocation()
Deployment
getLocation
in interface Deployment
public String getSymbolicName()
Deployment
getSymbolicName
in interface Deployment
public String getVersion()
Deployment
getVersion
in interface Deployment
public Integer getStartLevel()
Deployment
getStartLevel
in interface Deployment
public void setStartLevel(Integer startLevel)
Deployment
setStartLevel
in interface Deployment
public boolean isAutoStart()
Deployment
isAutoStart
in interface Deployment
public void setAutoStart(boolean autoStart)
Deployment
setAutoStart
in interface Deployment
public boolean isBundleUpdate()
Deployment
isBundleUpdate
in interface Deployment
public void setBundleUpdate(boolean update)
Deployment
setBundleUpdate
in interface Deployment
public String toString()
toString
in class org.jboss.osgi.spi.util.AttachmentSupport
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.