[FLINK-19130] [core] Allow ObjectContainer to add alias keys

This extends the ObjectContainer to set alias keys that returns the same
instance. This is required for the StatefulFunctionsRepository, since we
want to share the same instance for different keys (depending on which
interface we expose to different components).
2 files changed