org.apache.felix.deploymentadmin
Class ResourceInfoImpl

java.lang.Object
  extended by org.apache.felix.deploymentadmin.AbstractInfo
      extended by org.apache.felix.deploymentadmin.ResourceInfoImpl

public class ResourceInfoImpl
extends AbstractInfo

This class represents the meta data of a processed resource as used by the Deployment Admin.


Constructor Summary
ResourceInfoImpl(String path, Attributes attributes)
          Create an instance of this class.
 
Method Summary
 String getResourceProcessor()
          Determines the resource processor for this processed resource.
 
Methods inherited from class org.apache.felix.deploymentadmin.AbstractInfo
getHeader, getPath, isMissing, parseBooleanHeader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceInfoImpl

public ResourceInfoImpl(String path,
                        Attributes attributes)
                 throws DeploymentException
Create an instance of this class.

Parameters:
path - String containing the path / resource-id of the processed resource.
attributes - Attributes containing the meta data of the resource.
Throws:
DeploymentException - If the specified attributes do not describe a processed resource.
Method Detail

getResourceProcessor

public String getResourceProcessor()
Determines the resource processor for this processed resource.

Returns:
String containing the PID of the resource processor that should handle this processed resource.


Copyright © 2011 Apache Software Foundation. All Rights Reserved.