public interface IFrameworkInitializer

Framework initializer interface.

Implement this interface with a class and mark that class with a org.moe.natj.general.ann.RegisterOnStartup. With this, framework initialization can be done even before the main entry have been entered.



public Set<String> getExternalPackages()

Should return a list of Java packages.

If NatJ could not resolve a type based on its name prefix, then it will fallback to these packages.

Returns:List of Java packages


public Map<String, Set<String>> getExternalPackagesAndPrefixes()

Should return a map containing the preferable Java packages and Objective-C prefixes.

Returns:Map of preferred Java package-Objective-C prefix pairs