OSGiUtils.java
1.41 KB
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
/*
* Decompiled with CFR 0_118.
*
* Could not load the following classes:
* javax.transaction.TransactionManager
* org.osgi.framework.BundleContext
*/
package com.adobe.aemds.bedrock.internal;
import com.adobe.aemds.bedrock.CoreConfigService;
import javax.transaction.TransactionManager;
import org.omg.CORBA.ORB;
import org.osgi.framework.BundleContext;
public class OSGiUtils {
private static ORB orb;
private static BundleContext bundleContext;
private static CoreConfigService coreConfigService;
private static TransactionManager transactionManager;
public static BundleContext getBundleContext() {
return bundleContext;
}
public static void setBundleContext(BundleContext bundleContext) {
OSGiUtils.bundleContext = bundleContext;
}
public static ORB getOrb() {
return orb;
}
public static void setOrb(ORB orb) {
OSGiUtils.orb = orb;
}
public static CoreConfigService getCoreConfigService() {
return coreConfigService;
}
public static void setCoreConfigService(CoreConfigService coreConfigService) {
OSGiUtils.coreConfigService = coreConfigService;
}
public static TransactionManager getTransactionManager() {
return transactionManager;
}
public static void setTransactionManager(TransactionManager transactionManager) {
OSGiUtils.transactionManager = transactionManager;
}
}