|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.osgi.service.remoteserviceadmin.RemoteServiceAdminEvent
public class RemoteServiceAdminEvent
Provides the event information for a Remote Service Admin event.
Field Summary | |
---|---|
static int |
EXPORT_ERROR
A fatal exporting error occurred. |
static int |
EXPORT_REGISTRATION
Add an export registration. |
static int |
EXPORT_UNREGISTRATION
Remove an export registration. |
static int |
EXPORT_UPDATE
Update an export registration. |
static int |
EXPORT_WARNING
A problematic situation occurred, the export is still active. |
static int |
IMPORT_ERROR
A fatal importing error occurred. |
static int |
IMPORT_REGISTRATION
Add an import registration. |
static int |
IMPORT_UNREGISTRATION
Remove an import registration. |
static int |
IMPORT_UPDATE
Update an import registration. |
static int |
IMPORT_WARNING
A problematic situation occurred, the import is still active. |
Constructor Summary | |
---|---|
RemoteServiceAdminEvent(int type,
org.osgi.framework.Bundle source,
ExportReference exportReference,
java.lang.Throwable exception)
Create a Remote Service Admin Event for an export notification. |
|
RemoteServiceAdminEvent(int type,
org.osgi.framework.Bundle source,
ImportReference importReference,
java.lang.Throwable exception)
Create a Remote Service Admin Event for an import notification. |
Method Summary | |
---|---|
java.lang.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. |
org.osgi.framework.Bundle |
getSource()
Return the bundle source of this event. |
int |
getType()
Return the type of this event. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
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
Constructor Detail |
---|
public RemoteServiceAdminEvent(int type, org.osgi.framework.Bundle source, ExportReference exportReference, java.lang.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, org.osgi.framework.Bundle source, ImportReference importReference, java.lang.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
.Method Detail |
---|
public ImportReference getImportReference()
null
.public ExportReference getExportReference()
null
.public java.lang.Throwable getException()
null
.public int getType()
public org.osgi.framework.Bundle getSource()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |