All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jminix.server.AbstractMapServerConnectionProvider Maven / Gradle / Ivy

There is a newer version: 1.3.5
Show newest version
/* 
 * ------------------------------------------------------------------------------------------------
 * Copyright 2011 by Swiss Post, Information Technology Services
 * ------------------------------------------------------------------------------------------------
 * $Id$
 * ------------------------------------------------------------------------------------------------
 *
 */
package org.jminix.server;

import java.util.ArrayList;
import java.util.List;

import javax.management.MBeanServerConnection;

/**
 * Superclass for connection providers providing maps.
 *
 * @author bovetl
 * @version $Revision$
 * @see 
 */
public abstract class AbstractMapServerConnectionProvider implements ServerConnectionProvider {

	/**
	 * Not explicitly documented.
	 * @see org.jminix.server.ServerConnectionProvider#getConnections()
	 */
	public List getConnections() {
		List result = new ArrayList();
		for(String key: getConnectionKeys()) {
			result.add(getConnection(key));
		}
		return result;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy