|
||||||||||
| 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,
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 |
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 |
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 InvalidAttributeException
attrs -
InvalidAttributeException
public ExportedBundleImpl(Map<String,String> attributes,
ImportedBundle fragHost)
attributes - attributes describing the bundlefragHost - may be null if this bundle is not a fragment| Method Detail |
|---|
public Map<String,Object> getAttributes()
getAttributes in interface Providerpublic String toString()
toString in class Objectpublic ImportedBundle getFragmentHost()
getFragmentHost in interface ExportedBundlepublic boolean isFragment()
isFragment in interface ExportedBundlepublic final ResourceType getType()
getType in interface Providerpublic String getSymbolicName()
getSymbolicName in interface ExportedBundlepublic String getVersion()
getVersion in interface ExportedBundlepublic String toDeploymentString()
toDeploymentString in interface DeploymentMFElement
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||