/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. 
 */
package org.ocelotds.annotations;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import javax.enterprise.util.Nonbinding;
import javax.inject.Qualifier;

/**
 * Annotation allows identify explosed classes to clients
 *
 * @author hhfrancois
 */
@Qualifier
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE, ElementType.FIELD, ElementType.METHOD, ElementType.PARAMETER})
public @interface DataService {

	@Nonbinding String resolver();

	@Nonbinding String name() default "";
}

@@ -467,16 +467,47 @@
 alifier;
+%0Aimport org.ocelotds.Constants;
 %0A%0A/**%0A *
@@ -791,16 +791,47 @@
 solver()
+ default Constants.Resolver.CDI
 ;%0A%0A%09@Non

set default CDI Resolver