org.ow2.petals.binding.soap
Class SoapBootstrap

java.lang.Object
  extended by org.ow2.petals.component.framework.JBIBootstrap
      extended by org.ow2.petals.component.framework.DefaultBootstrap
          extended by org.ow2.petals.binding.soap.SoapBootstrap
All Implemented Interfaces:
javax.jbi.component.Bootstrap

public class SoapBootstrap
extends org.ow2.petals.component.framework.DefaultBootstrap

The bootstrap class. Copy all the configuration files in the good directories.

Author:
Christophe HAMERLING - eBMWebSourcing

Field Summary
protected  SoapBootstrapOperations bootstrapOperations
           
 
Fields inherited from class org.ow2.petals.component.framework.DefaultBootstrap
mbeanName
 
Fields inherited from class org.ow2.petals.component.framework.JBIBootstrap
installContext
 
Constructor Summary
SoapBootstrap()
           
 
Method Summary
 java.lang.String addModule(java.lang.String url)
          Add a module to the Axis2 engine.
protected  void copyConfigurationFiles()
          Copy the needed configuration files to the Axis2 directories.
protected  void createWorkDirectories()
          Create the directories that will be used by axis
protected  void doInit()
           
protected  java.util.List<java.lang.String> getAttributeList()
           
 int getHttpAcceptors()
          Get HttpAcceptors.
 java.lang.String getHttpHostName()
          Get the HTTP host name
 int getHttpPort()
          Get Http port.
 java.lang.String getHttpServicesContext()
          Get HTTP services context.
 boolean getHttpServicesList()
          Get HTTP services list.
 java.lang.String getHttpServicesMapping()
          Get HTTP services Mapping.
 int getHttpThreadPoolSizeMax()
          Get HTTP thread pool maximum size
 int getHttpThreadPoolSizeMin()
          Get HTTP thread pool minimum size
protected  java.util.List<java.lang.String> getMethodList()
           
 void setHttpAcceptors(int httpAcceptors)
          Set HTTP acceptors.
 void setHttpHostName(java.lang.String httpHostName)
          Set the HTTP host name.
 void setHttpPort(int httpPort)
          Set the HTTP port.
 void setHttpServicesContext(java.lang.String httpServicesContext)
          Set HTTP services context.
 void setHttpServicesList(boolean httpServicesList)
          Set HTTP services list.
 void setHttpServicesMapping(java.lang.String httpServicesMapping)
          Set HTTP services mapping.
 void setHttpThreadPoolSizeMax(int httpThreadPoolSizeMax)
          Set HTTP thread pool maximum size.
 void setHttpThreadPoolSizeMin(int httpThreadPoolSizeMin)
          Set HTTP thread pool minimum size.
 
Methods inherited from class org.ow2.petals.component.framework.DefaultBootstrap
cleanUp, getExtensionMBeanName, onInstall
 
Methods inherited from class org.ow2.petals.component.framework.JBIBootstrap
getInstallContext, getJbiComponentConfiguration, getLogger, init, onUninstall
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

bootstrapOperations

protected SoapBootstrapOperations bootstrapOperations
Constructor Detail

SoapBootstrap

public SoapBootstrap()
Method Detail

doInit

protected void doInit()
               throws javax.jbi.JBIException
Overrides:
doInit in class org.ow2.petals.component.framework.DefaultBootstrap
Throws:
javax.jbi.JBIException

createWorkDirectories

protected void createWorkDirectories()
Create the directories that will be used by axis

Parameters:
installPath -

copyConfigurationFiles

protected void copyConfigurationFiles()
                               throws javax.jbi.JBIException
Copy the needed configuration files to the Axis2 directories. Do not copy them if the files are already present (the install phase has already been done and we are now in the uninstall phase).

Throws:
javax.jbi.JBIException

getMethodList

protected java.util.List<java.lang.String> getMethodList()
Overrides:
getMethodList in class org.ow2.petals.component.framework.DefaultBootstrap

getAttributeList

protected java.util.List<java.lang.String> getAttributeList()
Overrides:
getAttributeList in class org.ow2.petals.component.framework.DefaultBootstrap

addModule

public java.lang.String addModule(java.lang.String url)
                           throws java.lang.Exception
Add a module to the Axis2 engine. This method is used by the configuration MBean.

Parameters:
url -
Returns:
Throws:
javax.jbi.JBIException
java.lang.Exception

setHttpPort

public void setHttpPort(int httpPort)
Set the HTTP port.

Parameters:
httpPort -

setHttpHostName

public void setHttpHostName(java.lang.String httpHostName)
Set the HTTP host name.

Parameters:
httpHostName -

getHttpPort

public int getHttpPort()
Get Http port.

Returns:

getHttpHostName

public java.lang.String getHttpHostName()
Get the HTTP host name

Returns:

setHttpServicesList

public void setHttpServicesList(boolean httpServicesList)
Set HTTP services list.

Parameters:
httpServicesList -

getHttpServicesList

public boolean getHttpServicesList()
Get HTTP services list.

Returns:

setHttpServicesContext

public void setHttpServicesContext(java.lang.String httpServicesContext)
Set HTTP services context.

Parameters:
httpServicesContext -

getHttpServicesContext

public java.lang.String getHttpServicesContext()
Get HTTP services context.

Returns:

setHttpServicesMapping

public void setHttpServicesMapping(java.lang.String httpServicesMapping)
Set HTTP services mapping.

Parameters:
httpServicesMapping -

getHttpServicesMapping

public java.lang.String getHttpServicesMapping()
Get HTTP services Mapping.

Returns:

setHttpThreadPoolSizeMin

public void setHttpThreadPoolSizeMin(int httpThreadPoolSizeMin)
Set HTTP thread pool minimum size.

Parameters:
httpThreadPoolSizeMin -

getHttpThreadPoolSizeMin

public int getHttpThreadPoolSizeMin()
Get HTTP thread pool minimum size

Returns:

setHttpThreadPoolSizeMax

public void setHttpThreadPoolSizeMax(int httpThreadPoolSizeMax)
Set HTTP thread pool maximum size.

Parameters:
httpThreadPoolSizeMax -

getHttpThreadPoolSizeMax

public int getHttpThreadPoolSizeMax()
Get HTTP thread pool maximum size

Returns:

setHttpAcceptors

public void setHttpAcceptors(int httpAcceptors)
Set HTTP acceptors.

Parameters:
httpAcceptors -

getHttpAcceptors

public int getHttpAcceptors()
Get HttpAcceptors.

Returns:


Copyright © 2005-2010 OW2 Consortium. All Rights Reserved.