~tritone-team/tritone/eucalyptus

« back to all changes in this revision

Viewing changes to clc/modules/storage-controller/src/main/java/edu/ucsb/eucalyptus/cloud/ws/StorageEventListener.java

  • Committer: Bazaar Package Importer
  • Author(s): Dustin Kirkland
  • Date: 2009-12-01 21:09:28 UTC
  • mto: This revision was merged to the branch mainline in revision 75.
  • Revision ID: james.westby@ubuntu.com-20091201210928-o2dvg0ubljhb0ft6
Tags: upstream-1.6.1~bzr1083
ImportĀ upstreamĀ versionĀ 1.6.1~bzr1083

Show diffs side-by-side

added added

removed removed

Lines of Context:
93
93
 
94
94
        @Override
95
95
        public void fireEvent(Event event) {
96
 
                if(event instanceof StartComponentEvent) {
97
 
                        StartComponentEvent startComponentEvent = (StartComponentEvent) event;
98
 
                        if(Component.walrus.equals(startComponentEvent.getComponent()) &&
99
 
                                        Component.storage.isEnabled()) {
100
 
                                BlockStorage.checkPending();
101
 
                        }
102
 
                } else if(event instanceof StopComponentEvent) {
 
96
                if(event instanceof StopComponentEvent) {
103
97
                        StopComponentEvent stopComponentEvent = (StopComponentEvent) event;
104
98
                        ComponentConfiguration config = stopComponentEvent.getConfiguration();
105
99
                        StorageInfo storageInfo = new StorageInfo();