Skip to content

Instantly share code, notes, and snippets.

@bitbrain
Created October 7, 2014 14:05
Show Gist options
  • Save bitbrain/333316765e82f40adba8 to your computer and use it in GitHub Desktop.
Save bitbrain/333316765e82f40adba8 to your computer and use it in GitHub Desktop.
package de.bitbrain.guice;
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 com.google.inject.ScopeAnnotation;
@Target({ TYPE, METHOD }) @Retention(RUNTIME) @ScopeAnnotation
public @interface StateScoped {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment