org.gecko.emf.jaxrs.annotations.RequireEMFMessageBodyReaderWriter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of org.gecko.emf.jaxrs Show documentation
Show all versions of org.gecko.emf.jaxrs Show documentation
Extension to load and save EMF EObjects using a MessageBodyReader or -Writer
The newest version!
/**
* Copyright (c) 2012 - 2022 Data In Motion and others.
* All rights reserved.
*
* This program and the accompanying materials are made available under the terms of the
* Eclipse Public License v2.0 which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v20.html
*
* Contributors:
* Data In Motion - initial API and implementation
*/
package org.gecko.emf.jaxrs.annotations;
import static java.lang.annotation.ElementType.PACKAGE;
import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.RetentionPolicy.CLASS;
import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
import org.osgi.annotation.bundle.Requirement;
@Documented
@Retention(CLASS)
@Target({ TYPE, PACKAGE })
@Requirement(
namespace = "gecko.rest.addon",
name = "messagebody.emf"
)
/**
* Metaannotation to generate a Require Capability for EMFJson
* @author Juergen Albert
* @since 22 Feb 2018
*/
public @interface RequireEMFMessageBodyReaderWriter{
}