Skip to content
This repository has been archived by the owner on May 26, 2020. It is now read-only.

Commit

Permalink
Revert ServiceComponent changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinYSpasov committed Jun 15, 2018
1 parent 3b46608 commit 4645c68
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,23 +1,24 @@
package uk.gov.justice.services.core.annotation;

import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import javax.enterprise.context.ApplicationScoped;
import javax.enterprise.util.Nonbinding;
import javax.inject.Qualifier;

/**
* Identifies service components. <p> Usage: @ServiceComponent({@link Component#COMMAND_API})
*/
@Qualifier
@Retention(RUNTIME)
@Target({TYPE, FIELD})
@Target({TYPE, FIELD,METHOD })
@ApplicationScoped
public @interface ServiceComponent {

String value();
@Nonbinding String value();
}

0 comments on commit 4645c68

Please sign in to comment.