Package com.sun.enterprise.universal.xml
Class MiniXmlParser
java.lang.Object
com.sun.enterprise.universal.xml.MiniXmlParser
A fairly simple but very specific stax XML Parser. Give it the location of domain.xml and the name of the server
instance and it will return JVM options. Currently it is all package private.
- Author:
- bnevins
-
Constructor Summary
ConstructorsConstructorDescriptionMiniXmlParser(File domainXml) MiniXmlParser(File domainXml, String serverName) -
Method Summary
Modifier and TypeMethodDescriptionloggingConfig will return an IOException if there is no logging properties file.booleanbooleanbooleanbooleanvoidsetupConfigDir(File configDir, File installDir)
-
Constructor Details
-
MiniXmlParser
- Throws:
MiniXmlParserException
-
MiniXmlParser
- Throws:
MiniXmlParserException
-
-
Method Details
-
getJavaConfig
- Throws:
MiniXmlParserException
-
getJvmOptions
- Throws:
MiniXmlParserException
-
getProfilerConfig
- Throws:
MiniXmlParserException
-
getProfilerJvmOptions
- Throws:
MiniXmlParserException
-
getProfilerSystemProperties
- Throws:
MiniXmlParserException
-
getSystemProperties
- Throws:
MiniXmlParserException
-
getDomainName
-
getAdminAddresses
-
setupConfigDir
-
getSecureAdminEnabled
public boolean getSecureAdminEnabled() -
getLogFilename
loggingConfig will return an IOException if there is no logging properties file.- Returns:
- the log filename if available, otherwise return null
-
isMonitoringEnabled
public boolean isMonitoringEnabled() -
hasNetworkConfig
public boolean hasNetworkConfig() -
hasDefaultConfig
public boolean hasDefaultConfig() -
getAdminRealmName
-
getAdminRealmProperties
-