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 Type
    Method
    Description
    Gets the value of the classpath property.
    Gets the value of the enabled property.
    @NotNull @Pattern(regexp="[A-Za-z0-9_][A-Za-z0-9\\-_\\./;#]*",message="Pattern: [A-Za-z0-9_][A-Za-z0-9\\-_\\./;#]*") String
    Gets the value of the name property.
    Gets the value of the nativeLibraryPath property.
    List<org.jvnet.hk2.config.types.Property>
    Properties as per PropertyBag
    void
    setClasspath(String classpath)
    Sets the value of the classpath property.
    void
    setEnabled(String enabled)
    Sets the value of the enabled property.
    void
    Sets the value of the name property.
    void
    setNativeLibraryPath(String nativeLibraryPath)
    Sets the value of the nativeLibraryPath property.

    Methods inherited from interface org.jvnet.hk2.config.ConfigBeanProxy

    createChild, deepCopy, getParent, getParent

    Methods inherited from interface com.sun.enterprise.config.serverbeans.JvmOptionBag

    contains, getJvmOptions, getStartingWith, getXmsMegs, getXmxMegs, setJvmOptions

    Methods 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 the name property.
      Returns:
      possible object is String
    • setName

      void setName(String name) throws PropertyVetoException
      Sets the value of the name property.
      Parameters:
      name - allowed object is String
      Throws:
      PropertyVetoException
    • getClasspath

      String getClasspath()
      Gets the value of the classpath property.
      Returns:
      possible object is String
    • setClasspath

      void setClasspath(String classpath) throws PropertyVetoException
      Sets the value of the classpath property.
      Parameters:
      classpath - allowed object is String
      Throws:
      PropertyVetoException
    • getNativeLibraryPath

      String getNativeLibraryPath()
      Gets the value of the nativeLibraryPath property.
      Returns:
      possible object is String
    • setNativeLibraryPath

      void setNativeLibraryPath(String nativeLibraryPath) throws PropertyVetoException
      Sets the value of the nativeLibraryPath property.
      Parameters:
      nativeLibraryPath - allowed object is String
      Throws:
      PropertyVetoException
    • getEnabled

      String getEnabled()
      Gets the value of the enabled property.
      Returns:
      possible object is String
    • setEnabled

      void setEnabled(String enabled) throws PropertyVetoException
      Sets the value of the enabled property.
      Parameters:
      enabled - allowed object is String
      Throws:
      PropertyVetoException
    • getProperty

      @ToDo(priority=IMPORTANT, details="Provide PropertyDesc for legal props") @PropertiesDesc(props={}) List<org.jvnet.hk2.config.types.Property> getProperty()
      Properties as per PropertyBag
      Specified by:
      getProperty in interface org.jvnet.hk2.config.types.PropertyBag