|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.javagroups.conf.ConfiguratorFactory
Title: Java Groups Communications Description: Contact me at filip@filip.net Copyright: Copyright (c) 2002 Company: www.filip.net
Field Summary | |
static java.lang.String |
JAR_MISSING_ERROR
|
Constructor Summary | |
protected |
ConfiguratorFactory()
|
Method Summary | |
static ProtocolStackConfigurator |
getStackConfigurator(java.lang.Object properties)
Returns a protocol stack configurator based on the properties passed in. If the properties parameter is a plain string UDP:FRAG:MERGE:GMS etc, a PlainConfigurator is returned. If the properties parameter is a string that represents a url for example http://www.filip.net/test.xml or the parameter is a java.net.URL object, an XmlConfigurator is returned |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String JAR_MISSING_ERROR
Constructor Detail |
protected ConfiguratorFactory()
Method Detail |
public static ProtocolStackConfigurator getStackConfigurator(java.lang.Object properties) throws java.io.IOException
IOException
- if it fails to parse the XML content
IOException
- if the URL is invalid or a the content can not be reached
java.lang.ClassNotFoundException
- if the JAXP parser libraries are not found in the classpath
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |