package com.ds.listing.control;

import com.ds.listing.properties.UserProperties;
import com.ds.listing.properties.eBayAuth;

import javax.annotation.PostConstruct;
import javax.annotation.PreDestroy;
import javax.ejb.Singleton;
import javax.ejb.Startup;
import javax.inject.Inject;
import java.u

/**
 * Startup
 * Created by bithack on 3/31/15.
 */
@Singleton
@Startup
public class runListingApp {
    @Inject
    private UserProperties props;
    
    @Inject
    private eBayAuth auth;
    
    @PostConstruct
    private void startup() {
        System.out.println("Setting up server");
        System.out.println(props.getValue("ebaytoken"));
        System.out.println(auth.getVersion());
        System.out.println("Server Started");

    }



    @PreDestroy
    private void shutdown(){

    }
}

package com.ds.listing.control;

import com.ds.listing.properties.UserProperties;
import com.ds.listing.properties.eBayAuth;

import javax.annotation.PostConstruct;
import javax.annotation.PreDestroy;
import javax.ejb.Singleton;
import javax.ejb.Startup;
import javax.inject.Inject;

/**
 * Startup
 * Created by bithack on 3/31/15.
 */
@Singleton
@Startup
public class runListingApp {
    @Inject
    private UserProperties props;
    
    @Inject
    private eBayAuth auth;
    
    @PostConstruct
    private void startup() {
        System.out.println("Setting up server");
        System.out.println(props.getValue("ebaytoken"));
        System.out.println(auth.getVersion());
        System.out.println("Server Started");

    }



    @PreDestroy
    private void shutdown(){

    }
}

fix missing ;