@Service @Singleton public final class ConfigBeansUtilities extends Object
| Constructor and Description |
|---|
ConfigBeansUtilities(Applications paramApps,
Domain paramDomain) |
| Modifier and Type | Method and Description |
|---|---|
List<Application> |
getAllDefinedSystemApplications() |
ApplicationRef |
getApplicationRefInServer(String sn,
String name) |
List<ApplicationRef> |
getApplicationRefsInServer(String sn)
Lists the app refs for non-system apps assigned to the specified server
|
List<ApplicationRef> |
getApplicationRefsInServer(String sn,
boolean excludeSystemApps)
Lists the app refs for apps assigned to the specified server, excluding
system apps from the result if requested.
|
String |
getContextRoot(String moduleID) |
static String |
getDefaultFormat()
Get the default value of Format from dtd
|
static String |
getDefaultQueueSizeInBytes()
Get the default value of QueueSizeInBytes from dtd
|
static String |
getDefaultRotationEnabled()
Get the default value of RotationEnabled from dtd
|
static String |
getDefaultRotationIntervalInMinutes()
Get the default value of RotationIntervalInMinutes from dtd
|
static String |
getDefaultRotationPolicy()
Get the default value of RotationPolicy from dtd
|
String |
getDirectoryDeployed(String moduleID) |
Domain |
getDomain() |
String |
getEnabled(String sn,
String moduleID) |
String |
getLibraries(String moduleID) |
String |
getLocation(String moduleID) |
org.glassfish.api.admin.config.ApplicationName |
getModule(String moduleID) |
Server |
getServerNamed(String name) |
List<Server> |
getServers() |
Application |
getSystemApplicationReferencedFrom(String sn,
String appName) |
List<Application> |
getSystemApplicationsReferencedFrom(String sn)
Returns the list of system-applications that are referenced from the given server.
|
String |
getVirtualServers(String sn,
String moduleID) |
boolean |
isNamedSystemApplicationReferencedFrom(String appName,
String serverName) |
static String |
join(Iterable<String> list,
String delimiter) |
static boolean |
toBoolean(String value)
This method is used to convert a string value to boolean.
|
static String |
toString(Throwable t) |
@Inject public ConfigBeansUtilities(Applications paramApps, Domain paramDomain)
public static String getDefaultFormat()
public static String getDefaultRotationPolicy()
public static String getDefaultRotationEnabled()
public static String getDefaultRotationIntervalInMinutes()
public static String getDefaultQueueSizeInBytes()
public static boolean toBoolean(String value)
public List<Application> getSystemApplicationsReferencedFrom(String sn)
sn - the string denoting name of the serverpublic Application getSystemApplicationReferencedFrom(String sn, String appName)
public boolean isNamedSystemApplicationReferencedFrom(String appName, String serverName)
public List<Application> getAllDefinedSystemApplications()
public List<ApplicationRef> getApplicationRefsInServer(String sn)
sn - server namepublic List<ApplicationRef> getApplicationRefsInServer(String sn, boolean excludeSystemApps)
sn - server name to checkexcludeSystemApps - whether system apps should be excludedpublic ApplicationRef getApplicationRefInServer(String sn, String name)
public org.glassfish.api.admin.config.ApplicationName getModule(String moduleID)
public Domain getDomain()
Copyright © 2017–2020 Eclipse Foundation. All rights reserved.