@Name(value="appNameFactory") @Scope(value=STATELESS) @Install(precedence=10) public class NuxeoProductNameFactory extends Object implements Serializable
| 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 NuxeoProductNameFactory()
@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 © 2019 Nuxeo. All rights reserved.