Package halfpipe.client

Source Code of halfpipe.client.ClientAutoConfig

package halfpipe.client;

import halfpipe.util.BeanUtils;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import javax.inject.Inject;

/**
* User: spencergibb
* Date: 4/30/14
* Time: 10:35 PM
*/
@Configuration
public class ClientAutoConfig {

    @Inject
    ApplicationContext context;

    @Bean
    ClientProperties clientProperties() {
        return new ClientProperties();
    }

    @Bean
    BeanUtils halfpipeBeanUtils() {
        return new BeanUtils(context);
    }

}
TOP

Related Classes of halfpipe.client.ClientAutoConfig

TOP
Copyright © 2018 www.massapi.com. 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.