FrameworkEvent.smali

.class public Lorg/osgi/framework/FrameworkEvent;
.super Ljava/util/EventObject;
.source "FrameworkEvent.java"


# static fields
.field public static final ERROR:I = 0x2

.field public static final INFO:I = 0x20

.field public static final PACKAGES_REFRESHED:I = 0x4

.field public static final STARTED:I = 0x1

.field public static final STARTING:I = 0x0

.field public static final STARTLEVEL_CHANGED:I = 0x8

.field public static final STOPPED:I = 0x40

.field public static final STOPPED_BOOTCLASSPATH_MODIFIED:I = 0x100

.field public static final STOPPED_UPDATE:I = 0x80

.field public static final WAIT_TIMEDOUT:I = 0x200

.field public static final WARNING:I = 0x10

.field static final serialVersionUID:J = 0x2df97caa6e0aa89L


# instance fields
.field private final bundle:Lorg/osgi/framework/Bundle;

.field private final throwable:Ljava/lang/Throwable;

.field private final type:I


# direct methods
.method public constructor <init>(ILjava/lang/Object;)V
    .registers 4
    .annotation runtime Ljava/lang/Deprecated;
    .end annotation

    .prologue
    const/4 v0, 0x0

    .line 190
    invoke-direct {p0, p2}, Ljava/util/EventObject;-><init>(Ljava/lang/Object;)V

    .line 191
    iput p1, p0, Lorg/osgi/framework/FrameworkEvent;->type:I

    .line 192
    iput-object v0, p0, Lorg/osgi/framework/FrameworkEvent;->bundle:Lorg/osgi/framework/Bundle;

    .line 193
    iput-object v0, p0, Lorg/osgi/framework/FrameworkEvent;->throwable:Ljava/lang/Throwable;

    .line 194
    return-void
.end method

.method public constructor <init>(ILorg/osgi/framework/Bundle;Ljava/lang/Throwable;)V
    .registers 4

    .prologue
    .line 205
    invoke-direct {p0, p2}, Ljava/util/EventObject;-><init>(Ljava/lang/Object;)V

    .line 206
    iput p1, p0, Lorg/osgi/framework/FrameworkEvent;->type:I

    .line 207
    iput-object p2, p0, Lorg/osgi/framework/FrameworkEvent;->bundle:Lorg/osgi/framework/Bundle;

    .line 208
    iput-object p3, p0, Lorg/osgi/framework/FrameworkEvent;->throwable:Ljava/lang/Throwable;

    .line 209
    return-void
.end method


# virtual methods
.method public getBundle()Lorg/osgi/framework/Bundle;
    .registers 2

    .prologue
    .line 227
    iget-object v0, p0, Lorg/osgi/framework/FrameworkEvent;->bundle:Lorg/osgi/framework/Bundle;

    return-object v0
.end method

.method public getThrowable()Ljava/lang/Throwable;
    .registers 2

    .prologue
    .line 217
    iget-object v0, p0, Lorg/osgi/framework/FrameworkEvent;->throwable:Ljava/lang/Throwable;

    return-object v0
.end method

.method public getType()I
    .registers 2

    .prologue
    .line 251
    iget v0, p0, Lorg/osgi/framework/FrameworkEvent;->type:I

    return v0
.end method