- 使用 Spring Initializr 创建 Spring Boot 应用程序
- 在Spring Boot中配置Cassandra
- 在 Spring Boot 上配置 Tomcat 连接池
- 将Camel消息路由到嵌入WildFly的Artemis上
本文整理了Java中com.obsidiandynamics.yconf.Y.<init>()
方法的一些代码示例,展示了Y.<init>()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Y.<init>()
方法的具体详情如下:
包路径:com.obsidiandynamics.yconf.Y
类名称:Y
方法名:<init>
暂无
代码示例来源:origin: com.obsidiandynamics.socketx/socketx-core
@Y
public class XClientConfig extends XEndpointConfig<XClientConfig> {
{
sslContextProvider = CompositeSSLContextProvider.getDevServerDefault();
}
@Override
public String toString() {
return "XClientConfig [idleTimeoutMillis: " + idleTimeoutMillis + ", scanIntervalMillis: " + scanIntervalMillis
+ ", highWaterMark: " + highWaterMark + ", sslContextProvider: " + sslContextProvider
+ ", attributes: " + attributes + "]";
}
}
代码示例来源:origin: com.obsidiandynamics.socketx/socketx-core
@Y
public final class NullTrustManagerProvider implements TrustManagerProvider {
@Override
public TrustManager[] getTrustManagers() {
return null;
}
@Override
public String toString() {
return NullTrustManagerProvider.class.getSimpleName();
}
}
代码示例来源:origin: com.obsidiandynamics.socketx/socketx-core
@Y
public final class NullKeyManagerProvider implements KeyManagerProvider {
@Override
public KeyManager[] getKeyManagers() {
return null;
}
@Override
public String toString() {
return NullKeyManagerProvider.class.getSimpleName();
}
}
代码示例来源:origin: com.obsidiandynamics.socketx/socketx-core
@Y
public final class DefaultSSLContextProvider implements SSLContextProvider {
@Override
public SSLContext getSSLContext() throws NoSuchAlgorithmException {
return SSLContext.getDefault();
}
@Override
public String toString() {
return DefaultSSLContextProvider.class.getSimpleName();
}
}
代码示例来源:origin: com.obsidiandynamics.jackdaw/jackdaw-core
@Y
public final class ProducerPipeConfig {
@YInject
private boolean async = true;
public boolean isAsync() {
return async;
}
public void setAsync(boolean async) {
this.async = async;
}
public ProducerPipeConfig withAsync(boolean async) {
setAsync(async);
return this;
}
@Override
public String toString() {
return ProducerPipeConfig.class.getSimpleName() + " [async=" + async + "]";
}
}
代码示例来源:origin: com.obsidiandynamics.yconf/yconf-core
/**
* Represents a value that cannot be null.
*/
@Y(Mandatory.Mapper.class)
public final class Mandatory {
public static final class Mapper implements TypeMapper {
@Override public Object map(YObject y, Class<?> type) {
return of(y.mapAttribute("value", Object.class), y.mapAttribute("error", String.class));
}
}
public static final class MissingValueException extends RuntimeException {
private static final long serialVersionUID = 1L;
MissingValueException(String m) { super(m); }
}
private Mandatory() {}
public static Object of(Object value, String errorMessage) {
if (value == null) throw new MissingValueException(errorMessage);
return value;
}
}
代码示例来源:origin: com.obsidiandynamics.socketx/socketx-core
@Y
public final class LenientX509TrustManagerProvider implements TrustManagerProvider {
@Override
public TrustManager[] getTrustManagers() throws Exception {
return new TrustManager[] {
new X509TrustManager() {
@Override
public X509Certificate[] getAcceptedIssuers() { return new X509Certificate[0]; }
@Override
public void checkServerTrusted(X509Certificate[] chain, String authType) throws CertificateException {}
@Override
public void checkClientTrusted(X509Certificate[] chain, String authType) throws CertificateException {}
}
};
}
@Override
public String toString() {
return LenientX509TrustManagerProvider.class.getSimpleName();
}
}
代码示例来源:origin: com.obsidiandynamics.meteor/meteor-common
@Y(GridProvider.Mapper.class)
public final class GridProvider implements HazelcastProvider {
public static final class Mapper implements TypeMapper {
@Override public Object map(YObject y, Class<?> type) {
return instance;
}
}
private static final GridProvider instance = new GridProvider();
public static GridProvider getInstance() {
return instance;
}
private GridProvider() {}
@Override
public HazelcastInstance createInstance(Config config) {
return Hazelcast.newHazelcastInstance(config);
}
@Override
public void shutdownAll() {
Hazelcast.shutdownAll();
}
}
代码示例来源:origin: com.obsidiandynamics.hazelq/hazelq-common
@Y(GridProvider.Mapper.class)
public final class GridProvider implements HazelcastProvider {
public static final class Mapper implements TypeMapper {
@Override public Object map(YObject y, Class<?> type) {
return instance;
}
}
private static final GridProvider instance = new GridProvider();
public static GridProvider getInstance() {
return instance;
}
private GridProvider() {}
@Override
public HazelcastInstance createInstance(Config config) {
return Hazelcast.newHazelcastInstance(config);
}
@Override
public void shutdownAll() {
Hazelcast.shutdownAll();
}
}
代码示例来源:origin: com.obsidiandynamics.socketx/socketx-core
@Y
public class JKSTrustManagerProvider implements TrustManagerProvider {
@YInject
代码示例来源:origin: com.obsidiandynamics.meteor/meteor-core
@Y
public final class PublisherConfig {
@YInject
代码示例来源:origin: com.obsidiandynamics.yconf/yconf-core
@Y
public final class Secret {
private final String value;
代码示例来源:origin: com.obsidiandynamics.socketx/socketx-core
@Y
public final class XMappedServlet {
private final String path;
代码示例来源:origin: com.obsidiandynamics.socketx/socketx-core
@Y
public class JKSKeyManagerProvider implements KeyManagerProvider {
@YInject
代码示例来源:origin: com.obsidiandynamics.jackdaw/jackdaw-core
@Y
public final class ConsumerPipeConfig {
@YInject
代码示例来源:origin: com.obsidiandynamics.hazelq/hazelq-elect
@Y
public final class ElectionConfig {
@YInject
代码示例来源:origin: com.obsidiandynamics.meteor/meteor-elect
@Y
public final class ElectionConfig {
@YInject
代码示例来源:origin: com.obsidiandynamics.socketx/socketx-core
@Y
public abstract class XEndpointConfig<C extends XEndpointConfig<C>> {
@YInject
代码示例来源:origin: com.obsidiandynamics.socketx/socketx-core
@Y
public class CompositeSSLContextProvider implements SSLContextProvider {
@YInject
代码示例来源:origin: com.obsidiandynamics.socketx/socketx-core
@Y
public class XServerConfig extends XEndpointConfig<XServerConfig> {
@YInject
本文整理了Java中com.obsidiandynamics.yconf.Y类的一些代码示例,展示了Y类的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是
本文整理了Java中com.obsidiandynamics.zerolog.Zlg类的一些代码示例,展示了Zlg类的具体用法。这些代码示例主要来源于Github/Stackoverflow/Mave
本文整理了Java中com.obsidiandynamics.yconf.YObject类的一些代码示例,展示了YObject类的具体用法。这些代码示例主要来源于Github/Stackoverflo
本文整理了Java中com.obsidiandynamics.zerolog.ZlgBuilder类的一些代码示例,展示了ZlgBuilder类的具体用法。这些代码示例主要来源于Github/Stac
本文整理了Java中com.obsidiandynamics.yconf.Y.()方法的一些代码示例,展示了Y.()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Mave
本文整理了Java中com.obsidiandynamics.zerolog.Zlg.level()方法的一些代码示例,展示了Zlg.level()的具体用法。这些代码示例主要来源于Github/St
本文整理了Java中com.obsidiandynamics.zerolog.Zlg.d()方法的一些代码示例,展示了Zlg.d()的具体用法。这些代码示例主要来源于Github/Stackoverf
本文整理了Java中com.obsidiandynamics.zerolog.Zlg.forName()方法的一些代码示例,展示了Zlg.forName()的具体用法。这些代码示例主要来源于Githu
本文整理了Java中com.obsidiandynamics.yconf.YObject.mapAttribute()方法的一些代码示例,展示了YObject.mapAttribute()的具体用法。
本文整理了Java中com.obsidiandynamics.yconf.YInject.()方法的一些代码示例,展示了YInject.()的具体用法。这些代码示例主要来源于Github/Stacko
本文整理了Java中com.obsidiandynamics.yconf.YObject.value()方法的一些代码示例,展示了YObject.value()的具体用法。这些代码示例主要来源于Git
本文整理了Java中com.obsidiandynamics.zerolog.ZlgBuilder.get()方法的一些代码示例,展示了ZlgBuilder.get()的具体用法。这些代码示例主要来源
本文整理了Java中com.obsidiandynamics.zerolog.ZlgBuilder.withConfigService()方法的一些代码示例,展示了ZlgBuilder.withCon
我是一名优秀的程序员,十分优秀!