public class ESBServiceValidator
extends java.lang.Object
| Constructor and Description |
|---|
ESBServiceValidator(com.aurea.sonic.esb.annotation.util.ProcessorContext context)
Constructs a new ESBServiceValidator from
context |
| Modifier and Type | Method and Description |
|---|---|
boolean |
validateService(ServiceModel service)
This method validates the given
service regarding to following rules. |
public ESBServiceValidator(com.aurea.sonic.esb.annotation.util.ProcessorContext context)
contextcontext - processor contextProcessorContextpublic boolean validateService(ServiceModel service)
service regarding to following rules.
Validation rules:
service must have at least one OperationModelservice attributes must have public setter methods.service operations must be public, must not be static, must have return typeservice - service model to be validatedtrue if service is valid, otherwise false