Java EE 5 SDK

com.sun.appserv.management.config
Interface JavaConfig

All Superinterfaces:
AMX, AMXConfig, AMXMBeanLogging, ConfigElement, Container, NotificationBroadcaster, NotificationEmitter, PropertiesAccess

public interface JavaConfig
extends ConfigElement, PropertiesAccess, Container

Configuration for the <java-config> element.


Field Summary
static String J2EE_TYPE
          The j2eeType as returned by AMX.getJ2EEType().
 
Fields inherited from interface com.sun.appserv.management.config.AMXConfig
CONFIG_CREATED_NOTIFICATION_TYPE, CONFIG_OBJECT_NAME_KEY, CONFIG_REMOVED_NOTIFICATION_TYPE
 
Fields inherited from interface com.sun.appserv.management.base.AMX
FULL_TYPE_DELIM, GROUP_CONFIGURATION, GROUP_JSR77, GROUP_MONITORING, GROUP_OTHER, GROUP_UTILITY, J2EE_TYPE_KEY, JMX_DOMAIN, NAME_KEY, NO_NAME, NOTIFICATION_PREFIX, NULL_NAME
 
Fields inherited from interface com.sun.appserv.management.config.PropertiesAccess
PROPERTY_PREFIX
 
Fields inherited from interface com.sun.appserv.management.base.Container
ATTR_CONTAINEE_J2EE_TYPES
 
Method Summary
 ProfilerConfig createProfilerConfig(String name, Map<String,String> optional)
          Creates a profiler element.
 String getBytecodePreprocessors()
           
 String getClasspathPrefix()
           
 String getClasspathSuffix()
           
 boolean getDebugEnabled()
           
 String getDebugOptions()
           
 boolean getEnvClasspathIgnored()
           
 String getJavacOptions()
           
 String getJavaHome()
           
 String[] getJVMOptions()
           
 String getNativeLibraryPathPrefix()
           
 String getNativeLibraryPathSuffix()
           
 ProfilerConfig getProfilerConfig()
          Get the ProfilerConfig MBean.
 String getRMICOptions()
           
 String getServerClasspath()
           
 String getSystemClasspath()
           
 void removeProfilerConfig()
          Removes profiler element.
 void setBytecodePreprocessors(String value)
           
 void setClasspathPrefix(String value)
           
 void setClasspathSuffix(String value)
           
 void setDebugEnabled(boolean value)
           
 void setDebugOptions(String value)
           
 void setEnvClasspathIgnored(boolean value)
           
 void setJavacOptions(String value)
           
 void setJavaHome(String value)
           
 void setJVMOptions(String[] value)
          Overwrites existing jvm options with the new options.
 void setNativeLibraryPathPrefix(String value)
           
 void setNativeLibraryPathSuffix(String value)
           
 void setRMICOptions(String value)
           
 void setServerClasspath(String value)
           
 void setSystemClasspath(String classpath)
           
 
Methods inherited from interface com.sun.appserv.management.base.AMX
getContainer, getDomainRoot, getFullType, getGroup, getJ2EEType, getName, isDAS
 
Methods inherited from interface javax.management.NotificationEmitter
removeNotificationListener
 
Methods inherited from interface javax.management.NotificationBroadcaster
addNotificationListener, getNotificationInfo, removeNotificationListener
 
Methods inherited from interface com.sun.appserv.management.base.AMXMBeanLogging
getMBeanLoggerName, getMBeanLogLevel, setMBeanLogLevel
 
Methods inherited from interface com.sun.appserv.management.config.PropertiesAccess
createProperty, existsProperty, getProperties, getPropertyNames, getPropertyValue, removeProperty, setPropertyValue
 
Methods inherited from interface com.sun.appserv.management.base.Container
getByNameContaineeSet, getContainee, getContainee, getContaineeJ2EETypes, getContaineeMap, getContaineeSet, getContaineeSet, getContaineeSet, getMultiContaineeMap
 

Field Detail

J2EE_TYPE

static final String J2EE_TYPE
The j2eeType as returned by AMX.getJ2EEType().

See Also:
Constant Field Values
Method Detail

getBytecodePreprocessors

String getBytecodePreprocessors()

setBytecodePreprocessors

void setBytecodePreprocessors(String value)

getClasspathPrefix

String getClasspathPrefix()

setClasspathPrefix

void setClasspathPrefix(String value)

getClasspathSuffix

String getClasspathSuffix()

setClasspathSuffix

void setClasspathSuffix(String value)

getDebugEnabled

boolean getDebugEnabled()

setDebugEnabled

void setDebugEnabled(boolean value)

getDebugOptions

String getDebugOptions()

setDebugOptions

void setDebugOptions(String value)

getEnvClasspathIgnored

boolean getEnvClasspathIgnored()

setEnvClasspathIgnored

void setEnvClasspathIgnored(boolean value)

getJavaHome

String getJavaHome()

setJavaHome

void setJavaHome(String value)

getJavacOptions

String getJavacOptions()

setJavacOptions

void setJavacOptions(String value)

getSystemClasspath

String getSystemClasspath()
Since:
AppServer 9.0

setSystemClasspath

void setSystemClasspath(String classpath)
Since:
AppServer 9.0

getJVMOptions

String[] getJVMOptions()

setJVMOptions

void setJVMOptions(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"


getNativeLibraryPathPrefix

String getNativeLibraryPathPrefix()

setNativeLibraryPathPrefix

void setNativeLibraryPathPrefix(String value)

getNativeLibraryPathSuffix

String getNativeLibraryPathSuffix()

setNativeLibraryPathSuffix

void setNativeLibraryPathSuffix(String value)

getRMICOptions

String getRMICOptions()

setRMICOptions

void setRMICOptions(String value)

getServerClasspath

String getServerClasspath()

setServerClasspath

void setServerClasspath(String value)

getProfilerConfig

ProfilerConfig getProfilerConfig()
Get the ProfilerConfig MBean.


createProfilerConfig

ProfilerConfig createProfilerConfig(String name,
                                    Map<String,String> optional)
Creates a profiler element. Although a name is specified, only one profiler may exist.

Parameters:
name - identifier
optional - Map of optional attributes. See ProfilerConfigKeys
Returns:
A proxy to the ProfilerConfig MBean.

removeProfilerConfig

void removeProfilerConfig()
Removes profiler element.


Java EE 5 SDK

Submit a bug or feature

Copyright 2006 Sun Microsystems, Inc. All rights reserved.