|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.aries.application.modelling.impl.ExportedBundleImpl
public class ExportedBundleImpl
An exported bundle: one that I have and make available.
Constructor Summary | |
---|---|
ExportedBundleImpl(Attributes attrs)
Construct an ExportedBundleImpl from a processed Manifest |
|
ExportedBundleImpl(Map<String,String> attributes,
org.apache.aries.application.modelling.ImportedBundle fragHost)
Construct a bundle from attributes and a fragment host |
Method Summary | |
---|---|
Map<String,Object> |
getAttributes()
Get the exported bundle or composite's manifest attributes |
org.apache.aries.application.modelling.ImportedBundle |
getFragmentHost()
If this bundle is a fragment, this method will return the bundle to which it attaches |
String |
getSymbolicName()
Get the bundle's symbolic name |
org.apache.aries.application.modelling.ResourceType |
getType()
This is always BUNDLE, even for composites. |
String |
getVersion()
Get the bundle or composite's version |
boolean |
isFragment()
Return true if this is a fragment |
String |
toDeploymentString()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ExportedBundleImpl(Attributes attrs) throws org.apache.aries.application.InvalidAttributeException
attrs
-
org.apache.aries.application.InvalidAttributeException
public ExportedBundleImpl(Map<String,String> attributes, org.apache.aries.application.modelling.ImportedBundle fragHost)
attributes
- attributes describing the bundlefragHost
- may be null if this bundle is not a fragmentMethod Detail |
---|
public Map<String,Object> getAttributes()
getAttributes
in interface org.apache.aries.application.modelling.Provider
public String toString()
toString
in class Object
public org.apache.aries.application.modelling.ImportedBundle getFragmentHost()
getFragmentHost
in interface org.apache.aries.application.modelling.ExportedBundle
public boolean isFragment()
isFragment
in interface org.apache.aries.application.modelling.ExportedBundle
public final org.apache.aries.application.modelling.ResourceType getType()
getType
in interface org.apache.aries.application.modelling.Provider
public String getSymbolicName()
getSymbolicName
in interface org.apache.aries.application.modelling.ExportedBundle
public String getVersion()
getVersion
in interface org.apache.aries.application.modelling.ExportedBundle
public String toDeploymentString()
toDeploymentString
in interface org.apache.aries.application.modelling.DeploymentMFElement
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |