// Singleton pattern public static RelevationStateManager returnInstance() { if (stateManager == null) stateManager = new RelevationStateManager(); return stateManager; }
private void sendRelevationToStateManager(Relevation relevation) { newRelevationManager = new RelevationStateManager(); newRelevationManager.setRelevationAttributes(relevation); }