org.sca4j.introspection.contract
Interface ContractProcessor
public interface ContractProcessor
Interface for processors that can construct a ServiceContract from a Java type.
- Version:
- $Rev: 4286 $ $Date: 2008-05-21 20:56:34 +0100 (Wed, 21 May 2008) $
|
Method Summary |
org.sca4j.scdl.ServiceContract |
introspect(TypeMapping typeMapping,
java.lang.reflect.Type type,
org.sca4j.scdl.ValidationContext context)
Introspect a Java Type (e.g. |
introspect
org.sca4j.scdl.ServiceContract introspect(TypeMapping typeMapping,
java.lang.reflect.Type type,
org.sca4j.scdl.ValidationContext context)
- Introspect a Java Type (e.g. a Class) and return the ServiceContract. If validation errors or warnings are encountered, they will be reported
in the ValidationContext.
- Parameters:
typeMapping - the type mapping for the interfacetype - the Java Type to introspectcontext - the validation context for reporting errors and warnings
- Returns:
- the ServiceContract corresponding to the interface type
Copyright © 2008-2011 Service Symphony. All Rights Reserved.