org.controlhaus.xfire.client
Class XFireClientControlBean

java.lang.Object
  extended by org.apache.beehive.controls.runtime.bean.ControlBean
      extended by org.controlhaus.xfire.client.XFireClientControlBean
All Implemented Interfaces:
java.beans.beancontext.BeanContextProxy, java.io.Serializable, org.apache.beehive.controls.api.bean.ControlBean, XFireClientControl

public class XFireClientControlBean
extends org.apache.beehive.controls.runtime.bean.ControlBean
implements XFireClientControl

See Also:
Serialized Form

Nested Class Summary
protected  class XFireClientControlBean.EndInvokeCallbackNotifier
          This inner class implements a simple proxy to deliver EndInvokeCallback events back to a register listener.
 
Nested classes/interfaces inherited from interface org.controlhaus.xfire.client.XFireClientControl
XFireClientControl.Asynchronous, XFireClientControl.Encoding, XFireClientControl.EndInvokeCallback, XFireClientControl.ServiceUrl, XFireClientControl.SoapHeader
 
Field Summary
static org.apache.beehive.controls.api.properties.PropertyKey EncodingValueKey
          A PropertyKey that can be used to access the value property of the Encoding PropertySet
static org.apache.beehive.controls.api.properties.PropertyKey ServiceUrlValueKey
          A PropertyKey that can be used to access the value property of the ServiceUrl PropertySet
 
Fields inherited from class org.apache.beehive.controls.runtime.bean.ControlBean
_implClass, FactorySeparator, IDSeparator
 
Constructor Summary
  XFireClientControlBean()
          This is the public null-arg constructor for this ControlBean.
  XFireClientControlBean(org.apache.beehive.controls.api.context.ControlBeanContext context, java.lang.String id, org.apache.beehive.controls.api.properties.PropertyMap props)
          This is the public constructor for the class.
protected XFireClientControlBean(org.apache.beehive.controls.api.context.ControlBeanContext context, java.lang.String id, org.apache.beehive.controls.api.properties.PropertyMap props, java.lang.Class controlClass)
          This is the protected version that is used by any ControlBean subclass
 
Method Summary
 void addEndInvokeCallbackListener(XFireClientControl.EndInvokeCallback listener)
          Registers a new listener for EndInvokeCallback events on the bean.
 void beginInvoke(org.apache.xmlbeans.XmlObject[] request, org.apache.xmlbeans.XmlObject[] reqHeaders)
          Implements org.controlhaus.xfire.client.XFireClientControl.beginInvoke
 java.lang.String getEncodingValue()
           
protected  java.lang.String[] getParameterNames(java.lang.reflect.Method m)
          Returns an array of parameter names for the request method, or null if no parameter data is available.
protected  java.util.Map getPropertyMapCache()
           
 java.lang.String getServiceUrlValue()
           
 org.apache.xmlbeans.XmlObject[] invoke(org.apache.xmlbeans.XmlObject[] request)
          Implements org.controlhaus.xfire.client.XFireClientControl.invoke
 org.apache.xmlbeans.XmlObject[] invoke(org.apache.xmlbeans.XmlObject[] request, org.apache.xmlbeans.XmlObject[] reqHeaders)
          Implements org.controlhaus.xfire.client.XFireClientControl.invoke
 void removeEndInvokeCallbackListener(XFireClientControl.EndInvokeCallback listener)
          Unregisters an existing listener for EndInvokeCallback events on the bean.
 void setEncodingValue(java.lang.String value)
           
 void setServiceUrlValue(java.lang.String value)
           
 
Methods inherited from class org.apache.beehive.controls.runtime.bean.ControlBean
enforceVersionRequired, ensureControl, firePropertyChange, fireVetoableChange, getAnnotationMap, getBeanContext, getBeanContextProxy, getControlBeanContext, getControlID, getControlInterface, getControlProperty, getControlService, getEventNotifier, getImplInitializer, getLocalID, getMostDerivedInterface, getPropertyChangeSupport, getRawControlProperty, getVetoableChangeSupport, isSingleThreadedBean, postInvoke, preInvoke, setBeanContext, setControlID, setControlProperty, setEventNotifier
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ServiceUrlValueKey

public static org.apache.beehive.controls.api.properties.PropertyKey ServiceUrlValueKey
A PropertyKey that can be used to access the value property of the ServiceUrl PropertySet


EncodingValueKey

public static org.apache.beehive.controls.api.properties.PropertyKey EncodingValueKey
A PropertyKey that can be used to access the value property of the Encoding PropertySet

Constructor Detail

XFireClientControlBean

public XFireClientControlBean(org.apache.beehive.controls.api.context.ControlBeanContext context,
                              java.lang.String id,
                              org.apache.beehive.controls.api.properties.PropertyMap props)
This is the public constructor for the class. A client-defined control ID may be provided. This ID must be unique within the nesting ControlBeanContext.

Parameters:
context - The containing ControlBeanContext
id - The control identifier (or null to autogenerate a unique value)
props - The initialization Properties for the new instance (or null for defaults)

XFireClientControlBean

public XFireClientControlBean()
This is the public null-arg constructor for this ControlBean. If a control id is not provided, a unique value will be auto-generated.


XFireClientControlBean

protected XFireClientControlBean(org.apache.beehive.controls.api.context.ControlBeanContext context,
                                 java.lang.String id,
                                 org.apache.beehive.controls.api.properties.PropertyMap props,
                                 java.lang.Class controlClass)
This is the protected version that is used by any ControlBean subclass

Method Detail

getParameterNames

protected java.lang.String[] getParameterNames(java.lang.reflect.Method m)
Returns an array of parameter names for the request method, or null if no parameter data is available.

Overrides:
getParameterNames in class org.apache.beehive.controls.runtime.bean.ControlBean

beginInvoke

public void beginInvoke(org.apache.xmlbeans.XmlObject[] request,
                        org.apache.xmlbeans.XmlObject[] reqHeaders)
Implements org.controlhaus.xfire.client.XFireClientControl.beginInvoke

Specified by:
beginInvoke in interface XFireClientControl
Parameters:
request - The request as XMLBeans.

invoke

public org.apache.xmlbeans.XmlObject[] invoke(org.apache.xmlbeans.XmlObject[] request,
                                              org.apache.xmlbeans.XmlObject[] reqHeaders)
                                       throws java.io.IOException,
                                              org.codehaus.xfire.fault.XFireFault
Implements org.controlhaus.xfire.client.XFireClientControl.invoke

Specified by:
invoke in interface XFireClientControl
Parameters:
request - The request as XMLBeans.
Returns:
The response as XMLBeans.
Throws:
org.codehaus.xfire.fault.XFireFault
java.io.IOException

invoke

public org.apache.xmlbeans.XmlObject[] invoke(org.apache.xmlbeans.XmlObject[] request)
                                       throws java.io.IOException,
                                              org.codehaus.xfire.fault.XFireFault
Implements org.controlhaus.xfire.client.XFireClientControl.invoke

Specified by:
invoke in interface XFireClientControl
Parameters:
request - The request as XMLBeans.
Returns:
The response as XMLBeans.
Throws:
org.codehaus.xfire.fault.XFireFault
java.io.IOException

setServiceUrlValue

public void setServiceUrlValue(java.lang.String value)

getServiceUrlValue

public java.lang.String getServiceUrlValue()

setEncodingValue

public void setEncodingValue(java.lang.String value)

getEncodingValue

public java.lang.String getEncodingValue()

addEndInvokeCallbackListener

public void addEndInvokeCallbackListener(XFireClientControl.EndInvokeCallback listener)
Registers a new listener for EndInvokeCallback events on the bean.


removeEndInvokeCallbackListener

public void removeEndInvokeCallbackListener(XFireClientControl.EndInvokeCallback listener)
Unregisters an existing listener for EndInvokeCallback events on the bean.


getPropertyMapCache

protected java.util.Map getPropertyMapCache()
Specified by:
getPropertyMapCache in class org.apache.beehive.controls.runtime.bean.ControlBean


Copyright © 2004-2005 Controlhaus. All Rights Reserved.