@Service @Singleton public class DeveloperContentService extends Object implements org.glassfish.hk2.api.PostConstruct
There are two aspects to this combination: merging the JNLP XML data itself and detecting and recording places in the developer-provided JNLP which refer to other resources - JARs, native libraries, other JNLP documents.
The on-disk config file contains property settings for both types of XPath information. This service makes sure that the in-memory data is up-to-date with respect to the on-disk file. The server installation includes the config file in the installations's config directory. But for unusual circumstances, this class looks for the config file first in the domain's config directory and, if it is not there or is there but is not readable, then tries to read the file from the installations's config directory. Note that even if the installation's config is more recent than the domain's config this class will always prefer the domain's config file if it exists and is readable.
| Constructor and Description |
|---|
DeveloperContentService() |
| Modifier and Type | Method and Description |
|---|---|
void |
postConstruct() |
Copyright © 2017. All rights reserved.