org.rhq.plugins.jbossas.util
Class JarContentDelegate

java.lang.Object
  extended by org.rhq.plugins.jbossas.util.FileContentDelegate
      extended by org.rhq.plugins.jbossas.util.JarContentDelegate

public class JarContentDelegate
extends FileContentDelegate

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

Author:
Greg Hinkle

Field Summary
static String MIME_TYPE_JAR
           
 
Fields inherited from class org.rhq.plugins.jbossas.util.FileContentDelegate
directory
 
Constructor Summary
JarContentDelegate(File directory, String typeName)
           
 
Method Summary
 Set<org.rhq.core.domain.content.transfer.ResourcePackageDetails> discoverDeployedPackages()
           
 
Methods inherited from class org.rhq.plugins.jbossas.util.FileContentDelegate
createContent, deleteContent, getContent, getDirectory, getFileEnding, getPackageTypeName, getPath, getSHA
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MIME_TYPE_JAR

public static final String MIME_TYPE_JAR
See Also:
Constant Field Values
Constructor Detail

JarContentDelegate

public JarContentDelegate(File directory,
                          String typeName)
Method Detail

discoverDeployedPackages

public Set<org.rhq.core.domain.content.transfer.ResourcePackageDetails> discoverDeployedPackages()
Overrides:
discoverDeployedPackages in class FileContentDelegate


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