package org.qi4j.tutorials.composites.tutorial8; import org.qi4j.api.injection.scope.This; /** * This is the implementation of the HelloWorld * behaviour interface. *

* This version access the state using Qi4j Properties. */ public class HelloWorldBehaviourMixin implements HelloWorldBehaviour { @This HelloWorldState state; public String say() { return state.phrase().get() + " " + state.name().get(); } }