org.apache.wsif.providers.ejb
Class WSIFPort_EJB

java.lang.Object
  extended byorg.apache.wsif.base.WSIFDefaultPort
      extended byorg.apache.wsif.providers.ejb.WSIFPort_EJB
All Implemented Interfaces:
java.io.Serializable, WSIFPort

public class WSIFPort_EJB
extends WSIFDefaultPort
implements java.io.Serializable

EJB WSIF Port.

Author:
Gerhard Pfau Partially based on WSIFPort_ApacheSOAP from Alekander Slominski, Paul Fremantle, Sanjiva Weerawarana and Matthew J. Duftler, Owen Burroughs , Jeremy Hughes
See Also:
Serialized Form

Constructor Summary
WSIFPort_EJB(javax.wsdl.Definition def, javax.wsdl.Port port, WSIFDynamicTypeMap typeMap)
           
 
Method Summary
 WSIFOperation createOperation(java.lang.String operationName)
          Create a new WSIFOperation.
 WSIFOperation createOperation(java.lang.String operationName, java.lang.String inputName, java.lang.String outputName)
          Create a new WSIFOperation.
 java.lang.String deep()
           
 javax.wsdl.Definition getDefinition()
           
 WSIFOperation_EJB getDynamicWSIFOperation(java.lang.String name, java.lang.String inputName, java.lang.String outputName)
           
 javax.ejb.EJBHome getEjbHome()
           
 javax.ejb.EJBObject getEjbObject()
           
 javax.wsdl.Port getPortModel()
           
 void setDefinition(javax.wsdl.Definition value)
           
 void setDynamicWSIFOperation(java.lang.String name, java.lang.String inputName, java.lang.String outputName, WSIFOperation_EJB value)
           
 void setEjbHome(javax.ejb.EJBHome newEjbHome)
           
 void setEjbObject(javax.ejb.EJBObject newEjbObject)
           
 void setPortModel(javax.wsdl.Port value)
           
 
Methods inherited from class org.apache.wsif.base.WSIFDefaultPort
close, finalize, getContext, setContext, supportsAsync, supportsSync
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSIFPort_EJB

public WSIFPort_EJB(javax.wsdl.Definition def,
                    javax.wsdl.Port port,
                    WSIFDynamicTypeMap typeMap)
Method Detail

getDefinition

public javax.wsdl.Definition getDefinition()

getDynamicWSIFOperation

public WSIFOperation_EJB getDynamicWSIFOperation(java.lang.String name,
                                                 java.lang.String inputName,
                                                 java.lang.String outputName)
                                          throws WSIFException
Throws:
WSIFException

getEjbHome

public javax.ejb.EJBHome getEjbHome()
                             throws WSIFException
Throws:
WSIFException

getEjbObject

public javax.ejb.EJBObject getEjbObject()
                                 throws WSIFException
Throws:
WSIFException

getPortModel

public javax.wsdl.Port getPortModel()

setDefinition

public void setDefinition(javax.wsdl.Definition value)

setDynamicWSIFOperation

public void setDynamicWSIFOperation(java.lang.String name,
                                    java.lang.String inputName,
                                    java.lang.String outputName,
                                    WSIFOperation_EJB value)

setEjbHome

public void setEjbHome(javax.ejb.EJBHome newEjbHome)

setEjbObject

public void setEjbObject(javax.ejb.EJBObject newEjbObject)

setPortModel

public void setPortModel(javax.wsdl.Port value)

createOperation

public WSIFOperation createOperation(java.lang.String operationName)
                              throws WSIFException
Description copied from interface: WSIFPort
Create a new WSIFOperation. There must be exactly one operation in this port's portType with this name. For overloaded operations see WSIFPort.createOperation(String,String,String).

Specified by:
createOperation in interface WSIFPort
Parameters:
operationName - the name of an operation in this port's portType
Returns:
the new WSIFOperation
Throws:
WSIFException - if something goes wrong

createOperation

public WSIFOperation createOperation(java.lang.String operationName,
                                     java.lang.String inputName,
                                     java.lang.String outputName)
                              throws WSIFException
Description copied from interface: WSIFPort
Create a new WSIFOperation. There must be an operation in this port's portType with this operation name, input message name and output message name. The input message name distinguishes overloaded operations.

Specified by:
createOperation in interface WSIFPort
Parameters:
operationName - the name of an operation in this port's portType
inputName - the input message name
outputName - the output message name
Returns:
the new WSIFOperation
Throws:
WSIFException - if something goes wrong

deep

public java.lang.String deep()


Copyright ? 2002, 2006 Apache XML Project. All Rights Reserved.