* Create the default {@link PortalContainerDefinition} corresponding to the given parameters
* @param params the parameter to initialize
*/
private PortalContainerDefinition create(InitParams params)
{
ObjectParameter oDpd = null;
if (params != null)
{
oDpd = params.getObjectParam("default.portal.definition");
}
PortalContainerDefinition def = null;
if (oDpd != null)
{
// A default portal definition has been found
final Object o = oDpd.getObject();
if (o instanceof PortalContainerDefinition)
{
// The nested object is of the right type
def = (PortalContainerDefinition)o;
}