I see this type of practice when working hibernate dao with spring. Is the below implementation a design pattern?
public interface BroadCastI<T, ID> {
}
public abstract class BroadCastImpl<T, ID extends Serializable> implements BroadCastI<T, ID> {
}
public interface HttpBroadCastI extends BroadCastI<HttpBroadCast, String> {
}
public class HttpBroadCastImpl extends BroadCastImpl<HttpBroadCast, String> implements HttpBroadCastI {
}
Aucun commentaire:
Enregistrer un commentaire