@Name(value="appNameFactory") @Scope(value=STATELESS) @Install(precedence=10) public class NuxeoProductNameFactory extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static String |
PNAME_KEY |
static String |
PVERSION_KEY |
Constructor and Description |
---|
NuxeoProductNameFactory() |
Modifier and Type | Method and Description |
---|---|
String |
getCurrentYearAsString()
Gives current year used in copyright (in case this needs to be extracted from a configuration in the future).
|
String |
getNuxeoProductName() |
String |
getNuxeoProductVersion() |
public static String PNAME_KEY
public static String PVERSION_KEY
@Factory(value="nuxeoApplicationName", scope=APPLICATION) public String getNuxeoProductName()
@Factory(value="nuxeoApplicationVersion", scope=APPLICATION) public String getNuxeoProductVersion()
@Factory(value="copyrightCurrentYear", scope=APPLICATION) public String getCurrentYearAsString()
Copyright © 2015 Nuxeo SA. All rights reserved.