Skip to main content
summaryrefslogtreecommitdiffstats
blob: 5e3d63c6fe83591960c43a64c0f013ac431986ad (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
package org.eclipse.ecf.osgi.services.remoteserviceadmin;

import org.eclipse.ecf.core.identity.ID;
import org.osgi.framework.Bundle;
import org.osgi.service.remoteserviceadmin.ExportReference;
import org.osgi.service.remoteserviceadmin.ImportReference;

public class RemoteServiceAdminEvent extends
		org.osgi.service.remoteserviceadmin.RemoteServiceAdminEvent {

	private ID containerID;

	public RemoteServiceAdminEvent(ID containerID, int type, Bundle source,
			ExportReference exportReference, Throwable exception) {
		super(type, source, exportReference, exception);
		this.containerID = containerID;
	}

	public RemoteServiceAdminEvent(ID containerID, int type, Bundle source,
			ImportReference importReference, Throwable exception) {
		super(type, source, importReference, exception);
		this.containerID = containerID;
	}

	public ID getContainerID() {
		return containerID;
	}

	public String toString() {
		return "RemoteServiceAdminEvent[containerID=" + containerID //$NON-NLS-1$
				+ ", getType()=" + getType() + ", getSource()=" + getSource() //$NON-NLS-1$ //$NON-NLS-2$
				+ ", getException()=" + getException() //$NON-NLS-1$
				+ ", getImportReference()=" + getImportReference() //$NON-NLS-1$
				+ ", getExportReference()=" + getExportReference() + "]"; //$NON-NLS-1$ //$NON-NLS-2$
	}

}

Back to the top