@Retention(value=RUNTIME) @Target(value=METHOD) public @interface Initialize
public initialize() will be invoked after initialization is finished.Initialize annotation can
also be used on "private"/"protected"/default scope methods.
Example: public class SomeViewModel implementsViewModel{ // mvvmFx injections @InjectScopeprivate SomeScope someScope; ... @Initialize private void init() { someScope.subscribe(...); ... } }
Copyright © 2019 Saxonia Systems AG. All rights reserved.