Codota Logo
Produce.<init>
Code IndexAdd Codota to your IDE (free)

How to use
colesico.framework.ioc.Produce
constructor

Best Java code snippets using colesico.framework.ioc.Produce.<init> (Showing top 15 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Gson g =
  • Codota Iconnew Gson()
  • Codota IconGsonBuilder gsonBuilder;gsonBuilder.create()
  • Codota Iconnew GsonBuilder().create()
  • Smart code suggestions by Codota
}
origin: net.colesico.framework/colesico-resource

@Producer(RANK_MINOR)
@Produce(ResourceKitImpl.class)
@Produce(LocalizingTool.class)
@Produce(RewritingTool.class)
@Produce(EvaluationTool.class)
public class ResourceProducer {

  @Singleton
  public ResourceKit getResourcesKit(ResourceKitImpl impl) {
    return impl;
  }

}

origin: net.colesico.framework/colesico-restlet

/**
 * @author Vladlen Larionov
 */
@Producer(RANK_MINOR)
@Produce(RestletDataPortImpl.class)
@Produce(RestletTeleDriverImpl.class)
@Produce(JsonIterConverter.class)
public class RestletProducer {

  @Singleton
  public RestletDataPort getRestletDataPort(RestletDataPortImpl impl) {
    return impl;
  }

  @Singleton
  public RestletTeleDriver getRestletTeleDriver(RestletTeleDriverImpl impl) {
    return impl;
  }

  @Singleton
  public JsonConverter getJsonConverter(JsonIterConverter impl) {
    return impl;
  }

}

origin: net.colesico.framework/colesico-weblet

@Producer(Rank.RANK_MINOR)
@Produce(StringWriter.class)
@Produce(NavigationWriter.class)
@Produce(BinaryWriter.class)
@Produce(VariousWriter.class)
@Produce(PrincipalWriter.class)
@Produce(ProfileWriter.class)
public class WebletWritersProducer {
origin: net.colesico.framework/colesico-profile

@Producer(RANK_MINOR)
@Produce(DefaultProfileKit.class)
@Produce(ProfileConfigImpl.class)
public class ProfileProducer {

  @Singleton
  public ProfileKit getProfileKit(DefaultProfileKit impl) {
    return impl;
  }


  public Profile getProfile(ProfileKit kit) {
    return kit.getProfile();
  }

  public Locale getLocale(ProfileKit kit) {
    Profile profile = kit.getProfile();
    return profile != null ? profile.getLocale() : Locale.getDefault();
  }

  // Default config
  @Singleton
  public ProfileConfig getProfileConfig(ProfileConfigImpl impl) {
    return impl;
  }

}

origin: net.colesico.framework/colesico-weblet

@Producer(Rank.RANK_MINOR)
@Produce(BooleanReader.class)
@Produce(StringReader.class)
@Produce(ByteReader.class)
@Produce(IntegerReader.class)
@Produce(LongReader.class)
@Produce(FloatReader.class)
@Produce(DoubleReader.class)
@Produce(DateReader.class)
@Produce(LocalDateReader.class)
@Produce(LocalTimeReader.class)
@Produce(LocalDateTimeReader.class)
@Produce(HttpFileReader.class)
@Produce(PrincipalReader.class)
@Produce(ProfileReader.class)
public class WebletReadersProducer {
origin: net.colesico.framework/colesico-translation

@Producer(Rank.RANK_MINOR)
@Produce(TranslationKitImpl.class)
public class TranslationProducer {

  @Singleton
  public TranslationKit getTranslationKit(TranslationKitImpl impl) {
    return impl;
  }

}

origin: net.colesico.framework/colesico-webstatic

/**
 * @author Vladlen Larionov
 */
@Producer(RANK_MINOR)
@Produce(StaticContentBuilderImpl.class)
public class WebStaticProducer {
  @Unscoped
  public StaticContent.Builder getBuilder(StaticContentBuilderImpl impl) {
    return impl;
  }
}

origin: net.colesico.framework/colesico-weblet

@Producer(Rank.RANK_MINOR)
@Produce(CSRFProtector.class)
@Produce(WebletDataPortImpl.class)
@Produce(WebletTeleDriverImpl.class)
@Produce(AuthenticatorImpl.class)
public class WebletProducer {
origin: net.colesico.framework/colesico-eventbus

@Producer
@Produce(EventBusImpl.class)
public class EventBusProducer {

