ConnectorServiceInitImpl.java
5.24 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
/*
* Decompiled with CFR 0_118.
*
* Could not load the following classes:
* com.adobe.forms.rm.RepositoryResource
* com.adobe.forms.rm.ResourceResolver
* com.adobe.forms.rm.ResourceResolver$
* com.adobe.forms.rm.ResourceResolver$RegisteredResource
* org.apache.felix.scr.annotations.Activate
* org.apache.felix.scr.annotations.Component
* org.apache.felix.scr.annotations.Reference
* org.apache.felix.scr.annotations.ReferencePolicy
* org.apache.felix.scr.annotations.Service
* org.osgi.service.component.ComponentContext
* org.slf4j.Logger
* org.slf4j.LoggerFactory
* scala.Option
* scala.ScalaObject
* scala.Some
* scala.collection.mutable.StringBuilder
* scala.reflect.ScalaSignature
*/
package com.adobe.forms.livecycle.rm.impl;
import com.adobe.forms.livecycle.impl.RepositoryServiceImpl;
import com.adobe.forms.rm.RepositoryResource;
import com.adobe.forms.rm.ResourceResolver;
import org.apache.felix.scr.annotations.Activate;
import org.apache.felix.scr.annotations.Component;
import org.apache.felix.scr.annotations.Reference;
import org.apache.felix.scr.annotations.ReferencePolicy;
import org.apache.felix.scr.annotations.Service;
import org.osgi.service.component.ComponentContext;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import scala.Option;
import scala.ScalaObject;
import scala.Some;
import scala.collection.mutable.StringBuilder;
import scala.reflect.ScalaSignature;
@Component(immediate=1)
@Service(value={ConnectorServiceInitImpl.class})
@ScalaSignature(bytes="\u0006\u0001U4A!\u0001\u0002\u0001\u001f\tA2i\u001c8oK\u000e$xN]*feZL7-Z%oSRLU\u000e\u001d7\u000b\u0005\r!\u0011\u0001B5na2T!!\u0002\u0004\u0002\u0005Il'BA\u0004\t\u0003%a\u0017N^3ds\u000edWM\u0003\u0002\n\u0015\u0005)am\u001c:ng*\u00111\u0002D\u0001\u0006C\u0012|'-\u001a\u0006\u0002\u001b\u0005\u00191m\\7\u0004\u0001M\u0019\u0001\u0001\u0005\r\u0011\u0005E1R\"\u0001\n\u000b\u0005M!\u0012\u0001\u00027b]\u001eT\u0011!F\u0001\u0005U\u00064\u0018-\u0003\u0002\u0018%\t1qJ\u00196fGR\u0004\"!\u0007\u000f\u000e\u0003iQ\u0011aG\u0001\u0006g\u000e\fG.Y\u0005\u0003;i\u00111bU2bY\u0006|%M[3di\")q\u0004\u0001C\u0001A\u00051A(\u001b8jiz\"\u0012!\t\t\u0003E\u0001i\u0011A\u0001\u0005\bI\u0001\u0011\r\u0011\"\u0001&\u0003\u0019awnZ4feV\ta\u0005\u0005\u0002(Y5\t\u0001F\u0003\u0002*U\u0005)1\u000f\u001c45U*\t1&A\u0002pe\u001eL!!\f\u0015\u0003\r1{wmZ3s\u0011\u0019y\u0003\u0001)A\u0005M\u00059An\\4hKJ\u0004\u0003bB\u0019\u0001\u0001\u0004%IAM\u0001\u0012e\u0016\u0004xn]5u_JL8+\u001a:wS\u000e,W#A\u001a\u0011\u0005Q2T\"A\u001b\u000b\u0005\r1\u0011BA\u001c6\u0005U\u0011V\r]8tSR|'/_*feZL7-Z%na2Dq!\u000f\u0001A\u0002\u0013%!(A\u000bsKB|7/\u001b;pef\u001cVM\u001d<jG\u0016|F%Z9\u0015\u0005mr\u0004CA\r=\u0013\ti$D\u0001\u0003V]&$\bbB 9\u0003\u0003\u0005\raM\u0001\u0004q\u0012\n\u0004BB!\u0001A\u0003&1'\u0001\nsKB|7/\u001b;pef\u001cVM\u001d<jG\u0016\u0004\u0003\u0006\u0002!D\u001fB\u0003\"\u0001R'\u000e\u0003\u0015S!AR$\u0002\u0017\u0005tgn\u001c;bi&|gn\u001d\u0006\u0003\u0011&\u000b1a]2s\u0015\tQ5*A\u0003gK2L\u0007P\u0003\u0002MU\u00051\u0011\r]1dQ\u0016L!AT#\u0003\u0013I+g-\u001a:f]\u000e,\u0017A\u00029pY&\u001c\u0017\u0010J\u0001R\u0013\t\u00116+A\u0004E3:\u000bU*S\"\u000b\u0005Q+\u0015a\u0004*fM\u0016\u0014XM\\2f!>d\u0017nY=\t\u000bY\u0003A\u0011A,\u0002\u0011\u0005\u001cG/\u001b<bi\u0016$\"a\u000f-\t\u000be+\u0006\u0019\u0001.\u0002!\r|W\u000e]8oK:$8i\u001c8uKb$\bCA.c\u001b\u0005a&BA/_\u0003%\u0019w.\u001c9p]\u0016tGO\u0003\u0002`A\u000691/\u001a:wS\u000e,'BA1+\u0003\u0011y7oZ5\n\u0005\rd&\u0001E\"p[B|g.\u001a8u\u0007>tG/\u001a=uQ\t)V\r\u0005\u0002EM&\u0011q-\u0012\u0002\t\u0003\u000e$\u0018N^1uK\"\"\u0001!\u001b7n!\t!%.\u0003\u0002l\u000b\n91+\u001a:wS\u000e,\u0017!\u0002<bYV,G&\u00018$\u0003\u0005BC\u0001\u00019tiB\u0011A)]\u0005\u0003e\u0016\u0013\u0011bQ8na>tWM\u001c;\u0002\u0013%lW.\u001a3jCR,\u0017$A\u0001")
public class ConnectorServiceInitImpl
implements ScalaObject {
private final Logger logger = LoggerFactory.getLogger(ConnectorServiceInitImpl.class);
@Reference(policy=ReferencePolicy.DYNAMIC)
private RepositoryServiceImpl repositoryService = null;
public Logger logger() {
return this.logger;
}
private RepositoryServiceImpl repositoryService() {
return this.repositoryService;
}
private void repositoryService_$eq(RepositoryServiceImpl repositoryServiceImpl) {
this.repositoryService = repositoryServiceImpl;
}
@Activate
public void activate(ComponentContext componentContext) {
this.logger().debug(new StringBuilder().append((Object)"ConnectorServiceInitImpl#activate Registering ").append((Object)this.repositoryService()).append((Object)" with protocol: ").append((Object)(this.repositoryService() == null ? "Null" : this.repositoryService().getProtocol())).toString());
ResourceResolver..MODULE$.register(this.repositoryService().getProtocol(), RepositoryResource.class, (Option)new Some((Object)this.repositoryService()));
}
protected void bindRepositoryService(RepositoryServiceImpl repositoryServiceImpl) {
this.repositoryService = repositoryServiceImpl;
}
protected void unbindRepositoryService(RepositoryServiceImpl repositoryServiceImpl) {
if (this.repositoryService == repositoryServiceImpl) {
this.repositoryService = null;
}
}
}