1 11 12 package org.eclipse.osgi.framework.internal.core; 13 14 import java.util.EventObject ; 15 16 22 class StartLevelEvent extends EventObject { 23 private static final long serialVersionUID = 3258125839085155891L; 24 public final static int CHANGE_BUNDLE_SL = 0x00000000; 25 public final static int CHANGE_FW_SL = 0x00000001; 26 27 30 private transient int type; 31 32 38 private transient int newSl; 39 40 44 private transient AbstractBundle bundle; 45 46 53 public StartLevelEvent(int type, int newSl, AbstractBundle bundle) { 54 super(bundle); 55 this.type = type; 56 this.newSl = newSl; 57 this.bundle = bundle; 58 } 59 60 public int getType() { 61 return this.type; 62 } 63 64 public int getNewSL() { 65 return this.newSl; 66 } 67 68 public AbstractBundle getBundle() { 69 return this.bundle; 70 } 71 72 } 73 | Popular Tags |