Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.runtime.config
Class AbstractServerConfiguration

java.lang.Object
  extended by org.nuxeo.runtime.config.AbstractServerConfiguration
All Implemented Interfaces:
Serializable, ServerConfiguration
Direct Known Subclasses:
ServerConfiguration1

public abstract class AbstractServerConfiguration
extends Object
implements ServerConfiguration

Author:
Bogdan Stefanescu
See Also:
Serialized Form

Method Summary
 Properties getJndiProperties()
          Get the JNDI properties required by clients to connect to this server.
 InvokerLocator getLocator()
           
 String getName()
           
 String[] getPeers()
           
 String getProductInfo()
           
 Properties getProperties()
          Gets the server properties.
 SecurityDomain[] getSecurityDomains()
           
 Map<String,String> getServiceBindings()
           
 String getStreamingLocator()
           
 Version getVersion()
           
abstract  void install()
          Installs the given configuration on the running framework.
 void setJndiProperties(Properties jndiProperties)
           
 void setPeers(String[] peers)
           
 void setProperties(Properties properties)
           
 void setSecurityDomains(SecurityDomain[] domains)
           
 void setServiceBindings(Map<String,String> bindings)
           
 void setStreamingLocator(String locator)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getLocator

public InvokerLocator getLocator()
Specified by:
getLocator in interface ServerConfiguration

getName

public String getName()
Specified by:
getName in interface ServerConfiguration

getVersion

public Version getVersion()
Specified by:
getVersion in interface ServerConfiguration

getProductInfo

public String getProductInfo()
Specified by:
getProductInfo in interface ServerConfiguration

getProperties

public Properties getProperties()
Description copied from interface: ServerConfiguration
Gets the server properties.

Specified by:
getProperties in interface ServerConfiguration
Returns:
the server properties

setProperties

public void setProperties(Properties properties)

getServiceBindings

public Map<String,String> getServiceBindings()

setServiceBindings

public void setServiceBindings(Map<String,String> bindings)

getSecurityDomains

public SecurityDomain[] getSecurityDomains()

setSecurityDomains

public void setSecurityDomains(SecurityDomain[] domains)

getStreamingLocator

public String getStreamingLocator()

setStreamingLocator

public void setStreamingLocator(String locator)

getPeers

public String[] getPeers()
Specified by:
getPeers in interface ServerConfiguration

setPeers

public void setPeers(String[] peers)

getJndiProperties

public Properties getJndiProperties()
Description copied from interface: ServerConfiguration
Get the JNDI properties required by clients to connect to this server.

Specified by:
getJndiProperties in interface ServerConfiguration

setJndiProperties

public void setJndiProperties(Properties jndiProperties)

install

public abstract void install()
                      throws Exception
Description copied from interface: ServerConfiguration
Installs the given configuration on the running framework.

Specified by:
install in interface ServerConfiguration
Throws:
Exception - if any exception occurs

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.