returns the collection of jetty contexts used in the admin console . a root context '' / '' is where the admin console lives . additional contexts can be added dynamically for other web applications that should be run as part of the admin console server process . the following pseudo code demonstrates how to do this : contexthandlercollection contexts = adminconsoleplugin pluginmanager.getplugin `` admin '' . getcontexts ; context = new webappcontext some_directory , '' / context_name '' ; contexts.addhandler context ; context.setwelcomefiles new string `` index.jsp '' ; context.start ; concode_field_sep boolean sslEnabled concode_elem_sep String secret concode_elem_sep Server adminServer concode_elem_sep CertificateEventListener certificateListener concode_elem_sep boolean restartNeeded concode_elem_sep Logger Log concode_elem_sep int adminPort concode_elem_sep int adminSecurePort concode_elem_sep ContextHandlerCollection contexts concode_elem_sep File pluginDir concode_field_sep void createWebAppContext concode_elem_sep void certificateSigned concode_elem_sep void restart concode_elem_sep void log concode_elem_sep String getBindInterface concode_elem_sep boolean isRestartNeeded concode_elem_sep int getAdminUnsecurePort concode_elem_sep void destroyPlugin concode_elem_sep void certificateCreated concode_elem_sep void logAdminConsolePorts concode_elem_sep void startup concode_elem_sep void initializePlugin concode_elem_sep void certificateDeleted concode_elem_sep int getAdminSecurePort concode_elem_sep void shutdown
ContextHandlerCollection function ( ) { return contexts ; }