FileDocCategorySizeDatePackage
JavaConfig.javaAPI DocGlassfish v2 API4944Fri May 04 22:30:34 BST 2007com.sun.appserv.management.config

JavaConfig

public interface JavaConfig implements com.sun.appserv.management.base.Container, ConfigElement, PropertiesAccess
Configuration for the <java-config> element.

Fields Summary
public static final String
J2EE_TYPE
The j2eeType as returned by {@link com.sun.appserv.management.base.AMX#getJ2EEType}.
Constructors Summary
Methods Summary
public ProfilerConfigcreateProfilerConfig(java.lang.String name, java.util.Map optional)
Creates a profiler element. Although a name is specified, only one profiler may exist.

param
name identifier
param
optional Map of optional attributes. See {@link ProfilerConfigKeys}
return
A proxy to the ProfilerConfig MBean.

public java.lang.StringgetBytecodePreprocessors()

public java.lang.StringgetClasspathPrefix()

public java.lang.StringgetClasspathSuffix()

public booleangetDebugEnabled()

public java.lang.StringgetDebugOptions()

public booleangetEnvClasspathIgnored()

public java.lang.String[]getJVMOptions()

public java.lang.StringgetJavaHome()

public java.lang.StringgetJavacOptions()

public java.lang.StringgetNativeLibraryPathPrefix()

public java.lang.StringgetNativeLibraryPathSuffix()

public ProfilerConfiggetProfilerConfig()
Get the ProfilerConfig MBean.

public java.lang.StringgetRMICOptions()

public java.lang.StringgetServerClasspath()

public java.lang.StringgetSystemClasspath()

since
AppServer 9.0

public voidremoveProfilerConfig()
Removes profiler element.

public voidsetBytecodePreprocessors(java.lang.String value)

public voidsetClasspathPrefix(java.lang.String value)

public voidsetClasspathSuffix(java.lang.String value)

public voidsetDebugEnabled(boolean value)

public voidsetDebugOptions(java.lang.String value)

public voidsetEnvClasspathIgnored(boolean value)

public voidsetJVMOptions(java.lang.String[] value)
Overwrites existing jvm options with the new options. If the intent is to append the new options the caller needs to first get the existing jvm options using #getJVMOptions, append new options and set the resulting whole using this method.

If a JVM option contains a space or tab, you must enclose it in quotes eg "C:Program Files\dir"

public voidsetJavaHome(java.lang.String value)

public voidsetJavacOptions(java.lang.String value)

public voidsetNativeLibraryPathPrefix(java.lang.String value)

public voidsetNativeLibraryPathSuffix(java.lang.String value)

public voidsetRMICOptions(java.lang.String value)

public voidsetServerClasspath(java.lang.String value)

public voidsetSystemClasspath(java.lang.String classpath)

since
AppServer 9.0