org.kuali.rice.ksb.api.bus.support
Class JavaServiceDefinition

java.lang.Object
  extended by org.kuali.rice.ksb.api.bus.support.AbstractServiceDefinition
      extended by org.kuali.rice.ksb.api.bus.support.JavaServiceDefinition
All Implemented Interfaces:
ServiceDefinition

public class JavaServiceDefinition
extends AbstractServiceDefinition

Author:
Kuali Rice Team (rice.collab@kuali.org)

Nested Class Summary
protected static class JavaServiceDefinition.Elements
          A private class which exposes constants which define the XML element names to use when this object is marshalled to XML.
 
Constructor Summary
JavaServiceDefinition()
           
 
Method Summary
protected  ServiceConfiguration configure()
           
 String getServiceInterface()
           
 List<String> getServiceInterfaces()
           
 String getType()
          Returns the type of this service.
 void setServiceInterface(String serviceName)
           
 void setServiceInterfaces(List<String> serviceInterfaces)
           
 void validate()
          Validates the service definition after creation of the service definition.
 
Methods inherited from class org.kuali.rice.ksb.api.bus.support.AbstractServiceDefinition
equals, establishEndpoint, getApplicationId, getBusSecurity, getCredentialsType, getEndpointUrl, getInstanceId, getLocalServiceName, getMessageExceptionHandler, getMillisToLive, getPriority, getRetryAttempts, getService, getServiceClassLoader, getServiceName, getServiceNameSpaceURI, getServicePath, getServiceVersion, hashCode, isBasicAuthentication, isQueue, setApplicationId, setBasicAuthentication, setBusSecurity, setCredentialsType, setEndpointUrl, setInstanceId, setLocalServiceName, setMessageExceptionHandler, setMillisToLive, setPriority, setQueue, setRetryAttempts, setService, setServiceClassLoader, setServiceName, setServiceNameSpaceURI, setServicePath, setServiceVersion, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JavaServiceDefinition

public JavaServiceDefinition()
Method Detail

getType

public String getType()
Description copied from interface: ServiceDefinition
Returns the type of this service.

Returns:
the type of this service

getServiceInterfaces

public List<String> getServiceInterfaces()

setServiceInterfaces

public void setServiceInterfaces(List<String> serviceInterfaces)

setServiceInterface

public void setServiceInterface(String serviceName)

getServiceInterface

public String getServiceInterface()

validate

public void validate()
Description copied from interface: ServiceDefinition
Validates the service definition after creation of the service definition. It's intended that portions of the KSB that handle publication and export of services to the bus will execute this prior to successful export of the service.

Specified by:
validate in interface ServiceDefinition
Overrides:
validate in class AbstractServiceDefinition

configure

protected ServiceConfiguration configure()
Specified by:
configure in class AbstractServiceDefinition


Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.