001/******************************************************************************* 002 * Copyright (c) 2017 Red Hat Inc 003 * All rights reserved. This program and the accompanying materials 004 * are made available under the terms of the Eclipse Public License v1.0 005 * which accompanies this distribution, and is available at 006 * http://www.eclipse.org/legal/epl-v10.html 007 * 008 * Contributors: 009 * Jens Reimann - initial API and implementation 010 *******************************************************************************/ 011package de.dentrassi.varlink.spi; 012 013import static java.lang.annotation.ElementType.TYPE; 014import static java.lang.annotation.RetentionPolicy.RUNTIME; 015 016import java.lang.annotation.Documented; 017import java.lang.annotation.Retention; 018import java.lang.annotation.Target; 019 020@Retention(RUNTIME) 021@Target(TYPE) 022@Documented 023public @interface Interface { 024 public Class<? extends de.dentrassi.varlink.spi.Factory> factory(); 025 026 public String name() default ""; 027}