weborb.inspection
Class ServiceDescriptor

java.lang.Object
  extended by weborb.util.Value
      extended by weborb.inspection.ServiceDescriptor
All Implemented Interfaces:
IInspectionConstants, INamedType, IUseDirectFieldAccess

public class ServiceDescriptor
extends Value
implements INamedType, IInspectionConstants, IUseDirectFieldAccess

ServiceDescriptor ServiceDescriptor contains an inspection summary of a service. It is used for object inspection and contains a list of methods available in a service as well as service description

Author:
Midnight Coders, LLC

Field Summary
 java.lang.String address
           
 java.lang.String description
           
 java.lang.String version
           
 
Fields inherited from interface weborb.inspection.IInspectionConstants
ARGUMENTMETADATA, FUNCTIONMETADATA, SERVICEMETADATA
 
Constructor Summary
ServiceDescriptor()
           
 
Method Summary
 void addMethod(MethodDescriptor method)
          Add a method for the service
 java.lang.Object getObject()
          This is a method override from Value.
 java.lang.String getTypeName()
          This method should nt be used publicly, it is here for proper object serialization
 void setAddress(java.lang.String address)
          Set address of the inspected service.
 void setDescription(java.lang.String description)
          Set service description.
 
Methods inherited from class weborb.util.Value
getAuthor, setAuthor, setObject
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

address

public java.lang.String address

version

public java.lang.String version

description

public java.lang.String description
Constructor Detail

ServiceDescriptor

public ServiceDescriptor()
Method Detail

setAddress

public void setAddress(java.lang.String address)
Set address of the inspected service. This method should not be used in the implementations. It is called by the framework upon successful inspection

Parameters:
address - address of the inspected service

addMethod

public void addMethod(MethodDescriptor method)
Add a method for the service

Parameters:
method -

setDescription

public void setDescription(java.lang.String description)
Set service description.

Parameters:
description -

getObject

public java.lang.Object getObject()
This is a method override from Value. It should not be used publicly

Overrides:
getObject in class Value
Returns:

getTypeName

public java.lang.String getTypeName()
This method should nt be used publicly, it is here for proper object serialization

Specified by:
getTypeName in interface INamedType
Returns:


Discuss WebORB

Copyright 2003-2008 Midnight Coders, Inc. All Rights Reserved.