org.apache.geronimo.j2ee.deployment
Class UnavailableWebServiceBuilder

java.lang.Object
  extended by org.apache.geronimo.j2ee.deployment.UnavailableWebServiceBuilder
All Implemented Interfaces:
WebServiceBuilder

public class UnavailableWebServiceBuilder
extends Object
implements WebServiceBuilder


Field Summary
static org.apache.geronimo.gbean.GBeanInfo GBEAN_INFO
           
 
Constructor Summary
UnavailableWebServiceBuilder()
           
 
Method Summary
 void configureEJB(org.apache.geronimo.gbean.GBeanData targetGBean, JarFile moduleFile, Object portInfoObject, ClassLoader classLoader)
          configure the supplied EJBContainer gbeandata to implement the ejb web service described in the deployment descriptor N.B. this method is a complete guess and should be replaced by something useable right away!
 void configurePOJO(org.apache.geronimo.gbean.GBeanData targetGBean, Module module, Object portInfo, String seiClassName, org.apache.geronimo.deployment.DeploymentContext context)
          configure the supplied GBeanData to implement the POJO web service described in the deployment descriptor.
 Map findWebServices(JarFile moduleFile, boolean isEJB, Map correctedPortLocations, org.apache.geronimo.kernel.repository.Environment environment)
          Introspects on the module file to locate web service for deployment.
static org.apache.geronimo.gbean.GBeanInfo getGBeanInfo()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GBEAN_INFO

public static final org.apache.geronimo.gbean.GBeanInfo GBEAN_INFO
Constructor Detail

UnavailableWebServiceBuilder

public UnavailableWebServiceBuilder()
Method Detail

findWebServices

public Map findWebServices(JarFile moduleFile,
                           boolean isEJB,
                           Map correctedPortLocations,
                           org.apache.geronimo.kernel.repository.Environment environment)
                    throws org.apache.geronimo.common.DeploymentException
Description copied from interface: WebServiceBuilder
Introspects on the module file to locate web service for deployment.

Specified by:
findWebServices in interface WebServiceBuilder
Parameters:
moduleFile - J2EE module
isEJB - is this an EJB archive?
correctedPortLocations - mapping between port locations and paths.
Returns:
Mapping of servlet names to port information, or an empty map if no web services found. Port information is opaque to all except the WebServiceBuilder itself.
Throws:
org.apache.geronimo.common.DeploymentException - if error encountered while introspecting the module.

configurePOJO

public void configurePOJO(org.apache.geronimo.gbean.GBeanData targetGBean,
                          Module module,
                          Object portInfo,
                          String seiClassName,
                          org.apache.geronimo.deployment.DeploymentContext context)
                   throws org.apache.geronimo.common.DeploymentException
Description copied from interface: WebServiceBuilder
configure the supplied GBeanData to implement the POJO web service described in the deployment descriptor. The GBeanData will be for a ServletHolder like gbean that is adapted to holding a ws stack that talks to a POJO web service. The web deployer is responsible for filling in the standard servlet info such as init params.

Specified by:
configurePOJO in interface WebServiceBuilder
Throws:
org.apache.geronimo.common.DeploymentException

configureEJB

public void configureEJB(org.apache.geronimo.gbean.GBeanData targetGBean,
                         JarFile moduleFile,
                         Object portInfoObject,
                         ClassLoader classLoader)
                  throws org.apache.geronimo.common.DeploymentException
Description copied from interface: WebServiceBuilder
configure the supplied EJBContainer gbeandata to implement the ejb web service described in the deployment descriptor N.B. this method is a complete guess and should be replaced by something useable right away!

Specified by:
configureEJB in interface WebServiceBuilder
Throws:
org.apache.geronimo.common.DeploymentException

getGBeanInfo

public static org.apache.geronimo.gbean.GBeanInfo getGBeanInfo()


Copyright © 2006 Apache Software Foundation. All Rights Reserved.