|
||||||||||
| 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.AbstractDeployment
public abstract class AbstractDeployment
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 | |
|---|---|
AbstractDeployment(String location,
String symbolicName,
org.osgi.framework.Version version)
|
|
| Method Summary | |
|---|---|
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()
|
| 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.deployment.deployer.Deployment |
|---|
getRoot |
| Methods inherited from interface org.jboss.osgi.spi.Attachments |
|---|
addAttachment, addAttachment, addAttachment, getAttachment, getAttachment, getAttachment, getAttachmentKeys, removeAttachment, removeAttachment, removeAttachment |
| Constructor Detail |
|---|
public AbstractDeployment(String location,
String symbolicName,
org.osgi.framework.Version version)
| Method Detail |
|---|
public String getLocation()
Deployment
getLocation in interface Deploymentpublic String getSymbolicName()
Deployment
getSymbolicName in interface Deploymentpublic String getVersion()
Deployment
getVersion in interface Deploymentpublic 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 | |||||||||