net.sourceforge.osgi.deployment.maven.container
Class ProcessedResource

java.lang.Object
  extended by net.sourceforge.osgi.deployment.maven.container.ProcessedResource
All Implemented Interfaces:
IResource

public class ProcessedResource
extends java.lang.Object
implements 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

Constructor Summary
ProcessedResource()
          A constructor which initializes an instance of a ProcessedResource.
 
Method Summary
 java.lang.String getFilePath()
           
 java.lang.String getProcessor()
           
 java.lang.String getResourceId()
          The resourceId of the resource specifies the path and the name of the resource.
 java.lang.String getTargetPath()
           
 void setFilePath(java.lang.String p_filePath)
           
 void setProcessor(java.lang.String p_processor)
           
 void setTargetPath(java.lang.String p_targetPath)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProcessedResource

public ProcessedResource()
A constructor which initializes an instance of a ProcessedResource.

Method Detail

getFilePath

public final java.lang.String getFilePath()
Returns:
the file

setFilePath

public final void setFilePath(java.lang.String p_filePath)
Parameters:
p_filePath - the file to set

getTargetPath

public final java.lang.String getTargetPath()
Returns:
the targetPath

setTargetPath

public final void setTargetPath(java.lang.String p_targetPath)
Parameters:
p_targetPath - the targetPath to set

getProcessor

public final java.lang.String getProcessor()
Returns:
the processor

setProcessor

public final void setProcessor(java.lang.String p_processor)
Parameters:
p_processor - the processor to set

getResourceId

public final java.lang.String getResourceId()
Description copied from interface: IResource
The resourceId of the resource specifies the path and the name of the resource. Implementations can directly return the resourceId or compute it.

Specified by:
getResourceId in interface IResource
Returns:
the path and the name of the resource
See Also:
IResource.getResourceId()


Copyright © 2008 Humboldt University Berlin. All Rights Reserved.