Interface JmxConnector
- All Superinterfaces:
org.jvnet.hk2.config.ConfigBeanProxy,org.glassfish.api.admin.config.Named,jakarta.validation.Payload,org.jvnet.hk2.config.types.PropertyBag
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionGets the value of theacceptAllproperty.@NotNull StringGets the value of theaddressproperty.@NotNull @Pattern(regexp="[A-Za-z0-9_][A-Za-z0-9\\-_\\./;#]*") StringDeprecated.Gets the value of theenabledproperty.@Pattern(regexp="\\$\\{[\\p{L}\\p{N}_][\\p{L}\\p{N}\\-_./;#]*}|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-5][0-9][0-9][0-9][0-9]|6[0-4][0-9][0-9][0-9]|65[0-4][0-9][0-9]|655[0-2][0-9]|6553[0-5]",message="{port-pattern}",payload=JmxConnector.class) StringgetPort()Gets the value of theportproperty.List<org.jvnet.hk2.config.types.Property> Properties as perPropertyBagGets the value of theprotocolproperty.Gets the value of thesecurityEnabledproperty.org.glassfish.grizzly.config.dom.SslgetSsl()Gets the value of thesslproperty.voidsetAcceptAll(String acceptAll) Sets the value of theacceptAllproperty.voidsetAddress(String address) Sets the value of theaddressproperty.voidsetAuthRealmName(String authRealmName) Sets the value of theauthRealmNameproperty.voidsetEnabled(String enabled) Sets the value of theenabledproperty.voidSets the value of theportproperty.voidsetProtocol(String protocol) Sets the value of theprotocolproperty.voidsetSecurityEnabled(String securityEnabled) Sets the value of thesecurityEnabledproperty.voidsetSsl(org.glassfish.grizzly.config.dom.Ssl ssl) Sets the value of thesslproperty.Methods inherited from interface org.jvnet.hk2.config.ConfigBeanProxy
createChild, deepCopy, getParent, getParentMethods inherited from interface org.glassfish.api.admin.config.Named
getName, setNameMethods inherited from interface org.jvnet.hk2.config.types.PropertyBag
addProperty, getProperty, getPropertyValue, getPropertyValue, lookupProperty, removeProperty, removeProperty
-
Field Details
-
PORT_PATTERN
- See Also:
-
-
Method Details
-
getEnabled
String getEnabled()Gets the value of theenabledproperty.Defines if this connector is enabled. For EE this must be enabled.
- Returns:
- possible object is
String
-
setEnabled
Sets the value of theenabledproperty.- Parameters:
enabled- allowed object isString- Throws:
PropertyVetoException
-
getProtocol
String getProtocol()Gets the value of theprotocolproperty.Defines the protocol that this jmx-connector should support. Supported protocols are defined by Entity rjmx-protocol. Other protocols can be used by user applications independently.
- Returns:
- possible object is
String
-
setProtocol
Sets the value of theprotocolproperty.- Parameters:
protocol- allowed object isString- Throws:
PropertyVetoException
-
getAddress
Gets the value of theaddressproperty.Specifies the IP address or host-name.
- Returns:
- possible object is
String
-
setAddress
Sets the value of theaddressproperty.- Parameters:
address- allowed object isString- Throws:
PropertyVetoException
-
getPort
@Pattern(regexp="\\$\\{[\\p{L}\\p{N}_][\\p{L}\\p{N}\\-_./;#]*}|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-5][0-9][0-9][0-9][0-9]|6[0-4][0-9][0-9][0-9]|65[0-4][0-9][0-9]|655[0-2][0-9]|6553[0-5]", message="{port-pattern}", payload=JmxConnector.class) @Pattern(regexp="\\$\\{[\\p{L}\\p{N}_][\\p{L}\\p{N}\\-_./;#]*}|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-5][0-9][0-9][0-9][0-9]|6[0-4][0-9][0-9][0-9]|65[0-4][0-9][0-9]|655[0-2][0-9]|6553[0-5]",message="{port-pattern}",payload=JmxConnector.class) String getPort()Gets the value of theportproperty.Specifies the port of the jmx-connector-server. Note that jmx-service-url is a function of protocol, port and address as defined by the JSR 160 1.0 Specification.
- Returns:
- possible object is
String
-
setPort
Sets the value of theportproperty.- Parameters:
port- allowed object isString- Throws:
PropertyVetoException
-
getAcceptAll
String getAcceptAll()Gets the value of theacceptAllproperty.Determines whether the connection can be made on all the network interfaces. A value of false implies that the connections only for this specific address will be selected.
- Returns:
- possible object is
String
-
setAcceptAll
Sets the value of theacceptAllproperty.- Parameters:
acceptAll- allowed object isString- Throws:
PropertyVetoException
-
getAuthRealmName
@Deprecated @NotNull @Pattern(regexp="[A-Za-z0-9_][A-Za-z0-9\\-_\\./;#]*") @RemoteKey(message="{resourceref.invalid.auth-realm-name}", type=AuthRealm.class) @NotNull @Pattern(regexp="[A-Za-z0-9_][A-Za-z0-9\\-_\\./;#]*") String getAuthRealmName()Deprecated.Gets the value of theauthRealmNameproperty.The name of the auth-realm in this config element that represents the special administrative realm. All authentication (from administrative GUI and CLI) will be handled by this realm.
Note: This is deprecated since GlassFish v3 FCS. Use similarly named attribute on admin-service. This will be used only when the admin-service attribute in missing.
- Returns:
- String representing the name of auth realm.
-
setAuthRealmName
Sets the value of theauthRealmNameproperty.- Parameters:
authRealmName- allowed object isString- Throws:
PropertyVetoException
-
getSecurityEnabled
String getSecurityEnabled()Gets the value of thesecurityEnabledproperty.Decides whether the transport layer security be used in jmx-connector. If
true, configure thesslelement.- Returns:
- possible object is
String
-
setSecurityEnabled
Sets the value of thesecurityEnabledproperty.- Parameters:
securityEnabled- allowed object isString- Throws:
PropertyVetoException
-
getSsl
org.glassfish.grizzly.config.dom.Ssl getSsl()Gets the value of thesslproperty.- Returns:
- possible object is
Ssl
-
setSsl
Sets the value of thesslproperty.- Parameters:
ssl- allowed object isSsl- 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
-