com.mysql.management.jmx..ConnectorMXJPropertiesTransform.swp Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mysql-connector-mxj Show documentation
Show all versions of mysql-connector-mxj Show documentation
MySQL Connector/MXJ is a Java Utility package for deploying and managing a MySQL database.
The newest version!
b0VIM 7.3 ~%?M&1 ?3 mbp jtek ~mbp/downloads/web/mysql-connector-mxj-gpl-5-0-12/mysql-connector-mxj-gpl-5-0-12/src/com/mysql/management/jmx/ConnectorMXJPropertiesTransform.java
3210 #"! U tp l @ m ad ? l ? ? ? ? ; ? ? ? ? I
?
?
?
[
? ? ? ? ? | { G ? ? ? s O " ! ?
?
?
T
'
&
"
? ? ? ? K 1 - ? ? ? ? H ? ? ? ? ? P ? ? ? ? ? ? ? c [ ? ? ? } s 2 ? ? ? ? ? ? ? ? v p o g - ? ? _ 8 * ? ? ? ? ` _ + ? ? String port = ((String) getMBeanServer().getAttribute(objName, ObjectName objName = getMysqldObjectName(); MBeanException, AttributeNotFoundException, ReflectionException { private Object getPortInner() throws InstanceNotFoundException, } return (String) block.exec(); }; } return getPortInner(); public Object inner() throws Exception { Exceptions.SQLBlock block = new Exceptions.SQLBlock(System.err) { String getPort() throws SQLException { */ * @throws SQLException * @return the port of the MBean managed MySQL server /** } return "localhost"; String getHost() { */ * @return "localhost" /** } return props; props.put(NonRegisteringDriver.PORT_PROPERTY_KEY, port); props.put(NonRegisteringDriver.HOST_PROPERTY_KEY, host); } host = host + ":" + port; if (!port.equals("3306")) { String port = getPort(); String host = getHost(); public Properties transformProperties(Properties props) throws SQLException { */ * replaces the host and port and parameters with values for the MBean /** } return mbeanServer; MBeanServer getMBeanServer() { } this((MBeanServer) MBeanServerFactory.findMBeanServer(null).get(0)); public ConnectorMXJPropertiesTransform() { } this.mbeanServer = mbeanServer; public ConnectorMXJPropertiesTransform(MBeanServer mbeanServer) { private MBeanServer mbeanServer; JBossMysqldDynamicMBean.class }; MysqldDynamicMBean.class, SimpleMysqldDynamicMBean.class, private static Class[] mbeanClasses = new Class[] { ConnectionPropertiesTransform { public final class ConnectorMXJPropertiesTransform implements */ * eherman Exp $ * @version $Id: ConnectorMXJPropertiesTransform.java,v 1.1 2005/02/16 21:46:11 * @author Eric Herman