Avoid bad initialization of application instances.
Merge pull request #33 from logoff/core/resource_adapter

Avoid bad initialization of application instances.