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

org.jgroups.conf.PlainConfigurator Maven / Gradle / Ivy

Go to download

This artifact provides a single jar that contains all classes required to use remote Jakarta Enterprise Beans and Jakarta Messaging, including all dependencies. It is intended for use by those not using maven, maven users should just import the Jakarta Enterprise Beans and Jakarta Messaging BOM's instead (shaded JAR's cause lots of problems with maven, as it is very easy to inadvertently end up with different versions on classes on the class path).

There is a newer version: 35.0.0.Final
Show newest version

package org.jgroups.conf;

import org.jgroups.stack.Configurator;

import java.util.List;

/**
 * A ProtocolStackConfigurator for the old style properties.
 * 
* Old style properties are referred to as the property string used by channel earlier * they look like this PROTOCOL(param=value;param=value):PROTOCOL:PROTOCOL
* All it does is that it holds the string, it currently doesn't parse it at all. * @author Filip Hanik ([email protected]) * @author Bela Ban * @version 1.0 */ public class PlainConfigurator implements ProtocolStackConfigurator { private final String mProperties; /** * Instantiates a PlainConfigurator with old style properties */ public PlainConfigurator(String properties) { mProperties=properties; } /** * returns the old style protocol string */ public String getProtocolStackString() { return mProperties; } public List getProtocolStack() { try { return Configurator.parseConfigurations(mProperties); } catch(Exception e) { throw new RuntimeException(e); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy