|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.savarese.unicorn.ui.AbstractObjectPanelModel<javax.wsdl.Service>
org.savarese.unicorn.ui.WebServicePanelModel
public class WebServicePanelModel
An ObjectPanelModel implementation for Web services with
WSDL definitions.
| Field Summary |
|---|
| Fields inherited from class org.savarese.unicorn.ui.AbstractObjectPanelModel |
|---|
_listeners_, _object_ |
| Constructor Summary | |
|---|---|
WebServicePanelModel(javax.wsdl.Definition wsdl,
javax.wsdl.Service service)
Instantiates a WebServicePanelModel that wraps the provided Web service from the accompanying WSDL definition. |
|
| Method Summary | |
|---|---|
java.lang.Object |
getAttribute(java.lang.String attribute)
Retrieves a named attribute from the adapted object. |
javax.management.MBeanInfo |
getObjectInfo()
Returns a description of the object. |
java.lang.String |
getObjectName()
Returns a string that identifies the object. |
java.lang.Object |
invoke(java.lang.String operation,
java.lang.Object[] params,
java.lang.Class[] types,
java.lang.String[] signature)
Invokes an operation of the adapted object and returns its result, if any. |
boolean |
isValid()
Determines if the model is in a valid state. |
void |
setAttribute(java.lang.String attribute,
java.lang.Object value)
Sets the value of a named attribute of the adapted object. |
void |
setObject(javax.wsdl.Service service)
Sets the object to be adapted to the interface. |
| Methods inherited from class org.savarese.unicorn.ui.AbstractObjectPanelModel |
|---|
_notifyListeners_, addObjectPanelModelListener, getObject, removeObjectPanelModelListener |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WebServicePanelModel(javax.wsdl.Definition wsdl,
javax.wsdl.Service service)
wsdl - The WSDL definition containing the Web service description.service - The Web service to wrap.| Method Detail |
|---|
public void setAttribute(java.lang.String attribute,
java.lang.Object value)
ObjectPanelModel
attribute - The name of the attribute to set.value - The new value of the attribute.public java.lang.Object getAttribute(java.lang.String attribute)
ObjectPanelModel
attribute - The name of the attribute to retrieve.
public void setObject(javax.wsdl.Service service)
ObjectPanelModel
setObject in interface ObjectPanelModel<javax.wsdl.Service>setObject in class AbstractObjectPanelModel<javax.wsdl.Service>service - The object to be adapted.
public java.lang.Object invoke(java.lang.String operation,
java.lang.Object[] params,
java.lang.Class[] types,
java.lang.String[] signature)
throws java.lang.NoSuchMethodException,
org.apache.wsif.WSIFException
ObjectPanelModel
operation - The name of the operation to invoke.params - An array of parameters for the operation.types - An array containing the types of the operation parameters.signature - A string representation of the types (i.e., the
fully qualified class names) of the operation parameters.
java.lang.NoSuchMethodException
org.apache.wsif.WSIFExceptionpublic java.lang.String getObjectName()
ObjectPanelModel
getObjectName in interface ObjectPanelModel<javax.wsdl.Service>getObjectName in class AbstractObjectPanelModel<javax.wsdl.Service>public javax.management.MBeanInfo getObjectInfo()
ObjectPanelModel
public boolean isValid()
ObjectPanelModel
isValid in interface ObjectPanelModel<javax.wsdl.Service>isValid in class AbstractObjectPanelModel<javax.wsdl.Service>
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||