All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.svea.businessobjects.Activator Maven / Gradle / Ivy

The newest version!
package com.svea.businessobjects;

import java.util.Dictionary;
import java.util.Hashtable;

import org.apache.karaf.util.tracker.BaseActivator;
import org.apache.karaf.util.tracker.annotation.ProvideService;
import org.apache.karaf.util.tracker.annotation.Services;
import org.notima.generic.ifacebusinessobjects.BusinessObjectFactory;

import com.svea.businessobjects.sveaadmin.SveaAdminBusinessObjectFactory;

@Services(
		provides = {
				@ProvideService(BusinessObjectFactory.class),
		}
)
public class Activator extends BaseActivator {

	@Override
	protected void doStart() throws Exception {
		
		Dictionary props = new Hashtable();
		props.put("SystemName", "WebpayAdminService");
		
		SveaAdminBusinessObjectFactory sabof = new SveaAdminBusinessObjectFactory();
		register(BusinessObjectFactory.class, sabof, props);
		
	}

	@Override
	protected void doStop() {
		super.doStop();
	}

	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy