org.resilientedge.jockey.servicebridge
Class SBServiceDescriptor

java.lang.Object
  |
  +--org.resilientedge.jockey.servicebridge.SBServiceDescriptor

public class SBServiceDescriptor
extends java.lang.Object

Describes a service that is available in the platform.

Version:
$Revision: 1.1.1.1 $
Author:
John

Constructor Summary
SBServiceDescriptor()
           
 
Method Summary
 void addCallDescriptor(SBServiceCallDescriptor descriptor)
           
 SBServiceCall createCallObject(java.lang.String callName, java.lang.Object[] parameters)
          createCallObject looks up a given method for a service and creates ( and populates the call values ) a SBServiceCall for that web service method.
 boolean equals(java.lang.Object otherObject)
           
 SBServiceCallDescriptor getCallDescriptor(java.lang.String callName)
          getCallDescriptor returns a descriptor for a given method
 java.util.ArrayList getCallDescriptors()
          gets the service calls offered by the service
 java.lang.String getName()
          Gets the name
 java.lang.String getServiceId()
          Gets the unique service descriptor id
 java.lang.String getVersion()
          Get the version of this Service
 void setCallDescriptors(java.util.ArrayList descriptors)
           
 void setName(java.lang.String newValue)
          Sets the name
 void setServiceId(java.lang.String newValue)
          Sets the unique service descriptor id
 void setVersion(java.lang.String version)
          Set the version for this service
 java.lang.String toDebugString()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SBServiceDescriptor

public SBServiceDescriptor()
Method Detail

getName

public java.lang.String getName()
Gets the name

setName

public void setName(java.lang.String newValue)
Sets the name

getServiceId

public java.lang.String getServiceId()
Gets the unique service descriptor id

getVersion

public java.lang.String getVersion()
Get the version of this Service
Returns:
the String version

setVersion

public void setVersion(java.lang.String version)
Set the version for this service
Parameters:
v - Value to assign to version.

setServiceId

public void setServiceId(java.lang.String newValue)
Sets the unique service descriptor id

getCallDescriptors

public java.util.ArrayList getCallDescriptors()
gets the service calls offered by the service

getCallDescriptor

public SBServiceCallDescriptor getCallDescriptor(java.lang.String callName)
getCallDescriptor returns a descriptor for a given method
Parameters:
callName - a String value for the method name that you wish to get a descriptor for.
Returns:
a SBServiceCallDescriptor for the given method

createCallObject

public SBServiceCall createCallObject(java.lang.String callName,
                                      java.lang.Object[] parameters)
createCallObject looks up a given method for a service and creates ( and populates the call values ) a SBServiceCall for that web service method.
Parameters:
callName - a String the name of the method to create a SBServiceCall for.
parameters - an Object[] of values that will be the actual paramaters of the call
Returns:
a SBServiceCall value that can be invoked by the service

addCallDescriptor

public void addCallDescriptor(SBServiceCallDescriptor descriptor)

setCallDescriptors

public void setCallDescriptors(java.util.ArrayList descriptors)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

toDebugString

public java.lang.String toDebugString()

equals

public boolean equals(java.lang.Object otherObject)
Overrides:
equals in class java.lang.Object


Copyright © 2001 Resilient Edge, Inc. All Rights Reserved.