}
private static Map<Operation<?>, InboundInvocationChain> createInboundChains(Class<?> interfaze)
throws InvalidServiceContractException {
Map<Operation<?>, InboundInvocationChain> invocations = new HashMap<Operation<?>, InboundInvocationChain>();
JavaInterfaceProcessorRegistry registry = new JavaInterfaceProcessorRegistryImpl();
ServiceContract<?> contract = registry.introspect(interfaze);
for (Operation<?> operation : contract.getOperations().values()) {
InboundInvocationChain chain = new InboundInvocationChainImpl(operation);
// add tail interceptor
//chain.addInterceptor(new InvokerInterceptor());
invocations.put(operation, chain);