// Singleton pattern
        public static RelevationStateManager returnInstance()
        {
            if (stateManager == null)
            stateManager = new RelevationStateManager();

            return stateManager;
        }
Exemplo n.º 2
0
 private void sendRelevationToStateManager(Relevation relevation)
 {
     newRelevationManager = new RelevationStateManager();
             newRelevationManager.setRelevationAttributes(relevation);
 }