net.sourceforge.osgi.deployment.maven
Interface IResource

All Known Implementing Classes:
BundleResource, ProcessedResource

public interface IResource

From the Deployment Admin Specification:

A Deployment Package consists of installable resources. Resources are described in the Name sections of the Manifest. They are stored in the JAR file under a path. This path is called the resource id. Subsets of these resources are the bundles. Bundles are treated differently from the other resources by the Deployment Admin service. Non-bundle resources are called processed resources.

Author:
Siamak Haschemi, haschemi@informatik.hu-berlin.de

Method Summary
 java.lang.String getResourceId()
          The resourceId of the resource specifies the path and the name of the resource.
 

Method Detail

getResourceId

java.lang.String getResourceId()
The resourceId of the resource specifies the path and the name of the resource. Implementations can directly return the resourceId or compute it.

Returns:
the path of the resource


Copyright © 2008 Humboldt University Berlin. All Rights Reserved.