sPFLib/src/main/java/it/polimi/spf/lib/SPFPerson.java
public <E> E getServiceInterface(Class<E> serviceInterface, SPF spf) {
		if (spf == null || serviceInterface == null) {
			throw new NullPointerException();
		}

		return spf
				.<SPFServiceExecutor> getComponent(SPF.SERVICE_EXECUTION)
				.createStub(this, serviceInterface, getClass().getClassLoader());
	}
public <E> E getServiceInterface(Class<E> serviceInterface, SPF spf) {
		if (spf == null || serviceInterface == null) {
			throw new NullPointerException();
		}

		return spf
				.<SPFServiceExecutor> getComponent(SPF.SERVICE_EXECUTION)
				.createStub(this, serviceInterface, getClass().getClassLoader());
	}
Shorthand method to create an invocation interface for {@code this} person.

@param serviceInterface
@param spf
@return