This can make in Java like NSNotificationCenter