|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AriesApplicationResolver
An AriesApplicationResolver
is a service used by the AriesApplicationManager
when one of the
createApplication
methods are called. It is used to "deploy" the application. The "deploy" process
generates an Aries Deployment manifest
Method Summary | |
---|---|
BundleInfo |
getBundleInfo(String bundleSymbolicName,
Version bundleVersion)
Return the info for the requested bundle. |
Set<BundleInfo> |
resolve(AriesApplication app,
ResolveConstraint... constraints)
Deprecated. |
Collection<ModelledResource> |
resolve(String appName,
String appVersion,
Collection<ModelledResource> byValueBundles,
Collection<Content> inputs)
Resolve an AriesApplication. |
Collection<ModelledResource> |
resolve(String appName,
String appVersion,
Collection<ModelledResource> byValueBundles,
Collection<Content> inputs,
PlatformRepository platformRepository)
Resolve an AriesApplication against a given platform repository. |
Method Detail |
---|
@Deprecated Set<BundleInfo> resolve(AriesApplication app, ResolveConstraint... constraints) throws ResolverException
AriesApplication
's the application's content. This is performed
using the AriesApplication.getApplicationMetadata()
method following by calling
ApplicationMetadata.getApplicationContents()
.
AriesApplication.getBundleInfo()
.
app
- The application to resolve
ResolverException
- if the application cannot be resolved.BundleInfo getBundleInfo(String bundleSymbolicName, Version bundleVersion)
If no matching bundle exists in the resolver runtime then null is returned.
bundleSymbolicName
- the bundle symbolic name.bundleVersion
- the version of the bundle
Collection<ModelledResource> resolve(String appName, String appVersion, Collection<ModelledResource> byValueBundles, Collection<Content> inputs) throws ResolverException
appName
- Application nameappVersion
- application versionbyValueBundles
- by value bundlesinputs
- bundle requirement
ResolverException
Collection<ModelledResource> resolve(String appName, String appVersion, Collection<ModelledResource> byValueBundles, Collection<Content> inputs, PlatformRepository platformRepository) throws ResolverException
appName
- Application nameappVersion
- application versionbyValueBundles
- by value bundlesinputs
- bundle requirementplatformRepository
- a platform repository to resolve against instead of the default
ResolverException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |