I have this exercise to do but I am not able to do the implementation
Using the Abstract Factory Pattern, deploy java Process Manager and Memory Manager products to Linux, Mac, and Windows operating systems
So far I've just been able to do this, I have a lot of doubts about how to end this code:
public class FabricaWindows implements FabricadeGerenciador {
@Override
public void Gerenciadordeprocesso() {
// TODO Auto-generated method stub
}
@Override
public void Gerenciadordememoria() {
// TODO Auto-generated method stub
}
public class FabricaLinux implements FabricadeGerenciador {
@Override
public void Gerenciadordeprocesso() {
// TODO Auto-generated method stub
}
@Override
public void Gerenciadordememoria() {
// TODO Auto-generated method stub
}
}
public interface FabricadeGerenciador {
void Gerenciadordeprocesso();
void Gerenciadordememoria();
}
public interface Gerenciadordememoria {
}
public interface Gerenciadordeprocesso {
}