Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.runtime.config
Class ConfigurationFactory

java.lang.Object
  extended by org.nuxeo.runtime.config.ConfigurationFactory
Direct Known Subclasses:
ConfigurationFactory1

public abstract class ConfigurationFactory
extends Object

Author:
Bogdan Stefanescu

Constructor Summary
ConfigurationFactory()
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigurationFactory

public ConfigurationFactory()
Method Detail

registerFactory

public static void registerFactory(ConfigurationFactory handler)

getFactory

public static ConfigurationFactory getFactory(Version version)
                                       throws UnsupportedServerVersionException
Throws:
UnsupportedServerVersionException

accept

public boolean accept(Version v)

getVersion

public abstract Version getVersion()

createConfiguration

public abstract ServerConfiguration createConfiguration(InvokerLocator locator,
                                                        Version version)
                                                 throws ConfigurationException
Loads the configuration of the given remote server.

Parameters:
locator - the server locator
version -
Returns:
the configuration
Throws:
ConfigurationException

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.