Nuxeo Enterprise Platform 5.4

org.nuxeo.runtime.config
Class AbstractServerConfiguration

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

public abstract class AbstractServerConfiguration
extends java.lang.Object
implements ServerConfiguration

Author:
Bogdan Stefanescu
See Also:
Serialized Form

Method Summary
 java.util.Properties getJndiProperties()
          Get the JNDI properties required by clients to connect to this server.
 InvokerLocator getLocator()
           
 java.lang.String getName()
           
 java.lang.String[] getPeers()
           
 java.lang.String getProductInfo()
           
 java.util.Properties getProperties()
          Gets the server properties.
 SecurityDomain[] getSecurityDomains()
           
 java.util.Map<java.lang.String,java.lang.String> getServiceBindings()
           
 java.lang.String getStreamingLocator()
           
 Version getVersion()
           
abstract  void install()
          Installs the given configuration on the running framework.
 void setJndiProperties(java.util.Properties jndiProperties)
           
 void setPeers(java.lang.String[] peers)
           
 void setProperties(java.util.Properties properties)
           
 void setSecurityDomains(SecurityDomain[] domains)
           
 void setServiceBindings(java.util.Map<java.lang.String,java.lang.String> bindings)
           
 void setStreamingLocator(java.lang.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 java.lang.String getName()
Specified by:
getName in interface ServerConfiguration

getVersion

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

getProductInfo

public java.lang.String getProductInfo()
Specified by:
getProductInfo in interface ServerConfiguration

getProperties

public java.util.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(java.util.Properties properties)

getServiceBindings

public java.util.Map<java.lang.String,java.lang.String> getServiceBindings()

setServiceBindings

public void setServiceBindings(java.util.Map<java.lang.String,java.lang.String> bindings)

getSecurityDomains

public SecurityDomain[] getSecurityDomains()

setSecurityDomains

public void setSecurityDomains(SecurityDomain[] domains)

getStreamingLocator

public java.lang.String getStreamingLocator()

setStreamingLocator

public void setStreamingLocator(java.lang.String locator)

getPeers

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

setPeers

public void setPeers(java.lang.String[] peers)

getJndiProperties

public java.util.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(java.util.Properties jndiProperties)

install

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

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

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.