org.apache.geronimo.ews.ws4j2ee.context.impl
Class J2EEWebServiceContextImpl

java.lang.Object
  extended byorg.apache.geronimo.ews.ws4j2ee.context.impl.J2EEWebServiceContextImpl
All Implemented Interfaces:
J2EEWebServiceContext

public class J2EEWebServiceContextImpl
extends java.lang.Object
implements J2EEWebServiceContext

Code should use parsers and create runtime representation of the information taken fom the WSDL and configaration files.

depend on hasWSDL or the not the implementation should

  1. parse the WSDL and populate informatio in WSDLContext
  2. parse the SEI or EJB and populate the information in WSDLContext with the help of the jaxrpc mapping file information.

Author:
Srinath Perera(hemapani@opensorce.lk)
See Also:
J2EEWebServiceContext

Constructor Summary
J2EEWebServiceContextImpl(boolean hasWSDL)
           
 
Method Summary
 void addServiceReferanceContext(ServiceReferanceContext context)
           
 EJBContext getEJBDDContext()
           
 Ws4J2eeFactory getFactory()
           
 JaxRpcMapperContext getJAXRPCMappingContext()
          Information about the jaxrpcmapping.xml file
 MiscInfo getMiscInfo()
          Have the mislaneous infomation about the web service.
 ServiceReferanceContext getServiceReferanceContext(int index)
           
 int getServiceReferanceContextCount()
           
 WebContext getWebDDContext()
           
 WSCFContext getWSCFContext()
          Information about the webservices.xml file
 WSDLContext getWSDLContext()
          Information about the WSDL file
 void setEJBDDContext(EJBContext context)
           
 void setFactory(Ws4J2eeFactory factory)
          Information about which implementation should used for by the tool Changing this one can change how the tool behave.
 void setJAXRPCMappingContext(JaxRpcMapperContext context)
           
 void setMiscInfo(MiscInfo info)
           
 void setWebDDContext(WebContext context)
           
 void setWSCFContext(WSCFContext wscfcontext)
           
 void setWSDLContext(WSDLContext wsdlcontext)
           
 void validate()
          validate the context
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

J2EEWebServiceContextImpl

public J2EEWebServiceContextImpl(boolean hasWSDL)
Method Detail

getWSDLContext

public WSDLContext getWSDLContext()
Description copied from interface: J2EEWebServiceContext
Information about the WSDL file

Specified by:
getWSDLContext in interface J2EEWebServiceContext
Returns:

setWSDLContext

public void setWSDLContext(WSDLContext wsdlcontext)
Specified by:
setWSDLContext in interface J2EEWebServiceContext

getJAXRPCMappingContext

public JaxRpcMapperContext getJAXRPCMappingContext()
Description copied from interface: J2EEWebServiceContext
Information about the jaxrpcmapping.xml file

Specified by:
getJAXRPCMappingContext in interface J2EEWebServiceContext
Returns:

setJAXRPCMappingContext

public void setJAXRPCMappingContext(JaxRpcMapperContext context)
Specified by:
setJAXRPCMappingContext in interface J2EEWebServiceContext

getWSCFContext

public WSCFContext getWSCFContext()
Description copied from interface: J2EEWebServiceContext
Information about the webservices.xml file

Specified by:
getWSCFContext in interface J2EEWebServiceContext
Returns:

setWSCFContext

public void setWSCFContext(WSCFContext wscfcontext)
Specified by:
setWSCFContext in interface J2EEWebServiceContext

getMiscInfo

public MiscInfo getMiscInfo()
Description copied from interface: J2EEWebServiceContext
Have the mislaneous infomation about the web service.

Specified by:
getMiscInfo in interface J2EEWebServiceContext
Returns:

setMiscInfo

public void setMiscInfo(MiscInfo info)
Specified by:
setMiscInfo in interface J2EEWebServiceContext
Parameters:
info -

validate

public void validate()
Description copied from interface: J2EEWebServiceContext
validate the context

Specified by:
validate in interface J2EEWebServiceContext

setFactory

public void setFactory(Ws4J2eeFactory factory)
Description copied from interface: J2EEWebServiceContext
Information about which implementation should used for by the tool Changing this one can change how the tool behave.

Specified by:
setFactory in interface J2EEWebServiceContext
Parameters:
factory -

getFactory

public Ws4J2eeFactory getFactory()
Specified by:
getFactory in interface J2EEWebServiceContext

addServiceReferanceContext

public void addServiceReferanceContext(ServiceReferanceContext context)
Specified by:
addServiceReferanceContext in interface J2EEWebServiceContext

getEJBDDContext

public EJBContext getEJBDDContext()
Specified by:
getEJBDDContext in interface J2EEWebServiceContext

getServiceReferanceContext

public ServiceReferanceContext getServiceReferanceContext(int index)
Specified by:
getServiceReferanceContext in interface J2EEWebServiceContext

getServiceReferanceContextCount

public int getServiceReferanceContextCount()
Specified by:
getServiceReferanceContextCount in interface J2EEWebServiceContext

getWebDDContext

public WebContext getWebDDContext()
Specified by:
getWebDDContext in interface J2EEWebServiceContext

setEJBDDContext

public void setEJBDDContext(EJBContext context)
Specified by:
setEJBDDContext in interface J2EEWebServiceContext

setWebDDContext

public void setWebDDContext(WebContext context)
Specified by:
setWebDDContext in interface J2EEWebServiceContext


Copyright © 2003-2005 Apache Software Foundation. All Rights Reserved.