org.ow2.petals.binding.soap.util
Class ComponentPropertiesHelper

java.lang.Object
  extended by org.ow2.petals.binding.soap.util.ComponentPropertiesHelper

public class ComponentPropertiesHelper
extends java.lang.Object

Author:
Christophe HAMERLING - eBM WebSourcing

Method Summary
static int getHttpAcceptors(java.util.logging.Logger logger, org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions configurationExtensions)
          Get the number of acceptors of the Jetty server
static java.lang.String getHttpHostName(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions configurationExtensions)
          Get the host name
static int getHttpPort(java.util.logging.Logger logger, org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions configurationExtensions)
          Get the HTTP port
static java.lang.String getHttpsKeyPassword(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions configurationExtensions)
          Get the key password (HTTPS)
static java.lang.String getHttpsKeystoreFile(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions configurationExtensions)
          Get the keystore file (HTTPS)
static java.lang.String getHttpsKeystorePassword(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions configurationExtensions)
          Get the keystore password (HTTPS)
static java.lang.String getHttpsKeystoreType(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions configurationExtensions)
          Get the keystore type (HTTPS)
static int getHttpsPort(java.util.logging.Logger logger, org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions configurationExtensions)
          Get the HTTPS port
static java.lang.String getHttpsTruststoreFile(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions configurationExtensions)
          Get the truststore file (HTTPS)
static java.lang.String getHttpsTruststorePassword(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions configurationExtensions)
          Get the truststore password (HTTPS)
static java.lang.String getHttpsTruststoreType(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions configurationExtensions)
          Get the truststore type (HTTPS)
static int getHttpThreadMaxPoolSize(java.util.logging.Logger logger, org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions configurationExtensions)
          Get the thread max pool size of the Jetty server
static int getHttpThreadMinPoolSize(java.util.logging.Logger logger, org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions configurationExtensions)
          Get the thread min pool size of the Jetty server
static java.lang.String getServicesContext(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions configurationExtensions)
          Get the service context path segment
static java.lang.String getServicesMapping(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions configurationExtensions)
          Get the service mapping path segment
static boolean isHttpsEnabled(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions configurationExtensions)
          Define if HTTPS is enabled
static boolean isProvidingServicesList(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions configurationExtensions)
          Return if the component have to provide the services list
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getHttpHostName

public static java.lang.String getHttpHostName(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions configurationExtensions)
Get the host name

Parameters:
configurationExtensions - the component extensions
Returns:
the host name

getHttpPort

public static int getHttpPort(java.util.logging.Logger logger,
                              org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions configurationExtensions)
Get the HTTP port

Parameters:
configurationExtensions - the component extensions
Returns:
the HTTP port

isProvidingServicesList

public static boolean isProvidingServicesList(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions configurationExtensions)
Return if the component have to provide the services list

Parameters:
configurationExtensions - the component extensions
Returns:
true if the component have to provide the services list, otherwise false

getServicesContext

public static java.lang.String getServicesContext(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions configurationExtensions)
Get the service context path segment

Parameters:
configurationExtensions - the component extensions
Returns:
the service context path segment

getServicesMapping

public static java.lang.String getServicesMapping(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions configurationExtensions)
Get the service mapping path segment

Parameters:
configurationExtensions - the component extensions
Returns:
the service mapping path segment

getHttpThreadMaxPoolSize

public static int getHttpThreadMaxPoolSize(java.util.logging.Logger logger,
                                           org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions configurationExtensions)
Get the thread max pool size of the Jetty server

Parameters:
configurationExtensions - the component extensions
Returns:
the thread max pool size of the Jetty server

getHttpThreadMinPoolSize

public static int getHttpThreadMinPoolSize(java.util.logging.Logger logger,
                                           org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions configurationExtensions)
Get the thread min pool size of the Jetty server

Parameters:
configurationExtensions - the component extensions
Returns:
the thread min pool size of the Jetty server

getHttpAcceptors

public static int getHttpAcceptors(java.util.logging.Logger logger,
                                   org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions configurationExtensions)
Get the number of acceptors of the Jetty server

Parameters:
configurationExtensions - the component extensions
Returns:
the number of acceptors of the Jetty server

isHttpsEnabled

public static boolean isHttpsEnabled(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions configurationExtensions)
Define if HTTPS is enabled

Parameters:
configurationExtensions - the component extensions
Returns:
true if HTTPS is enabled, otherwise false

getHttpsPort

public static int getHttpsPort(java.util.logging.Logger logger,
                               org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions configurationExtensions)
Get the HTTPS port

Parameters:
configurationExtensions - the component extensions
Returns:
the HTTPS port

getHttpsKeystoreType

public static java.lang.String getHttpsKeystoreType(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions configurationExtensions)
Get the keystore type (HTTPS)

Parameters:
configurationExtensions - the component extensions
Returns:
the keystore type (HTTPS)

getHttpsKeystoreFile

public static java.lang.String getHttpsKeystoreFile(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions configurationExtensions)
Get the keystore file (HTTPS)

Parameters:
configurationExtensions - the component extensions
Returns:
the keystore file (HTTPS)

getHttpsKeystorePassword

public static java.lang.String getHttpsKeystorePassword(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions configurationExtensions)
Get the keystore password (HTTPS)

Parameters:
configurationExtensions - the component extensions
Returns:
the keystore password (HTTPS)

getHttpsKeyPassword

public static java.lang.String getHttpsKeyPassword(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions configurationExtensions)
Get the key password (HTTPS)

Parameters:
configurationExtensions - the component extensions
Returns:
the key password (HTTPS)

getHttpsTruststoreType

public static java.lang.String getHttpsTruststoreType(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions configurationExtensions)
Get the truststore type (HTTPS)

Parameters:
configurationExtensions - the component extensions
Returns:
the truststore type (HTTPS)

getHttpsTruststoreFile

public static java.lang.String getHttpsTruststoreFile(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions configurationExtensions)
Get the truststore file (HTTPS)

Parameters:
configurationExtensions - the component extensions
Returns:
the truststore file (HTTPS)

getHttpsTruststorePassword

public static java.lang.String getHttpsTruststorePassword(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions configurationExtensions)
Get the truststore password (HTTPS)

Parameters:
configurationExtensions - the component extensions
Returns:
the truststore password (HTTPS)


Copyright © 2005-2011 Petals Link (EBM Websourcing). All Rights Reserved.