OSGi™ Core
Release 5

Serialized Form


Package org.osgi.framework

Class org.osgi.framework.AdaptPermission extends java.security.BasicPermission implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream s)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
readObject is called to restore the state of this permission from a stream.

Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream s)
                  throws java.io.IOException
WriteObject is called to save the state of this permission object to a stream. The actions are serialized, and the superclass takes care of the name.

Throws:
java.io.IOException
Serialized Fields

actions

java.lang.String actions
The actions in canonical form.

 

Class org.osgi.framework.AdminPermission extends java.security.BasicPermission implements Serializable

serialVersionUID: 307051004521261705L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream s)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
readObject is called to restore the state of this permission from a stream.

Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream s)
                  throws java.io.IOException
WriteObject is called to save the state of this permission object to a stream. The actions are serialized, and the superclass takes care of the name.

Throws:
java.io.IOException
Serialized Fields

actions

java.lang.String actions
The actions in canonical form.

 

Class org.osgi.framework.BundleEvent extends java.util.EventObject implements Serializable

serialVersionUID: 4080640865971756012L

Serialized Fields

bundle

Bundle bundle
Bundle that had a change occur in its lifecycle.


type

int type
Type of bundle lifecycle change.


origin

Bundle origin
Bundle that was the origin of the event. For install event type, this is the bundle whose context was used to install the bundle. Otherwise it is the bundle itself.

Since:
1.6

Class org.osgi.framework.BundleException extends java.lang.Exception implements Serializable

serialVersionUID: 3571095144220455665L

Serialized Fields

type

int type
Type of bundle exception.

Since:
1.5

Class org.osgi.framework.BundlePermission extends java.security.BasicPermission implements Serializable

serialVersionUID: 3257846601685873716L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream s)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
readObject is called to restore the state of the BundlePermission from a stream.

Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream s)
                  throws java.io.IOException
WriteObject is called to save the state of the BundlePermission object to a stream. The actions are serialized, and the superclass takes care of the name.

Throws:
java.io.IOException
Serialized Fields

actions

java.lang.String actions
The actions in canonical form.

 

Class org.osgi.framework.CapabilityPermission extends java.security.BasicPermission implements Serializable

serialVersionUID: -7662148639076511574L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream s)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
readObject is called to restore the state of this permission from a stream.

Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream s)
                  throws java.io.IOException
WriteObject is called to save the state of this permission to a stream. The actions are serialized, and the superclass takes care of the name.

Throws:
java.io.IOException
Serialized Fields

actions

java.lang.String actions
The actions in canonical form.

 

Class org.osgi.framework.FrameworkEvent extends java.util.EventObject implements Serializable

serialVersionUID: 207051004521261705L

Serialized Fields

bundle

Bundle bundle
Bundle related to the event.


throwable

java.lang.Throwable throwable
Exception related to the event.


type

int type
Type of event.

Class org.osgi.framework.InvalidSyntaxException extends java.lang.Exception implements Serializable

serialVersionUID: -4295194420816491875L

Serialized Fields

filter

java.lang.String filter
The invalid filter string.

Class org.osgi.framework.PackagePermission extends java.security.BasicPermission implements Serializable

serialVersionUID: -5107705877071099135L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream s)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
readObject is called to restore the state of this permission from a stream.

Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream s)
                  throws java.io.IOException
WriteObject is called to save the state of this permission object to a stream. The actions are serialized, and the superclass takes care of the name.

Throws:
java.io.IOException
Serialized Fields

actions

java.lang.String actions
The actions in canonical form.

 

Class org.osgi.framework.ServiceEvent extends java.util.EventObject implements Serializable

serialVersionUID: 8792901483909409299L

Serialized Fields

reference

ServiceReference<S> reference
Reference to the service that had a change occur in its lifecycle.


type

int type
Type of service lifecycle change.

Class org.osgi.framework.ServiceException extends java.lang.RuntimeException implements Serializable

serialVersionUID: 3038963223712959631L

Serialized Fields

type

int type
Type of service exception.

Class org.osgi.framework.ServicePermission extends java.security.BasicPermission implements Serializable

serialVersionUID: -7662148639076511574L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream s)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
readObject is called to restore the state of this permission from a stream.

Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream s)
                  throws java.io.IOException
WriteObject is called to save the state of this permission to a stream. The actions are serialized, and the superclass takes care of the name.

Throws:
java.io.IOException
Serialized Fields

actions

java.lang.String actions
The actions in canonical form.

 

Package org.osgi.framework.hooks.weaving

Class org.osgi.framework.hooks.weaving.WeavingException extends java.lang.RuntimeException implements Serializable

serialVersionUID: 1L


OSGi™ Core
Release 5

Copyright © OSGi Alliance (2000, 2012). All Rights Reserved. Licensed under the OSGi Specification License, Version 2.0