protected ResinEmbed getResinEmbeddedContainer()
{
if (_resinEmbeddedContainer == null) {
if (_resinXmlPath == null) {
_resinEmbeddedContainer = new ResinEmbed();
} else {
_resinEmbeddedContainer = new ResinEmbed(_resinXmlPath);
}
_resinEmbeddedContainer.addScanRoot();
_resinEmbeddedContainer.addPort(new HttpEmbed(_httpPort));