***************************************************************************
The WebLogic Server did not start up properly.
Exception raised: 'weblogic.management.configuration.ConfigurationException: The MBean wlsadmin:Name=wlsadmin,Type=Security had an unresolved reference for the attribute Realm the mbean wl_default_realm'
Reason: weblogic.management.configuration.ConfigurationException: The MBean wlsadmin:Name=wlsadmin,Type=Security had an unresolved reference for the attribute Realm to the mbean_default_realm
***************************************************************************
This question arises from my understanding (may be flawed) of one of the benefits of using factory methods: Factory methods help us avoid putting an if-else or case to determine which class to instantiate at runtime.