Package org.glassfish.jersey.server.mvc

Examples of org.glassfish.jersey.server.mvc.MvcFeature


  private List<ServiceRegistration> registrations;

  @Override
  public void start( BundleContext bundleContext ) throws Exception {
    registrations = new ArrayList<>();
    registrations.add( bundleContext.registerService( MvcFeature.class.getName(), new MvcFeature(), null ) );
    registrations.add( bundleContext.registerService( MustacheTemplateProcessor.class.getName(), new MustacheTemplateProcessor(), null ) );
    registrations.add( bundleContext.registerService( Static.class.getName(), new Static(), null ) );
    registrations.add( bundleContext.registerService( Index.class.getName(), new Index(), null ) );
   
  }
View Full Code Here

TOP

Related Classes of org.glassfish.jersey.server.mvc.MvcFeature

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.