org.jboss.osgi.spi.util
Class BundleDeployment

java.lang.Object
  extended by org.jboss.osgi.spi.util.BundleDeployment
All Implemented Interfaces:
java.io.Serializable

public class BundleDeployment
extends java.lang.Object
implements java.io.Serializable

An abstraction of a bundle deployment

Since:
27-May-2009
Author:
thomas.diesler@jboss.com
See Also:
Serialized Form

Constructor Summary
BundleDeployment(java.net.URL location, java.lang.String symbolicName, java.lang.String version)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.net.URL getLocation()
          Get the bundle location
 java.lang.Object getMetadata()
          Get extra meta data associated with this deployment
 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
 int hashCode()
           
 boolean isAutoStart()
          Get the autostart flag associated with this deployment
 void setAutoStart(boolean autoStart)
          Set the autostart flag associated with this deployment
 void setMetadata(java.lang.Object metadata)
          Set extra meta data associated with this deployment
 void setStartLevel(int startLevel)
          Set the start level associated with this deployment
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BundleDeployment

public BundleDeployment(java.net.URL location,
                        java.lang.String symbolicName,
                        java.lang.String version)
Method Detail

getLocation

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


getSymbolicName

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


getVersion

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


getStartLevel

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


setStartLevel

public void setStartLevel(int startLevel)
Set the start level associated with this deployment


isAutoStart

public boolean isAutoStart()
Get the autostart flag associated with this deployment


setAutoStart

public void setAutoStart(boolean autoStart)
Set the autostart flag associated with this deployment


getMetadata

public java.lang.Object getMetadata()
Get extra meta data associated with this deployment


setMetadata

public void setMetadata(java.lang.Object metadata)
Set extra meta data associated with this deployment


equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2009. All Rights Reserved.