Tabnine Logo
Service
Code IndexAdd Tabnine to your IDE (free)

How to use
Service
in
uk.org.retep.annotations

Best Java code snippets using uk.org.retep.annotations.Service (Showing top 20 results out of 315)

origin: uk.org.retep.templateEngine/templateEngine

/**
 *
 * @author peter
 */
@Service( TemplateService.class )
public class XHtmlService extends AbstractTemplateService
{

  public XHtmlService()
  {
    super( ServiceType.RENDERABLE,
        "XHTML",
        "Render's a document into XHTML",
        ContentType.TEXT_HTML );
  }
  
  @Override
  public Renderer createRenderer()
  {
    return new XHtmlRenderer();
  }
}

origin: uk.org.retep.tools/jaxb

/**
 * JAXB plugin that marks a package with {@link PublicAPI}
 *
 * @author peter
 * @since 10.3
 */
@Service( RetepPluginLibrary.class )
public class PublicAPIPlugin
    extends AbstractAnnotatePackagePlugin
{

  @Override
  protected String getLocalName()
  {
    return "publicapi";
  }

  @Override
  protected Class getAnnotation()
  {
    return PublicAPI.class;
  }
}

origin: uk.org.retep.tools/jaxb

/**
 * JAXB plugin that marks a package with {@link PrivateAPI}
 *
 * @author peter
 * @since 10.3
 */
@Service( RetepPluginLibrary.class )
public class PrivateAPIPlugin
    extends AbstractAnnotatePackagePlugin
{

  @Override
  protected String getLocalName()
  {
    return "privateapi";
  }

  @Override
  protected Class getAnnotation()
  {
    return PrivateAPI.class;
  }
}

origin: uk.org.retep.templateEngine/templateEngine

/**
 *
 * @author peter
 */
@Service( TemplateService.class )
public class BBCodeService
    extends AbstractTemplateService
{

  public BBCodeService()
  {
    super(
        ServiceType.PARSABLE,
        "BBCode",
        "Bulletin Board Code" );
  }

  @Override
  public Parser createParser()
  {
    return new BBCodeParser();
  }
}

origin: uk.org.retep.templateEngine/templateEngine

/**
 *
 * @author peter
 */
@Service( TemplateService.class )
public class RTFService
    extends AbstractTemplateService
{

  public RTFService()
  {
    super(
        ServiceType.PARSABLE,
        "RTF",
        "A subset of Rich Text Format",
        ContentType.TEXT_RICHTEXT );
  }

  @Override
  public Parser createParser()
  {
    return new RTFParser();
  }
}

origin: uk.org.retep.templateEngine/templateEngine

/**
 *
 * @author peter
 */
@Service( TemplateService.class )
public class TexMathService
    extends AbstractTemplateService
{

  public TexMathService()
  {
    super(
        ServiceType.PARSABLE,
        "TexMath",
        "Tex Mathematics" );
  }

  @Override
  public Parser createParser()
  {
    return new TexMathParser();
  }

//    @Override
//    public Renderer createRenderer()
//    {
//        return new TexRenderer();
//    }
}

origin: uk.org.retep.templateEngine/templateEngine

@Service( TemplateService.class )
public class WikiService
    extends AbstractTemplateService
origin: uk.org.retep.templateEngine/templateEngine

@Service( TemplateService.class )
public class CSVService
    extends AbstractTemplateService
origin: uk.org.retep.templateEngine/templateEngine

@Service( TemplateService.class )
public class TextService
    extends AbstractTemplateService
origin: uk.org.retep.tools/random

@Service( RandomSeedGenerator.class )
public class SecureRandomSeedGenerator
    extends SecureRandom
origin: uk.org.retep.tools/jaxb

@Service( RetepPluginLibrary.class )
public class ExtendsPlugin
    extends AbstractExtImplPlugin
origin: uk.org.retep.microkernel/jndi

@Service( Module.class )
public class JNDIModule
    extends AbstractModule
origin: uk.org.retep.tools/jaxb

@Service( RetepPluginLibrary.class )
public class ImplementsPlugin
    extends AbstractExtImplPlugin
origin: uk.org.retep.tools/jaxb

@Service( RetepPluginLibrary.class )
public class PackageDocPlugin
    extends AbstractInjectionPlugin
origin: uk.org.retep.tools/jaxb

@Service( RetepPluginLibrary.class )
public class AnnotatePlugin
    extends AbstractInjectionPlugin
origin: uk.org.retep.tools/random

/**
 * A RandomSeedGenerator that will source it's seed from the /dev/random
 * device on Linux/Unix systems
 * 
 */
@Service( RandomSeedGenerator.class )
@ThreadSafe
public static class DevRandomSeedGenerator
    extends FileSeedGenerator
{
  public DevRandomSeedGenerator()
  {
    super( new File( "/dev/random" ) );
  }
  @Override
  public int getPriority()
  {
    return 30;
  }
}
origin: uk.org.retep.tools/random

  /**
   * A RandomSeedGenerator that will source it's seed from the /dev/urandom
   * device on Linux/Unix systems
   * 
   */
  @Service( RandomSeedGenerator.class )
  @ThreadSafe
  public static class DevUrandomSeedGenerator
      extends FileSeedGenerator
  {

    public DevUrandomSeedGenerator()
    {
      super( new File( "/dev/urandom" ) );
    }

    @Override
    public int getPriority()
    {
      return 40;
    }
  }
}
origin: uk.org.retep.tools/jaxb

@Service( Plugin.class )
public final class RetepPluginLibrary
    extends JAXBPluginLibrary
origin: uk.org.retep.tools/jaxb

@Service( RetepPluginLibrary.class )
public class AsPlugin
    extends AbstractInjectionPlugin
origin: uk.org.retep.microkernel/logger

@Service( Module.class )
public class KernelLogger
    extends AbstractModule
uk.org.retep.annotationsService

Most used methods

  • <init>

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
  • getResourceAsStream (ClassLoader)
  • getExternalFilesDir (Context)
  • Font (java.awt)
    The Font class represents fonts, which are used to render text in a visible way. A font provides the
  • Window (java.awt)
    A Window object is a top-level window with no borders and no menubar. The default layout for a windo
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
  • Calendar (java.util)
    Calendar is an abstract base class for converting between a Date object and a set of integer fields
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
  • LoggerFactory (org.slf4j)
    The LoggerFactory is a utility class producing Loggers for various logging APIs, most notably for lo
  • Top plugins for Android Studio
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