com.liferay.faces.util.product.internal
Class PackageManifest

java.lang.Object
  extended by com.liferay.faces.util.product.internal.PackageManifest

public class PackageManifest
extends Object

This class is designed to work-around a problem with JBoss AS such that the Class#getPackage()#getImplementationVersion() method returns null during WAR application deployment. For more information, see: http://issues.liferay.com/browse/FACES-1296

Author:
Neil Griffin

Constructor Summary
PackageManifest(Class<?> clazz, String expectedImplementationTitle)
           
 
Method Summary
 String getImplementationTitle()
           
 String getImplementationVersion()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PackageManifest

public PackageManifest(Class<?> clazz,
                       String expectedImplementationTitle)
Method Detail

getImplementationTitle

public String getImplementationTitle()

getImplementationVersion

public String getImplementationVersion()


Copyright © 2015 Liferay, Inc.. All rights reserved.