class LmRuntimeBuilder {

    public LmRuntime build() throws IllegalStateException {

        if (targetRuntime == null) {
            throw new IllegalStateException("Required Cayenne 'targetRuntime' is not set");
        }

        if (tokenManager == null) {
            tokenManager = new InMemoryTokenManager();
        }

        Injector injector = DIBootstrap.createInjector(new LmRuntimeModule());
        return new DefaultLmRuntime(injector);
    }

    public  LmRuntimeBuilder();

}