class SimpleApplicationWrapper implements ApplicationWrapper {

    @Deactivate
    protected void stop() {
        LOG.trace("Stopping \"" + applicationId + "\" application...");
        try (RepositoryConnection conn = repository.getConnection()) {
            conn.remove(factory.createIRI(NAMESPACE + applicationId), null, null);
        }
        LOG.debug("Application \"" + applicationId + "\" stopped.");
    }

}