Search in sources :

Example 1 with StandardAdapterLibrary

use of com.dexels.navajo.adapter.StandardAdapterLibrary in project navajo by Dexels.

the class Version method start.

@Override
public void start(BundleContext bc) throws Exception {
    super.start(bc);
    bundleContext = bc;
    try {
        FunctionFactoryInterface fi = FunctionFactoryFactory.getInstance();
        fi.init();
        fi.clearFunctionNames();
        StandardAdapterFunctionLibrary extensionDef = new StandardAdapterFunctionLibrary();
        registerAll(extensionDef);
        StandardAdapterLibrary library = new StandardAdapterLibrary();
        registerAll(library);
    } catch (Throwable e) {
        logger.error("Trouble starting NavajoAdapters bundle", e);
    }
}
Also used : FunctionFactoryInterface(com.dexels.navajo.functions.util.FunctionFactoryInterface) StandardAdapterLibrary(com.dexels.navajo.adapter.StandardAdapterLibrary) StandardAdapterFunctionLibrary(com.dexels.navajo.adapter.functions.StandardAdapterFunctionLibrary)

Aggregations

StandardAdapterLibrary (com.dexels.navajo.adapter.StandardAdapterLibrary)1 StandardAdapterFunctionLibrary (com.dexels.navajo.adapter.functions.StandardAdapterFunctionLibrary)1 FunctionFactoryInterface (com.dexels.navajo.functions.util.FunctionFactoryInterface)1