{
ServiceLocator.getInstance().setClientSideEnabled(true);
ServiceLocator.getInstance().setConfigurator(getConfigurator());
ParametersHandler parametersHandler= ServiceLocator.getInstance().getParametersHandler();
String className= parametersHandler.getParameter("class");
if (className == null || className.trim().length() == 0)
{
String requestURL= parametersHandler.getRequestURL();
List<AnnotationEntry> annotationEntries= AnnotationsHelper.getAnnotationsByType(PageAlias.class).getEntries();
for (AnnotationEntry annotationEntry : annotationEntries)
{
boolean isUnique= annotationEntries.size() == 2 && !"discoverer".equals(annotationEntry.getAnnotationValue());