dimanche 18 septembre 2016

Is it a design pattern? Then which one? Can I use this other than entity related operation?

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