public class RemoteServiceAdminEvent extends Object
| Modifier and Type | Field and Description | 
|---|---|
| static int | EXPORT_ERRORA fatal exporting error occurred. | 
| static int | EXPORT_REGISTRATIONAdd an export registration. | 
| static int | EXPORT_UNREGISTRATIONRemove an export registration. | 
| static int | EXPORT_UPDATEUpdate an export registration. | 
| static int | EXPORT_WARNINGA problematic situation occurred, the export is still active. | 
| static int | IMPORT_ERRORA fatal importing error occurred. | 
| static int | IMPORT_REGISTRATIONAdd an import registration. | 
| static int | IMPORT_UNREGISTRATIONRemove an import registration. | 
| static int | IMPORT_UPDATEUpdate an import registration. | 
| static int | IMPORT_WARNINGA problematic situation occurred, the import is still active. | 
| Constructor and Description | 
|---|
| RemoteServiceAdminEvent(int type,
                       Bundle source,
                       ExportReference exportReference,
                       Throwable exception)Create a Remote Service Admin Event for an export notification. | 
| RemoteServiceAdminEvent(int type,
                       Bundle source,
                       ImportReference importReference,
                       Throwable exception)Create a Remote Service Admin Event for an import notification. | 
| Modifier and Type | Method and Description | 
|---|---|
| Throwable | getException()Return the exception for this event. | 
| ExportReference | getExportReference()Return the Export Reference for this event. | 
| ImportReference | getImportReference()Return the Import Reference for this event. | 
| Bundle | getSource()Return the bundle source of this event. | 
| int | getType()Return the type of this event. | 
public static final int IMPORT_REGISTRATION
RemoteServiceAdminListener
 service is registered, the Remote Service Admin must notify the listener
 of all existing Import Registrations.public static final int EXPORT_REGISTRATION
RemoteServiceAdminListener
 service is registered, the Remote Service Admin must notify the listener
 of all existing Export Registrations.public static final int EXPORT_UNREGISTRATION
public static final int IMPORT_UNREGISTRATION
public static final int IMPORT_ERROR
public static final int EXPORT_ERROR
public static final int EXPORT_WARNING
public static final int IMPORT_WARNING
public static final int IMPORT_UPDATE
public static final int EXPORT_UPDATE
public RemoteServiceAdminEvent(int type,
                       Bundle source,
                       ExportReference exportReference,
                       Throwable exception)
type - The event type.source - The source bundle, must not be null.exportReference - The exportReference, can not be null.exception - Any exceptions encountered, can be null.public RemoteServiceAdminEvent(int type,
                       Bundle source,
                       ImportReference importReference,
                       Throwable exception)
type - The event type.source - The source bundle, must not be null.importReference - The importReference, can not be null.exception - Any exceptions encountered, can be null.public ImportReference getImportReference()
null.public ExportReference getExportReference()
null.public Throwable getException()
null.public int getType()
public Bundle getSource()
Copyright © OSGi Alliance (2000, 2015). All Rights Reserved. Licensed under the OSGi Specification License, Version 2.0