org.kuali.rice.ksb.messaging
Class ServiceDefinition

java.lang.Object
  extended by org.kuali.rice.ksb.messaging.ServiceDefinition
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
JavaServiceDefinition, RESTServiceDefinition, SOAPServiceDefinition

public abstract class ServiceDefinition
extends Object
implements Serializable

The definition of a service on the service bus.

Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
Serialized Form

Field Summary
private  Boolean busSecurity
           
private  CredentialsSource.CredentialsType credentialsType
           
private  String localServiceName
           
private static org.apache.log4j.Logger LOG
           
private  String messageExceptionHandler
           
private  Long millisToLive
           
private  Integer priority
           
private  Boolean queue
           
private  Integer retryAttempts
           
private static long serialVersionUID
           
private  Object service
           
private  ClassLoader serviceClassLoader
           
private  URL serviceEndPoint
           
private  QName serviceName
           
private  String serviceNamespace
           
private  String serviceNameSpaceURI
           
private  String servicePath
           
 
Constructor Summary
ServiceDefinition()
           
ServiceDefinition(Boolean busSecurity)
           
 
Method Summary
 Boolean getBusSecurity()
           
 CredentialsSource.CredentialsType getCredentialsType()
           
 String getLocalServiceName()
           
 String getMessageExceptionHandler()
           
 Long getMillisToLive()
           
 Integer getPriority()
           
 Boolean getQueue()
           
 Integer getRetryAttempts()
           
 Object getService()
           
 ClassLoader getServiceClassLoader()
           
 URL getServiceEndPoint()
           
 QName getServiceName()
           
 String getServiceNameSpaceURI()
           
 String getServicePath()
           
 boolean isSame(ServiceDefinition serviceDefinition)
           
 void setBusSecurity(Boolean busSecurity)
           
 void setCredentialsType(CredentialsSource.CredentialsType credentialsType)
           
 void setLocalServiceName(String serviceName)
           
 void setMessageExceptionHandler(String messageExceptionHandler)
           
 void setMillisToLive(Long millisToLive)
           
 void setPriority(Integer priority)
           
 void setQueue(Boolean queue)
           
 void setRetryAttempts(Integer retryAttempts)
           
 void setService(Object service)
           
 void setServiceClassLoader(ClassLoader serviceClassLoader)
           
 void setServiceEndPoint(URL serviceEndPoint)
           
 void setServiceName(QName serviceName)
           
 void setServiceNameSpaceURI(String serviceNameSpaceURI)
           
 void setServicePath(String servicePath)
           
 String toString()
           
 void validate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

LOG

private static final org.apache.log4j.Logger LOG

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

service

private transient Object service

localServiceName

private String localServiceName

serviceNameSpaceURI

private String serviceNameSpaceURI

serviceName

private transient QName serviceName

queue

private Boolean queue

priority

private Integer priority

retryAttempts

private Integer retryAttempts

millisToLive

private Long millisToLive

messageExceptionHandler

private String messageExceptionHandler

servicePath

private String servicePath

serviceEndPoint

private URL serviceEndPoint

busSecurity

private Boolean busSecurity

credentialsType

private CredentialsSource.CredentialsType credentialsType

serviceNamespace

private String serviceNamespace

serviceClassLoader

private transient ClassLoader serviceClassLoader
Constructor Detail

ServiceDefinition

public ServiceDefinition()

ServiceDefinition

public ServiceDefinition(Boolean busSecurity)
Method Detail

getService

public Object getService()

setService

public void setService(Object service)

getLocalServiceName

public String getLocalServiceName()

setLocalServiceName

public void setLocalServiceName(String serviceName)

getMessageExceptionHandler

public String getMessageExceptionHandler()

setMessageExceptionHandler

public void setMessageExceptionHandler(String messageExceptionHandler)

getPriority

public Integer getPriority()

setPriority

public void setPriority(Integer priority)

getQueue

public Boolean getQueue()

setQueue

public void setQueue(Boolean queue)

getRetryAttempts

public Integer getRetryAttempts()

setRetryAttempts

public void setRetryAttempts(Integer retryAttempts)

getServiceName

public QName getServiceName()

setServiceName

public void setServiceName(QName serviceName)

getServiceEndPoint

public URL getServiceEndPoint()

setServiceEndPoint

public void setServiceEndPoint(URL serviceEndPoint)

setCredentialsType

public void setCredentialsType(CredentialsSource.CredentialsType credentialsType)

getCredentialsType

public CredentialsSource.CredentialsType getCredentialsType()

getServiceClassLoader

public ClassLoader getServiceClassLoader()

setServiceClassLoader

public void setServiceClassLoader(ClassLoader serviceClassLoader)

validate

public void validate()

getServiceNameSpaceURI

public String getServiceNameSpaceURI()

setServiceNameSpaceURI

public void setServiceNameSpaceURI(String serviceNameSpaceURI)

getMillisToLive

public Long getMillisToLive()

setMillisToLive

public void setMillisToLive(Long millisToLive)

getBusSecurity

public Boolean getBusSecurity()

setBusSecurity

public void setBusSecurity(Boolean busSecurity)

isSame

public boolean isSame(ServiceDefinition serviceDefinition)

toString

public String toString()
Overrides:
toString in class Object

getServicePath

public String getServicePath()
Returns:
the servicePath

setServicePath

public void setServicePath(String servicePath)
Parameters:
servicePath - the servicePath to set


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.