org.rhq.plugins.jbossas5.util
Class JarContentDelegate

java.lang.Object
  extended by org.rhq.plugins.jbossas5.util.FileContentDelegate
      extended by org.rhq.plugins.jbossas5.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 java.lang.String MIME_TYPE_JAR
           
 
Fields inherited from class org.rhq.plugins.jbossas5.util.FileContentDelegate
directory
 
Constructor Summary
JarContentDelegate(java.io.File directory, java.lang.String typeName)
           
 
Method Summary
 java.util.Set<ResourcePackageDetails> discoverDeployedPackages()
           
 
Methods inherited from class org.rhq.plugins.jbossas5.util.FileContentDelegate
createContent, deleteContent, getContent, getDirectory, getFileEnding, getPackageTypeName, getPath
 
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 java.lang.String MIME_TYPE_JAR
See Also:
Constant Field Values
Constructor Detail

JarContentDelegate

public JarContentDelegate(java.io.File directory,
                          java.lang.String typeName)
Method Detail

discoverDeployedPackages

public java.util.Set<ResourcePackageDetails> discoverDeployedPackages()
Overrides:
discoverDeployedPackages in class FileContentDelegate


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