Tabnine Logo
Produce.<init>
Code IndexAdd Tabnine 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)

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-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;
  }
}

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;
  }
}

colesico.framework.iocProduce<init>

Popular methods of Produce

  • classed
  • named
  • polyproduce
  • value

Popular in Java

  • Reactive rest calls using spring rest template
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • notifyDataSetChanged (ArrayAdapter)
  • putExtra (Intent)
  • Set (java.util)
    A Set is a data structure which does not allow duplicate elements.
  • Stack (java.util)
    Stack is a Last-In/First-Out(LIFO) data structure which represents a stack of objects. It enables u
  • TreeSet (java.util)
    TreeSet is an implementation of SortedSet. All optional operations (adding and removing) are support
  • Pattern (java.util.regex)
    Patterns are compiled regular expressions. In many cases, convenience methods such as String#matches
  • DataSource (javax.sql)
    An interface for the creation of Connection objects which represent a connection to a database. This
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
  • Top Sublime Text plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now