public String getName() {
        return siddhiAppContext.getName();
    }
Keep streamDefinitions, partitionRuntimes, queryRuntimes of an SiddhiApp and streamJunctions and inputHandlers used.
modules/siddhi-core/src/main/java/io/siddhi/core/SiddhiAppRuntimeImpl.java