支持local协议
This commit is contained in:
parent
a219e6414e
commit
95ac6b7af3
|
|
@ -1,6 +1,7 @@
|
|||
package org.jetlinks.community.protocol.configuration;
|
||||
|
||||
import org.jetlinks.community.protocol.*;
|
||||
import org.jetlinks.community.protocol.local.LocalProtocolSupportLoader;
|
||||
import org.jetlinks.core.ProtocolSupport;
|
||||
import org.jetlinks.core.ProtocolSupports;
|
||||
import org.jetlinks.core.cluster.ClusterManager;
|
||||
|
|
@ -85,6 +86,9 @@ public class ProtocolAutoConfiguration {
|
|||
return protocolSupports;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@Bean
|
||||
@Profile("dev")
|
||||
public LocalProtocolSupportLoader localProtocolSupportLoader(ServiceContext context) {
|
||||
return new LocalProtocolSupportLoader(context);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue