-
-
Save jhamukul007/386b77a28cd0681a42f10946e68322df to your computer and use it in GitHub Desktop.
SystemProxy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.List; | |
public class SystemProxy implements System { | |
System system; | |
public SystemProxy() { | |
this.system = new SystemImpl(); | |
} | |
@Override | |
public void notifyOnLeave(Employee emp) { | |
system.notifyOnLeave(emp); | |
} | |
@Override | |
public void autoProjectAllocation(Employee emp, List<Project> projects) { | |
java.lang.System.out.println("You can't access auto project allocation"); | |
//system.autoProjectAllocation(emp, projects); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment