public abstract class ConfigurationFactory extends Object
Constructor and Description |
---|
ConfigurationFactory() |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(Version v) |
abstract ServerConfiguration |
createConfiguration(InvokerLocator locator,
Version version)
Loads the configuration of the given remote server.
|
static ConfigurationFactory |
getFactory(Version version) |
abstract Version |
getVersion() |
static void |
registerFactory(ConfigurationFactory handler) |
public static void registerFactory(ConfigurationFactory handler)
public static ConfigurationFactory getFactory(Version version) throws UnsupportedServerVersionException
public boolean accept(Version v)
public abstract Version getVersion()
public abstract ServerConfiguration createConfiguration(InvokerLocator locator, Version version) throws ConfigurationException
locator
- the server locatorversion
- ConfigurationException
Copyright © 2011 Nuxeo SA. All Rights Reserved.