org.ops4j.pax.web.service.internal
Class ConfigurationImpl

java.lang.Object
  extended by org.ops4j.util.property.PropertyStore
      extended by org.ops4j.pax.web.service.internal.ConfigurationImpl
All Implemented Interfaces:
org.ops4j.pax.web.service.spi.Configuration

public class ConfigurationImpl
extends org.ops4j.util.property.PropertyStore
implements org.ops4j.pax.web.service.spi.Configuration

Service Configuration implementation.

Since:
0.3.0, January 22, 2008
Author:
Alin Dreghiciu

Constructor Summary
ConfigurationImpl(org.ops4j.util.property.PropertyResolver propertyResolver)
          Creates a new service configuration.
 
Method Summary
 File getConfigurationDir()
           
 Integer getHttpPort()
           
 Integer getHttpSecurePort()
           
 Integer getJspCheckInterval()
           
 Boolean getJspClassDebugInfo()
           
 Boolean getJspDevelopment()
           
 Boolean getJspEnablePooling()
           
 String getJspIeClassId()
           
 String getJspJavaEncoding()
           
 Boolean getJspKeepgenerated()
           
 String getJspLogVerbosityLevel()
           
 Boolean getJspMappedfile()
           
 String getJspScratchDir()
           
 Integer getJspTagpoolMaxSize()
           
 String[] getListeningAddresses()
           
 String getSessionCookie()
           
 Integer getSessionTimeout()
           
 String getSessionUrl()
           
 String getSslKeyPassword()
           
 String getSslKeystore()
           
 String getSslKeystoreType()
           
 String getSslPassword()
           
 File getTemporaryDirectory()
           
 String getWorkerName()
           
 Boolean isClientAuthNeeded()
           
 Boolean isClientAuthWanted()
           
 Boolean isHttpEnabled()
           
 Boolean isHttpSecureEnabled()
           
 String toString()
           
 Boolean useNIO()
           
 
Methods inherited from class org.ops4j.util.property.PropertyStore
contains, get, set
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConfigurationImpl

public ConfigurationImpl(org.ops4j.util.property.PropertyResolver propertyResolver)
Creates a new service configuration.

Parameters:
propertyResolver - propertyResolver used to resolve properties; mandatory
Method Detail

getHttpPort

public Integer getHttpPort()
Specified by:
getHttpPort in interface org.ops4j.pax.web.service.spi.Configuration
See Also:
Configuration.getHttpPort()

useNIO

public Boolean useNIO()
Specified by:
useNIO in interface org.ops4j.pax.web.service.spi.Configuration
See Also:
Configuration.useNIO()

isClientAuthNeeded

public Boolean isClientAuthNeeded()
Specified by:
isClientAuthNeeded in interface org.ops4j.pax.web.service.spi.Configuration
See Also:
Configuration.isClientAuthNeeded()

isClientAuthWanted

public Boolean isClientAuthWanted()
Specified by:
isClientAuthWanted in interface org.ops4j.pax.web.service.spi.Configuration
See Also:
Configuration.isClientAuthWanted()

isHttpEnabled

public Boolean isHttpEnabled()
Specified by:
isHttpEnabled in interface org.ops4j.pax.web.service.spi.Configuration
See Also:
Configuration.isHttpEnabled()

getHttpSecurePort

public Integer getHttpSecurePort()
Specified by:
getHttpSecurePort in interface org.ops4j.pax.web.service.spi.Configuration
See Also:
Configuration.getHttpSecurePort()

isHttpSecureEnabled

public Boolean isHttpSecureEnabled()
Specified by:
isHttpSecureEnabled in interface org.ops4j.pax.web.service.spi.Configuration
See Also:
Configuration.isHttpSecureEnabled()

getSslKeystore

public String getSslKeystore()
Specified by:
getSslKeystore in interface org.ops4j.pax.web.service.spi.Configuration
See Also:
Configuration.getSslKeystore()

getSslKeystoreType

public String getSslKeystoreType()
Specified by:
getSslKeystoreType in interface org.ops4j.pax.web.service.spi.Configuration
See Also:
Configuration.getSslKeystoreType()

getSslPassword

public String getSslPassword()
Specified by:
getSslPassword in interface org.ops4j.pax.web.service.spi.Configuration
See Also:
Configuration.getSslPassword()

getSslKeyPassword

public String getSslKeyPassword()
Specified by:
getSslKeyPassword in interface org.ops4j.pax.web.service.spi.Configuration
See Also:
Configuration.getSslKeyPassword()

getTemporaryDirectory

public File getTemporaryDirectory()
Specified by:
getTemporaryDirectory in interface org.ops4j.pax.web.service.spi.Configuration
See Also:
Configuration.getTemporaryDirectory()

getConfigurationDir

public File getConfigurationDir()
Specified by:
getConfigurationDir in interface org.ops4j.pax.web.service.spi.Configuration

getSessionTimeout

public Integer getSessionTimeout()
Specified by:
getSessionTimeout in interface org.ops4j.pax.web.service.spi.Configuration
See Also:
Configuration.getSessionTimeout()

getSessionCookie

public String getSessionCookie()
Specified by:
getSessionCookie in interface org.ops4j.pax.web.service.spi.Configuration

getSessionUrl

public String getSessionUrl()
Specified by:
getSessionUrl in interface org.ops4j.pax.web.service.spi.Configuration

getWorkerName

public String getWorkerName()
Specified by:
getWorkerName in interface org.ops4j.pax.web.service.spi.Configuration

getListeningAddresses

public String[] getListeningAddresses()
Specified by:
getListeningAddresses in interface org.ops4j.pax.web.service.spi.Configuration
See Also:
Configuration.getListeningAddresses()

getJspScratchDir

public String getJspScratchDir()
Specified by:
getJspScratchDir in interface org.ops4j.pax.web.service.spi.Configuration

getJspCheckInterval

public Integer getJspCheckInterval()
Specified by:
getJspCheckInterval in interface org.ops4j.pax.web.service.spi.Configuration

getJspClassDebugInfo

public Boolean getJspClassDebugInfo()
Specified by:
getJspClassDebugInfo in interface org.ops4j.pax.web.service.spi.Configuration

getJspDevelopment

public Boolean getJspDevelopment()
Specified by:
getJspDevelopment in interface org.ops4j.pax.web.service.spi.Configuration

getJspEnablePooling

public Boolean getJspEnablePooling()
Specified by:
getJspEnablePooling in interface org.ops4j.pax.web.service.spi.Configuration

getJspIeClassId

public String getJspIeClassId()
Specified by:
getJspIeClassId in interface org.ops4j.pax.web.service.spi.Configuration

getJspJavaEncoding

public String getJspJavaEncoding()
Specified by:
getJspJavaEncoding in interface org.ops4j.pax.web.service.spi.Configuration

getJspKeepgenerated

public Boolean getJspKeepgenerated()
Specified by:
getJspKeepgenerated in interface org.ops4j.pax.web.service.spi.Configuration

getJspLogVerbosityLevel

public String getJspLogVerbosityLevel()
Specified by:
getJspLogVerbosityLevel in interface org.ops4j.pax.web.service.spi.Configuration

getJspMappedfile

public Boolean getJspMappedfile()
Specified by:
getJspMappedfile in interface org.ops4j.pax.web.service.spi.Configuration

getJspTagpoolMaxSize

public Integer getJspTagpoolMaxSize()
Specified by:
getJspTagpoolMaxSize in interface org.ops4j.pax.web.service.spi.Configuration

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2006-2012 OPS4J - Open Participation Software for Java. All Rights Reserved.