Package org.skyscreamer.yoga.demo.dto

Examples of org.skyscreamer.yoga.demo.dto.UserConfiguration


                    .withAliasProperties( this.getClass().getClassLoader().getResourceAsStream( "selectorAlias.properties" ) )
                    .withOutputCountLimit( 2000 )
                    .enableStarAsAllFields()
                    .enableYogaLinks()
                    .registerYogaMetaDataClasses( User.class, Album.class, Artist.class, Song.class )
                    .registerEntityConfigurations( new UserConfiguration( dao ) );

                bind( GenericDao.class ).toInstance( dao );
                bind( YogaBuilderViewFactory.class ).toInstance( new YogaBuilderViewFactory( builder ));
                bind( MetaDataRegistry.class ).toInstance( builder.getMetaDataRegistry() );
                bind( StreamingJsonSelectorMessageBodyWriter.class );
View Full Code Here


            .withClassFinderStrategy( new HibernateClassFinderStrategy() )
            .withAliasProperties( this.getClass().getClassLoader().getResourceAsStream( "selectorAlias.properties" ) )
            .withOutputCountLimit( 2000 )
            .enableYogaLinks()
            .registerYogaMetaDataClasses( User.class, Album.class, Artist.class, Song.class )
            .registerEntityConfigurations( new UserConfiguration( dao ) );

        getSingletons().add( new AlbumResource( dao ) );
        getSingletons().add( new ArtistResource( dao ) );
        getSingletons().add( new SongResource( dao ) );
        getSingletons().add( new UserResource( dao ) );
View Full Code Here

TOP

Related Classes of org.skyscreamer.yoga.demo.dto.UserConfiguration

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.