SystemMXBeanImpl.java

package com.ziesemer.utils.jmx.mBeans;

import java.util.Map;

/**
 * @author Mark A. Ziesemer
 * 	<a href="http://www.ziesemer.com.">&lt;www.ziesemer.com&gt;</a>
 */
public class SystemMXBeanImpl implements SystemMXBean{
	
	public static final String DEFAULT_MXBEAN_NAME = "";
	
	public long getCurrentTimeMillis(){
		return System.currentTimeMillis();
	}
	
	public Map<String, String> getSystemEnvironment(){
		return System.getenv();
	}
	
	public String getSystemEnvironmentValue(final String name){
		return System.getenv(name);
	}
	
}