Class AbstractServiceConfiguration
java.lang.Object
org.kuali.rice.core.api.mo.AbstractDataTransferObject
org.kuali.rice.ksb.api.bus.support.AbstractServiceConfiguration
- All Implemented Interfaces:
Serializable,ModelObjectBasic,ModelObjectComplete,ServiceConfiguration
- Direct Known Subclasses:
JavaServiceConfiguration,SoapServiceConfiguration
public abstract class AbstractServiceConfiguration
extends AbstractDataTransferObject
implements ServiceConfiguration
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static classprotected static classDefines some internal constants used on this class.protected static classA private class which exposes constants which define the XML element names to use when this object is marshalled to XML. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor intended for use only by JAXB.protected -
Method Summary
Modifier and TypeMethodDescriptionReturns the id of the application which owns this service.Returns true if this service is secured by standard KSB security features.Returns the type of security credentials that should be used when attempting to authorize access to this service.Returns the URL of the endpoint which provides this service.Returns the id of the specific instance of the application which owns this service.Returns the name of the exception handler to invoke whenever messages to this service fail to be sent.Returns the maximum amount of milliseconds a message to this service can live and attempt to be processed successfully by this service before it's forced into processing by it's exception handler.Returns the processing priority for messages that are sent to this service.Returns the retry attempts to use when processing messages sent to this service.Returns the qualified name for this service.Returns the version of this service.getType()Returns the type of this service.Returns whether the service is secured with basic authenticationbooleanisQueue()Return true if this service uses queue-style messaging, false if it uses topic-style messaging.Methods inherited from class org.kuali.rice.core.api.mo.AbstractDataTransferObject
afterUnmarshal, beforeUnmarshal, equals, equalsExcludeFields, getDefaultHashCodeEqualsExcludeFields, hashCode, hashCodeExcludeFields, toString
-
Constructor Details
-
AbstractServiceConfiguration
protected AbstractServiceConfiguration()Constructor intended for use only by JAXB. -
AbstractServiceConfiguration
-
-
Method Details
-
getServiceName
Description copied from interface:ServiceConfigurationReturns the qualified name for this service.- Specified by:
getServiceNamein interfaceServiceConfiguration- Returns:
- the qualified name for this service, should never be null
-
getEndpointUrl
Description copied from interface:ServiceConfigurationReturns the URL of the endpoint which provides this service.- Specified by:
getEndpointUrlin interfaceServiceConfiguration- Returns:
- the endpoint URL of the service, should never be null
-
getInstanceId
Description copied from interface:ServiceConfigurationReturns the id of the specific instance of the application which owns this service.- Specified by:
getInstanceIdin interfaceServiceConfiguration- Returns:
- the id of the specific instance of the application which owns this service, should never be null
-
getApplicationId
Description copied from interface:ServiceConfigurationReturns the id of the application which owns this service.- Specified by:
getApplicationIdin interfaceServiceConfiguration- Returns:
- the id of the application which owns this service, should never be null
-
getServiceVersion
Description copied from interface:ServiceConfigurationReturns the version of this service.- Specified by:
getServiceVersionin interfaceServiceConfiguration- Returns:
- the version of this service, should never be null
-
getType
Description copied from interface:ServiceConfigurationReturns the type of this service.- Specified by:
getTypein interfaceServiceConfiguration- Returns:
- the type of this service, should never be null
-
isQueue
public boolean isQueue()Description copied from interface:ServiceConfigurationReturn true if this service uses queue-style messaging, false if it uses topic-style messaging.- Specified by:
isQueuein interfaceServiceConfiguration- Returns:
- true if this service uses queue-style messaging, false if it uses topic-style messaging
-
getPriority
Description copied from interface:ServiceConfigurationReturns the processing priority for messages that are sent to this service.- Specified by:
getPriorityin interfaceServiceConfiguration- Returns:
- the message processing priority for this service
-
getRetryAttempts
Description copied from interface:ServiceConfigurationReturns the retry attempts to use when processing messages sent to this service.- Specified by:
getRetryAttemptsin interfaceServiceConfiguration- Returns:
- the retry attempts for this service
-
getMillisToLive
Description copied from interface:ServiceConfigurationReturns the maximum amount of milliseconds a message to this service can live and attempt to be processed successfully by this service before it's forced into processing by it's exception handler.- Specified by:
getMillisToLivein interfaceServiceConfiguration- Returns:
- the maximum lifetime for this message, if null then this message has an infinite lifetime
-
getMessageExceptionHandler
Description copied from interface:ServiceConfigurationReturns the name of the exception handler to invoke whenever messages to this service fail to be sent. If null, the default message exception handler will be used.- Specified by:
getMessageExceptionHandlerin interfaceServiceConfiguration- Returns:
- the name of the message exception handler for this service, or null if the default handler should be used
-
getBusSecurity
Description copied from interface:ServiceConfigurationReturns true if this service is secured by standard KSB security features.- Specified by:
getBusSecurityin interfaceServiceConfiguration- Returns:
- true if this service is secured, false otherwise
-
getCredentialsType
Description copied from interface:ServiceConfigurationReturns the type of security credentials that should be used when attempting to authorize access to this service.- Specified by:
getCredentialsTypein interfaceServiceConfiguration- Returns:
- the type of security credentials to use when access this service
-
isBasicAuthentication
Description copied from interface:ServiceConfigurationReturns whether the service is secured with basic authentication- Specified by:
isBasicAuthenticationin interfaceServiceConfiguration
-