|
Brooklyn | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbrooklyn.entity.java.JmxSupport
public class JmxSupport
Constructor Summary | |
JmxSupport(Entity entity, java.lang.String runDir)
run dir may be null if it is not accessed |
Method Summary | |
---|---|
void
|
applyJmxJavaSystemProperties(Builder result)
applies _some_ of the common settings needed to connect via JMX |
protected int
|
fixPortsForModeNone()
mode NONE cannot set a JMX (RMI server) port; it needs an RMI registry port, then gets redirected to an anonymous RMI server port; both the hostname and the anonymous port must be accessible to use this mode (hence the use of the other agents in most cases) |
Entity
|
getEntity()
|
java.lang.String
|
getJmxAgentJarBasename()
@deprecated since 0.6.0; use getJmxAgentJarMavenArtifact() |
java.lang.String
|
getJmxAgentJarDestinationFilePath()
|
MavenArtifact
|
getJmxAgentJarMavenArtifact()
|
java.lang.String
|
getJmxAgentJarUrl()
returns URL for accessing the java agent, throwing if not applicable; prefers on classpath where it should be, but will fall back to taking from maven hosted (known problem in Eclipse where JARs are not always copied) |
JmxAgentModes
|
getJmxAgentMode()
|
java.util.List
|
getJmxJavaConfigOptions()
|
protected JmxmpSslSupport
|
getJmxSslSupport()
sets JMR_RMI_CUSTOM_AGENT as the connection mode for the indicated apps. |
java.lang.String
|
getJmxUrl()
|
Optional
|
getMachine()
|
java.lang.String
|
getRunDir()
|
protected void
|
init()
|
void
|
install()
installs files needed for JMX, to the runDir given in constructor, assuming the runDir has been created |
boolean
|
isJmx()
|
boolean
|
isSecure()
|
void
|
recommendJmxRmiCustomAgent()
|
void
|
setJmxUrl()
|
Methods inherited from class java.lang.Object | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Constructor Detail |
---|
public JmxSupport(Entity entity, @Nullable java.lang.String runDir)
Method Detail |
---|
public void applyJmxJavaSystemProperties(Builder result)
protected int fixPortsForModeNone()
public Entity getEntity()
} public java.lang.String getJmxAgentJarBasename()
public java.lang.String getJmxAgentJarDestinationFilePath()
re public MavenArtifact getJmxAgentJarMavenArtifact()
public java.lang.String getJmxAgentJarUrl()
public JmxAgentModes getJmxAgentMode()
public java.util.List getJmxJavaConfigOptions()
protected JmxmpSslSupport getJmxSslSupport()
TODO callers of this method have RMI dependencies in the actual app; we should look at removing them, so that those pieces of software can run behind forwarding public IP's and over SSL (both reasons JMXMP is preferred by us!)
public java.lang.String getJmxUrl()
public Optional getMachine()
@Nonnull public java.lang.String getRunDir()
protected void init()
public void install()
public boolean isJmx()
public boolean isSecure()
public void recommendJmxRmiCustomAgent()
public void setJmxUrl()
Brooklyn Multi-Cloud Application Management Platform
brooklyncentral.github.com. Apache License. © 2012.