1 9 package org.jboss.portal.server.kernel.state; 10 11 import org.jboss.portal.server.kernel.KernelEvent; 12 import org.jboss.portal.server.kernel.ServiceImplementation; 13 14 18 public class StateChangeEvent extends KernelEvent 19 { 20 21 private State oldState; 22 private State newState; 23 private ServiceImplementation implementation; 24 25 public StateChangeEvent(Object source, State oldState, State newState, ServiceImplementation implementation) 26 { 27 super(source); 28 this.oldState = oldState; 29 this.newState = newState; 30 this.implementation = implementation; 31 } 32 33 public State getOldState() 34 { 35 return oldState; 36 } 37 38 public State getNewState() 39 { 40 return newState; 41 } 42 43 public ServiceImplementation getImplementation() 44 { 45 return implementation; 46 } 47 } 48 | Popular Tags |