org.apache.geronimo.ews.ws4j2ee.context
Interface J2EEWebServiceContext

All Known Implementing Classes:
J2EEWebServiceContextImpl

public interface J2EEWebServiceContext

This interface has all the information about the J2EE webservice that is going to be genarated. from this interface onward all the codes are ws4j2ee. If we using any class from the geronimo deployment we should wrap them. This is a Code whith runing once. It is worth keeping the code independent.

This interface and related interfaces has both getter and setter methods but who ever implements this interface might not need the both. e.g. there can be two concreate implementations for this class for the cases

  1. have WSDL
  2. do not have WSDL
if some method is not requried please throw java.lang.UnsupportedOperationException

Author:
Srinath Perera(hemapani@opensource.lk)

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
 

Method Detail

getWSDLContext

public WSDLContext getWSDLContext()
Information about the WSDL file

Returns:

setWSDLContext

public void setWSDLContext(WSDLContext wsdlcontext)

getWSCFContext

public WSCFContext getWSCFContext()
Information about the webservices.xml file

Returns:

setWSCFContext

public void setWSCFContext(WSCFContext wscfcontext)

getJAXRPCMappingContext

public JaxRpcMapperContext getJAXRPCMappingContext()
Information about the jaxrpcmapping.xml file

Returns:

setJAXRPCMappingContext

public void setJAXRPCMappingContext(JaxRpcMapperContext context)

getMiscInfo

public MiscInfo getMiscInfo()
Have the mislaneous infomation about the web service.

Returns:

setMiscInfo

public void setMiscInfo(MiscInfo info)

validate

public void validate()
validate the context


setFactory

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

Parameters:
factory -

getFactory

public Ws4J2eeFactory getFactory()

getEJBDDContext

public EJBContext getEJBDDContext()

setEJBDDContext

public void setEJBDDContext(EJBContext context)

getWebDDContext

public WebContext getWebDDContext()

setWebDDContext

public void setWebDDContext(WebContext context)

getServiceReferanceContext

public ServiceReferanceContext getServiceReferanceContext(int index)

addServiceReferanceContext

public void addServiceReferanceContext(ServiceReferanceContext context)

getServiceReferanceContextCount

public int getServiceReferanceContextCount()


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