  @Singleton
  public EventBus getEventBus(EventBusImpl impl) {
    return impl;
  }
}

origin: net.colesico.framework/colesico-router

/**
 * @author Vladlen Larionov
 */
@Producer(RANK_MINOR)
@Produce(RouterImpl.class)
public class RouterProducer {

  @Singleton
  public Router getRouter(RouterImpl impl) {
    return impl;
  }

  public RouterContext getActionContext(ThreadScope threadScope) {
    return threadScope.get(RouterContext.SCOPE_KEY);
  }

}

origin: net.colesico.framework/colesico-security

@Producer(RANK_MINOR)
@Produce(DefaultSecurityKit.class)
public class SecurityProducer {

  @Singleton
  public SecurityKit getSecurityKit(DefaultSecurityKit impl) {
    return impl;
  }

  @Singleton
  public SecurityInterceptor getSecurityInterceptor(DefaultSecurityKit impl) {
    return impl;
  }

  public Principal getPrincipal(SecurityKit kit) {
    return kit.getPrincipal();
  }

}

origin: net.colesico.framework/colesico-weblet

@Genstamp(
    generator = "colesico.framework.translation.codegen.generator.IocGenerator",
    timestamp = "2019-02-17T16:15:15.212Z",
    hashId = "ef4f9735-cbca-40ff-bab6-d9eef0db14fe"
)
@Producer("minor")
@Produce(WebletMessagesImpl.class)
public class TranslationProducer {
  public WebletMessages getWebletMessages0(final WebletMessagesImpl impl) {
    return impl;
  }
}

origin: net.colesico.framework/colesico-validation

@Genstamp(
    generator = "colesico.framework.translation.codegen.generator.IocGenerator",
    timestamp = "2019-02-17T16:14:41.033Z",
    hashId = "5468cd70-324f-4f4d-85b6-dca6763fcecf"
)
@Producer("minor")
@Produce(ValidatorMessagesImpl.class)
public class TranslationProducer {
  public ValidatorMessages getValidatorMessages0(final ValidatorMessagesImpl impl) {
    return impl;
  }
}

origin: net.colesico.framework/colesico-validation

@Genstamp(
    generator = "colesico.framework.config.codegen.IocGenerator",
    timestamp = "2019-02-17T16:14:40.952Z",
    hashId = "75ffd509-e788-4303-8381-bbcfbc5db66f"
)
@Producer("default")
@Produce(ResourceConf.class)
public class ConfigDefaultProducer {
  @Singleton
  @Polyproduce
  public ResourceConfig getResourceConf(final ResourceConf config) {
    return config;
  }
}

origin: net.colesico.framework/colesico-weblet

@Genstamp(
    generator = "colesico.framework.config.codegen.IocGenerator",
    timestamp = "2019-02-17T16:15:15.223Z",
    hashId = "1368fb21-85b5-408d-9cbb-948cbc37f713"
)
@Producer("default")
@Produce(ResourceConf.class)
public class ConfigDefaultProducer {
  @Singleton
  @Polyproduce
  public ResourceConfig getResourceConf(final ResourceConf config) {
    return config;
  }
}

colesico.framework.iocProduce<init>

Popular methods of Produce

  • classed
  • named
  • polyproduce
  • value

Popular in Java

  • Parsing JSON documents to java classes using gson
  • compareTo (BigDecimal)
  • getContentResolver (Context)
  • scheduleAtFixedRate (Timer)
    Schedules the specified task for repeated fixed-rate execution, beginning after the specified delay.
  • ObjectMapper (com.fasterxml.jackson.databind)
    This mapper (or, data binder, or codec) provides functionality for converting between Java objects (
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • MalformedURLException (java.net)
    Thrown to indicate that a malformed URL has occurred. Either no legal protocol could be found in a s
  • DecimalFormat (java.text)
    DecimalFormat is a concrete subclass ofNumberFormat that formats decimal numbers. It has a variety o
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • Runner (org.openjdk.jmh.runner)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now