sPFLib/src/main/java/it/polimi/spf/lib/services/SPFServiceLocalExecutor.java
public <E> E createStub(Class<E> serviceInterface, ClassLoader classLoader) {
		return InvocationStub.from(serviceInterface, classLoader, mLocalInvocationTarget);
	}
public <E> E createStub(Class<E> serviceInterface, ClassLoader classLoader) {
		return InvocationStub.from(serviceInterface, classLoader, mLocalInvocationTarget);
	}
public < E > E createStub ( Class < E > serviceInterface , ClassLoader classLoader ) { return InvocationStub . from ( serviceInterface , classLoader , mLocalInvocationTarget ) ; }
Creates an invocation stub to send service invocation requests to the
local person performing method calls. The stub is created from a provided
service interface, which must be annotated with {@link ServiceInterface}
describing the service. The method returns an object implementing the
aforementioned interface that can be used to perform method invocation.

@param serviceInterface
- the interface of the service.
@param classLoader
- the ClassLoader to load classes.
@return an invocation stub to perform method calls.
Creates an invocation stub to send service invocation requests to the local person performing method calls . The stub is created from a provided service interface which must be annotated with { @link ServiceInterface } describing the service . The method returns an object implementing the aforementioned interface that can be used to perform method invocation .