org.rhq.core.pluginapi.content
Class JarContentDelegate

java.lang.Object
  extended by org.rhq.core.pluginapi.content.FileContentDelegate
      extended by org.rhq.core.pluginapi.content.JarContentDelegate

public class JarContentDelegate
extends FileContentDelegate

Discovers Jar files as artifacts including loading their manifest version into the artifact config.


Constructor Summary
JarContentDelegate(File directory, String packageTypeName)
           
 
Method Summary
 Set<ResourcePackageDetails> discoverDeployedPackages()
          This is a stub implementation, you need to implement a discovery for artifacts of your particular content type.
 String getPackageTypeName()
           
 
Methods inherited from class org.rhq.core.pluginapi.content.FileContentDelegate
createContent, deleteContent, getContent, getDirectory, getFileEnding, retrieveDeploymentSHA, saveDeploymentSHA, saveDeploymentSHA
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JarContentDelegate

public JarContentDelegate(File directory,
                          String packageTypeName)
Method Detail

getPackageTypeName

public String getPackageTypeName()

discoverDeployedPackages

public Set<ResourcePackageDetails> discoverDeployedPackages()
Description copied from class: FileContentDelegate
This is a stub implementation, you need to implement a discovery for artifacts of your particular content type.

Overrides:
discoverDeployedPackages in class FileContentDelegate
Returns:


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.