it.imolinfo.jbi4ejb.jbi.component.runtime
Class ServiceDescriptor

java.lang.Object
  extended by it.imolinfo.jbi4ejb.jbi.component.runtime.ServiceDescriptor

public class ServiceDescriptor
extends java.lang.Object

This class is a data model of the service that will be used to query the information about the service used in message exchange by service consumer or provider.

Author:
Sun Microsystems, Inc.

Nested Class Summary
static class ServiceDescriptor.OperationDescriptor
           
 
Constructor Summary
ServiceDescriptor()
          Creates a new instance of ServiceDescriptor
 
Method Summary
 java.lang.String getEndpointName()
          Getter for property EndpointName.
 ServiceDescriptor.OperationDescriptor[] getOperations()
          Getter for property mOperations.
 ServiceDescriptor.OperationDescriptor getOperations(int index)
          Indexed getter for property Operations.
 javax.jbi.messaging.MessageExchange.Role getRole()
          Getter for property Role.
 javax.xml.namespace.QName getServiceName()
          Getter for property ServiceName.
 javax.xml.namespace.QName getServiceType()
          returns a first servicetype in the servicetype array
 javax.xml.namespace.QName[] getServiceTypes()
          Getter for property ServiceTypes.
 javax.xml.namespace.QName getServiceTypes(int index)
          Indexed getter for property ServiceTypes.
 void setEndpointName(java.lang.String endpointName)
          Setter for property EndpointName.
 void setOperations(int index, ServiceDescriptor.OperationDescriptor operations)
          Indexed setter for property mOperations.
 void setOperations(ServiceDescriptor.OperationDescriptor[] operations)
          Setter for property mOperations.
 void setRole(javax.jbi.messaging.MessageExchange.Role role)
          Setter for property Role.
 void setServiceName(javax.xml.namespace.QName serviceName)
          Setter for property ServiceName.
 void setServiceTypes(int index, javax.xml.namespace.QName serviceTypes)
          Indexed setter for property mServiceTypes.
 void setServiceTypes(javax.xml.namespace.QName[] serviceTypes)
          Setter for property mServiceTypes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceDescriptor

public ServiceDescriptor()
Creates a new instance of ServiceDescriptor

Method Detail

getEndpointName

public java.lang.String getEndpointName()
Getter for property EndpointName.

Returns:
Value of property EndpointName.

setEndpointName

public void setEndpointName(java.lang.String endpointName)
Setter for property EndpointName.

Parameters:
endpointName - New value of property EndpointName.

getServiceName

public javax.xml.namespace.QName getServiceName()
Getter for property ServiceName.

Returns:
Value of property ServiceName.

setServiceName

public void setServiceName(javax.xml.namespace.QName serviceName)
Setter for property ServiceName.

Parameters:
serviceName - New value of property mServiceName.

getRole

public javax.jbi.messaging.MessageExchange.Role getRole()
Getter for property Role.

Returns:
Value of property Role.

setRole

public void setRole(javax.jbi.messaging.MessageExchange.Role role)
Setter for property Role.

Parameters:
role - New value of property Role.

getServiceTypes

public javax.xml.namespace.QName getServiceTypes(int index)
Indexed getter for property ServiceTypes.

Parameters:
index - Index of the property.
Returns:
Value of the property at index.

getServiceTypes

public javax.xml.namespace.QName[] getServiceTypes()
Getter for property ServiceTypes.

Returns:
Value of property ServiceTypes.

setServiceTypes

public void setServiceTypes(int index,
                            javax.xml.namespace.QName serviceTypes)
Indexed setter for property mServiceTypes.

Parameters:
index - Index of the property.
serviceTypes - New value of the property at index.

setServiceTypes

public void setServiceTypes(javax.xml.namespace.QName[] serviceTypes)
Setter for property mServiceTypes.

Parameters:
serviceTypes - New value of property ServiceTypes.

getServiceType

public javax.xml.namespace.QName getServiceType()
returns a first servicetype in the servicetype array

Returns:
service type Qname or null if no servicetypes are initialized

getOperations

public ServiceDescriptor.OperationDescriptor getOperations(int index)
Indexed getter for property Operations.

Parameters:
index - Index of the property.
Returns:
Value of the property at index.

getOperations

public ServiceDescriptor.OperationDescriptor[] getOperations()
Getter for property mOperations.

Returns:
Value of property mOperations.

setOperations

public void setOperations(int index,
                          ServiceDescriptor.OperationDescriptor operations)
Indexed setter for property mOperations.

Parameters:
index - Index of the property.
operations - New value of the property at index.

setOperations

public void setOperations(ServiceDescriptor.OperationDescriptor[] operations)
Setter for property mOperations.

Parameters:
operations - New value of property mOperations.


Copyright © 2007-2008 Imola Informatica. All Rights Reserved.