Spring context for server
Contains version information
Provides hierarchical tracing for debugging
Allows Spring configuration to be resolved
Interface to user management implementation
Device management cache provider implementation
Interface to device management implementation
Interface to inbound event processor chain
Interface to outbound event processor chain
Interface to device provisioning implementation
Interface for the asset module manager
Interface for the search provider manager
List of components registered to participate in SiteWhere server lifecycle
Map of component ids to lifecycle components
Get Spring application context for Atlas server objects.
Returns a fake account used for operations on the data model done by the system.
"Device management cache provider startup failed.", true);
"Outbound processor chain startup failed.", true);
Recursively navigates component structure and creates a map of components by id.
LOGGER.info("Initializing SiteWhere server components.");
Displays the server information banner in the log.
messages.add("Operating System: " + os);
messages.add("Java Runtime: " + java);
messages.add("Copyright (c) 2009-2015 SiteWhere, LLC");
Allows subclasses to add their own banner messages.
Verifies and loads the Spring configuration file.
Initialize debug tracing implementation.
LOGGER.info("No Tracer implementation configured.");
Initialize device management implementation and associated decorators.
LOGGER.info("Device management cache provider using: "
LOGGER.info("No device management cache provider configured. Caching disabled.");
LOGGER.info("Device management implementation using: "
Configure device management implementation by injecting configured options or
wrapping to add functionality.
LOGGER.info("Device management implementation is using configured cache provider.");
LOGGER.info("Device management implementation not using cache provider.");
LOGGER.info("No outbound event processor chain found in configuration file.");
LOGGER.info("No inbound event processor chain found in configuration file.");
Verify and initialize device provisioning implementation.
Verify and initialize user management implementation.
Verify and initialize asset module manager.
Verify and initialize search provider manager.
Read a line from standard in.
Check whether user model is populated and offer to bootstrap system if not.
messages.add("User model is currently empty. A default user and permissions can be "
+ "created automatically so that the admin interface and web services can authenticate. "
+ "Create default user and permissions now?");
LOGGER.info("No user model initializer found in Spring bean configuration. Skipping.");
Check whether device model is populated and offer to bootstrap system if not.
messages.add("There are currently no sites defined in the system. You have the option of loading "
+ "a default dataset for previewing system functionality. Would you like to load the default "
LOGGER.info("No device model initializer found in Spring bean configuration. Skipping.");
LOGGER.warn("Unable to read from device model.", e);