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

com.zusmart.sample.biz.impl.MemberBizImpl Maven / Gradle / Ivy

The newest version!
package com.zusmart.sample.biz.impl;

import com.zusmart.inject.annotation.Autowired;
import com.zusmart.inject.annotation.Component;
import com.zusmart.sample.biz.MemberBiz;
import com.zusmart.sample.kit.Formater;

@Component
public class MemberBizImpl implements MemberBiz{
	
	@Autowired
	private Formater formater;
	
	@Override
	public boolean addMember(String memberName) {
		System.out.println("add member success -> " + this.formater.memberNameFormat(memberName));
		return true;
	}

	@Override
	public boolean delMember(String memberName) {
		System.out.println("del member success -> " + memberName);
		return true;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy