| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| public static final String | BUFFER_SIZE_PROPERTY
Name of the attribute that specifies the size of a notification buffer for a connector server. |
| public static final String | CLIENT_CONNECTION_CHECK_PERIOD
Name of the attribute that specifies the period in millisecond for a client to check its connection. |
| private static final String | DEFAULT_CLASS_LOADER
Name of the attribute that specifies a default class loader object. |
| private static final String | DEFAULT_CLASS_LOADER_NAME
Name of the attribute that specifies a default class loader ObjectName. |
| public static final String | DEFAULT_HIDDEN_ATTRIBUTES
Default list of attributes not to show. |
| public static final String | |
| private static final SortedSet | |
| private static final SortedSet | |
| public static final String | FETCH_TIMEOUT
Name of the attribute that specifies the timeout for a client to fetch notifications from its server. |
| public static final String | HIDDEN_ATTRIBUTES
The value of this attribute, if present, is a string specifying what other attributes should not appear in JMXConnectorServer.getAttributes(). |
| public static final String | JMX_SERVER_DAEMON
Name of the attribute that specifies whether a connector server should not prevent the VM from exiting |
| private static final ClassLogger | |
| public static final String | MAX_FETCH_NOTIFS
Name of the attribute that specifies the maximum number of notifications that a client will fetch from its server. |
| public static final String | NOTIF_ACCESS_CONTROLLER
Name of the attribute that specifies an object that will check accesses to add/removeNotificationListener and also attempts to receive notifications. |
| public static final String | SERVER_CONNECTION_TIMEOUT
Name of the attribute that specifies the timeout to keep a server side connection after answering last client request. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static void | |
| public static boolean | Returns:
the string value that must be converted
into a boolean value. stringBoolean)Computes a boolean value from a string value retrieved from a property in the given map. |
| public static boolean | Returns:
the string value that must be converted
into a boolean value. stringBoolean, boolean a default value to return in case no property
was defined. defaultValue)Computes a boolean value from a string value retrieved from a property in the given map. |
| public static <V> Map | |
| public static Throwable | |
| public static long | |
| public static long | |
| public static long | getIntegerAttribute(Map<String, ?> env, String name, long defaultValue, long minValue, long maxValue)
Get an integer-valued attribute with name |
| public static int | getMaxFetchNotifNumber(Map<String, ?> env)
Returns the maximum notification number which a client will fetch every time. |
| public static int | getNotifBufferSize(Map<String, ?> env)
Returns the size of a notification buffer for a connector server. |
| public static NotificationAccessController | |
| public static long | |
| private static void | |
| public static <T extends Throwable> T | |
| public static boolean | isServerDaemon(Map<String, ?> env)
Returns true if jmx.remote.x.daemon is specified in the |
| public static <K, V> Hashtable | mapToHashtable(Map<K, V> map)
Converts a map into a valid hash table, i.e. it removes all the 'null' values from the map. |
| private static void | |
| private static void | purgeUnserializable(Collection<?> objects)
Remove from the given Collection any element that is not a serializable object. |
| public static ClassLoader | Returns: The connector client default class loader.Get the Connector Client default class loader. |
| public static ClassLoader | Returns: the connector server's default class loader.Environment attributes. env, MBeanServer The MBeanServer for which the connector server provides
remote access. mbs)Get the Connector Server default class loader. |
| BUFFER_SIZE_PROPERTY | back to summary |
|---|---|
| public static final String BUFFER_SIZE_PROPERTY Name of the attribute that specifies the size of a notification buffer for a connector server. The default value is 1000. | |
| CLIENT_CONNECTION_CHECK_PERIOD | back to summary |
|---|---|
| public static final String CLIENT_CONNECTION_CHECK_PERIOD Name of the attribute that specifies the period in millisecond for a client to check its connection. The default value is 60000 milliseconds. | |
| DEFAULT_CLASS_LOADER | back to summary |
|---|---|
| private static final String DEFAULT_CLASS_LOADER Name of the attribute that specifies a default class loader object. The value associated with this attribute is a ClassLoader object. | |
| DEFAULT_CLASS_LOADER_NAME | back to summary |
|---|---|
| private static final String DEFAULT_CLASS_LOADER_NAME Name of the attribute that specifies a default class loader ObjectName. The value associated with this attribute is an ObjectName object. | |
| DEFAULT_HIDDEN_ATTRIBUTES | back to summary |
|---|---|
| public static final String DEFAULT_HIDDEN_ATTRIBUTES Default list of attributes not to show.
| |
| DEFAULT_ORB | back to summary |
|---|---|
| public static final String DEFAULT_ORB | |
| defaultHiddenPrefixes | back to summary |
|---|---|
| private static final SortedSet<String> defaultHiddenPrefixes | |
| defaultHiddenStrings | back to summary |
|---|---|
| private static final SortedSet<String> defaultHiddenStrings | |
| FETCH_TIMEOUT | back to summary |
|---|---|
| public static final String FETCH_TIMEOUT Name of the attribute that specifies the timeout for a
client to fetch notifications from its server. The value
associated with this attribute should be a | |
| HIDDEN_ATTRIBUTES | back to summary |
|---|---|
| public static final String HIDDEN_ATTRIBUTES The value of this attribute, if present, is a string specifying
what other attributes should not appear in
JMXConnectorServer.getAttributes(). It is a space-separated
list of attribute patterns, where each pattern is either an
attribute name, or an attribute prefix followed by a "*"
character. The "*" has no special significance anywhere except
at the end of a pattern. By default, this list is added to the
list defined by | |
| JMX_SERVER_DAEMON | back to summary |
|---|---|
| public static final String JMX_SERVER_DAEMON Name of the attribute that specifies whether a connector server should not prevent the VM from exiting | |
| logger | back to summary |
|---|---|
| private static final ClassLogger logger | |
| MAX_FETCH_NOTIFS | back to summary |
|---|---|
| public static final String MAX_FETCH_NOTIFS Name of the attribute that specifies the maximum number of
notifications that a client will fetch from its server. The
value associated with this attribute should be an
| |
| NOTIF_ACCESS_CONTROLLER | back to summary |
|---|---|
| public static final String NOTIF_ACCESS_CONTROLLER Name of the attribute that specifies an object that will check
accesses to add/removeNotificationListener and also attempts to
receive notifications. The value associated with this attribute
should be a This field is not public because of its com.sun dependency. | |
| SERVER_CONNECTION_TIMEOUT | back to summary |
|---|---|
| public static final String SERVER_CONNECTION_TIMEOUT Name of the attribute that specifies the timeout to keep a server side connection after answering last client request. The default value is 120000 milliseconds. | |
| EnvHelp | back to summary |
|---|---|
| public EnvHelp() | |
| checkAttributes | back to summary |
|---|---|
| public static void checkAttributes(Map<?, ?> attributes) | |
| computeBooleanFromString | back to summary |
|---|---|
| public static boolean computeBooleanFromString(String stringBoolean) Computes a boolean value from a string value retrieved from a property in the given map.
| |
| computeBooleanFromString | back to summary |
|---|---|
| public static boolean computeBooleanFromString(String stringBoolean, boolean defaultValue) Computes a boolean value from a string value retrieved from a property in the given map.
| |
| filterAttributes | back to summary |
|---|---|
| public static <V> Map | |
| getCause | back to summary |
|---|---|
| public static Throwable getCause(Throwable t) Returns the cause field of a | |
| getConnectionCheckPeriod | back to summary |
|---|---|
| public static long getConnectionCheckPeriod(Map<String, ?> env) Returns the client connection check period. | |
| getFetchTimeout | back to summary |
|---|---|
| public static long getFetchTimeout(Map<String, ?> env) Returns the timeout for a client to fetch notifications. | |
| getIntegerAttribute | back to summary |
|---|---|
| public static long getIntegerAttribute(Map<String, ?> env, String name, long defaultValue, long minValue, long maxValue) Get an integer-valued attribute with name
| |
| getMaxFetchNotifNumber | back to summary |
|---|---|
| public static int getMaxFetchNotifNumber(Map<String, ?> env) Returns the maximum notification number which a client will fetch every time. | |
| getNotifBufferSize | back to summary |
|---|---|
| public static int getNotifBufferSize(Map<String, ?> env) Returns the size of a notification buffer for a connector server. The default value is 1000.
| |
| getNotificationAccessController | back to summary |
|---|---|
| public static NotificationAccessController getNotificationAccessController(Map<String, ?> env) | |
| getServerConnectionTimeout | back to summary |
|---|---|
| public static long getServerConnectionTimeout(Map<String, ?> env) Returns the server side connection timeout. | |
| hideAttributes | back to summary |
|---|---|
| private static void hideAttributes(SortedMap<String, ?> map) | |
| initCause | back to summary |
|---|---|
| public static <T extends Throwable> T initCause(T throwable, Throwable cause) Initialize the cause field of a
| |
| isServerDaemon | back to summary |
|---|---|
| public static boolean isServerDaemon(Map<String, ?> env) Returns true if jmx.remote.x.daemon is specified in the | |
| mapToHashtable | back to summary |
|---|---|
| public static <K, V> Hashtable Converts a map into a valid hash table, i.e. it removes all the 'null' values from the map. | |
| parseHiddenAttributes | back to summary |
|---|---|
| private static void parseHiddenAttributes(String hide, SortedSet<String> hiddenStrings, SortedSet<String> hiddenPrefixes) | |
| purgeUnserializable | back to summary |
|---|---|
| private static void purgeUnserializable(Collection<?> objects) Remove from the given Collection any element that is not a serializable object. | |
| resolveClientClassLoader | back to summary |
|---|---|
| public static ClassLoader resolveClientClassLoader(Map<String, ?> env) Get the Connector Client default class loader. Returns:
Usually a Connector Client will call ClassLoader dcl = EnvHelp.resolveClientClassLoader(env);in its connect(Map env) method.
| |
| resolveServerClassLoader | back to summary |
|---|---|
| public static ClassLoader resolveServerClassLoader(Map<String, ?> env, MBeanServer mbs) throws InstanceNotFoundException Get the Connector Server default class loader. Returns:
| |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | write(byte[] b, int off, int len)
Overrides java. Writes |
| public void | write(int b)
Implements abstract java. Writes the specified byte to this output stream. |
| SinkOutputStream | back to summary |
|---|---|
| private SinkOutputStream() | |
| write | back to summary |
|---|---|
| public void write(byte[] b, int off, int len) Overrides java. Doc from java. Writes
If
If | |
| write | back to summary |
|---|---|
| public void write(int b) Implements abstract java. Doc from java. Writes the specified byte to this output stream. The general
contract for | |