Interface Profiler
- All Superinterfaces:
org.jvnet.hk2.config.ConfigBeanProxy,JvmOptionBag,org.jvnet.hk2.config.types.PropertyBag
public interface Profiler
extends org.jvnet.hk2.config.ConfigBeanProxy, org.jvnet.hk2.config.types.PropertyBag, JvmOptionBag
Profilers could be one of
jprobe, optimizeit, hprof, wily
and so on. Jvm-options and property elements are used to record the settings
needed to get a particular profiler going. A server instance is tied to a particular
profiler, by the profiler element in java-config . Changing the profiler
will require a server restart.
The adminstrative graphical interfaces, could list multiple supported profilers
(incomplete at this point) and will populate server.xml appropriately.
-
Method Summary
Modifier and TypeMethodDescriptionGets the value of theclasspathproperty.Gets the value of theenabledproperty.@NotNull @Pattern(regexp="[A-Za-z0-9_][A-Za-z0-9\\-_\\./;#]*",message="Pattern: [A-Za-z0-9_][A-Za-z0-9\\-_\\./;#]*") StringgetName()Gets the value of thenameproperty.Gets the value of thenativeLibraryPathproperty.List<org.jvnet.hk2.config.types.Property>Properties as perPropertyBagvoidsetClasspath(String classpath) Sets the value of theclasspathproperty.voidsetEnabled(String enabled) Sets the value of theenabledproperty.voidSets the value of thenameproperty.voidsetNativeLibraryPath(String nativeLibraryPath) Sets the value of thenativeLibraryPathproperty.Methods inherited from interface org.jvnet.hk2.config.ConfigBeanProxy
createChild, deepCopy, getParent, getParentMethods inherited from interface com.sun.enterprise.config.serverbeans.JvmOptionBag
contains, getJvmOptions, getStartingWith, getXmsMegs, getXmxMegs, setJvmOptionsMethods inherited from interface org.jvnet.hk2.config.types.PropertyBag
addProperty, getProperty, getPropertyValue, getPropertyValue, lookupProperty, removeProperty, removeProperty
-
Method Details
-
getName
@NotNull @Pattern(regexp="[A-Za-z0-9_][A-Za-z0-9\\-_\\./;#]*", message="Pattern: [A-Za-z0-9_][A-Za-z0-9\\-_\\./;#]*") @NotNull @Pattern(regexp="[A-Za-z0-9_][A-Za-z0-9\\-_\\./;#]*",message="Pattern: [A-Za-z0-9_][A-Za-z0-9\\-_\\./;#]*") String getName()Gets the value of thenameproperty.- Returns:
- possible object is
String
-
setName
Sets the value of thenameproperty.- Parameters:
name- allowed object isString- Throws:
PropertyVetoException
-
getClasspath
String getClasspath()Gets the value of theclasspathproperty.- Returns:
- possible object is
String
-
setClasspath
Sets the value of theclasspathproperty.- Parameters:
classpath- allowed object isString- Throws:
PropertyVetoException
-
getNativeLibraryPath
String getNativeLibraryPath()Gets the value of thenativeLibraryPathproperty.- Returns:
- possible object is
String
-
setNativeLibraryPath
Sets the value of thenativeLibraryPathproperty.- Parameters:
nativeLibraryPath- allowed object isString- Throws:
PropertyVetoException
-
getEnabled
String getEnabled()Gets the value of theenabledproperty.- Returns:
- possible object is
String
-
setEnabled
Sets the value of theenabledproperty.- Parameters:
enabled- allowed object isString- Throws:
PropertyVetoException
-
getProperty
@ToDo(priority=IMPORTANT, details="Provide PropertyDesc for legal props") @PropertiesDesc(props={}) List<org.jvnet.hk2.config.types.Property> getProperty()Properties as perPropertyBag- Specified by:
getPropertyin interfaceorg.jvnet.hk2.config.types.PropertyBag
-