class ServerManagementPerspective {

    public void onNewContainer( @Observes final AddNewContainer addNewContainer ) {
        if ( addNewContainer != null &&
                addNewContainer.getServerTemplate() != null ) {
            newContainerWizard.clear();
            newContainerWizard.setServerTemplate( addNewContainer.getServerTemplate() );
            newContainerWizard.start();
        } else {
            logger.warn( "Illegal event argument." );
        }
    }

    @Inject public  ServerManagementPerspective( final Logger logger,
                                        final NewServerTemplateWizard newServerTemplateWizard,
                                        final NewContainerWizard newContainerWizard );

}