|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.enterprise.config.serverbeans.ConfigBeansUtilities
@Service public final class ConfigBeansUtilities
Bunch of utility methods for the new serverbeans config api based on jaxb
| Constructor Summary | |
|---|---|
ConfigBeansUtilities()
|
|
| Method Summary | |
|---|---|
static List<Application> |
getAllDefinedSystemApplications()
|
static ApplicationRef |
getApplicationRefInServer(String sn,
String name)
|
static List<ApplicationRef> |
getApplicationRefsInServer(String sn)
Lists the app refs for non-system apps assigned to the specified server |
static 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. |
static 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 |
static String |
getDirectoryDeployed(String moduleID)
|
static Domain |
getDomain()
|
static String |
getEnabled(String sn,
String moduleID)
|
static String |
getLibraries(String moduleID)
|
static String |
getLocation(String moduleID)
|
static ApplicationName |
getModule(String moduleID)
|
static Server |
getServerNamed(String name)
|
static List<Server> |
getServers()
|
static Application |
getSystemApplicationReferencedFrom(String sn,
String appName)
|
static List<Application> |
getSystemApplicationsReferencedFrom(String sn)
Returns the list of system-applications that are referenced from the given server. |
static String |
getVirtualServers(String sn,
String moduleID)
|
static 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)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConfigBeansUtilities()
| Method Detail |
|---|
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 static List<Application> getSystemApplicationsReferencedFrom(String sn)
sn - the string denoting name of the server
public static Application getSystemApplicationReferencedFrom(String sn,
String appName)
public static boolean isNamedSystemApplicationReferencedFrom(String appName,
String serverName)
public static List<Server> getServers()
public static Server getServerNamed(String name)
public static List<Application> getAllDefinedSystemApplications()
public static List<ApplicationRef> getApplicationRefsInServer(String sn)
sn - server name
public static List<ApplicationRef> getApplicationRefsInServer(String sn,
boolean excludeSystemApps)
sn - server name to checkexcludeSystemApps - whether system apps should be excluded
public static ApplicationRef getApplicationRefInServer(String sn,
String name)
public static ApplicationName getModule(String moduleID)
public static String getEnabled(String sn,
String moduleID)
public static String getVirtualServers(String sn,
String moduleID)
public static String getContextRoot(String moduleID)
public static String getLibraries(String moduleID)
public static String getLocation(String moduleID)
public static String getDirectoryDeployed(String moduleID)
public static String join(Iterable<String> list,
String delimiter)
public static String toString(Throwable t)
public static Domain getDomain()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||