org.apache.knox.gateway.i18n.messages.Message.<init>()方法的使用及代码示例

x33g5p2x  于2022-01-25 转载在 其他  
字(5.7k)|赞(0)|评价(0)|浏览(307)

本文整理了Java中org.apache.knox.gateway.i18n.messages.Message.<init>()方法的一些代码示例,展示了Message.<init>()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Message.<init>()方法的具体详情如下:
包路径:org.apache.knox.gateway.i18n.messages.Message
类名称:Message
方法名:<init>

Message.<init>介绍

暂无

代码示例

代码示例来源:origin: org.apache.knox/gateway-server

@Message(level = MessageLevel.ERROR,
     text =
       " Could not find topology \"{0}\" mapped to port \"{1}\" configured in gateway-config.xml. "
         + "This invalid topology mapping will be ignored by the gateway. "
         + "Gateway restart will be required if in the future \"{0}\" topology is added.")
void topologyPortMappingCannotFindTopology(final String topology, final int port);

代码示例来源:origin: apache/knox

@Message(level = MessageLevel.ERROR,
     text =
       " Could not find topology \"{0}\" mapped to port \"{1}\" configured in gateway-config.xml. "
         + "This invalid topology mapping will be ignored by the gateway. "
         + "Gateway restart will be required if in the future \"{0}\" topology is added.")
void topologyPortMappingCannotFindTopology(String topology, int port);

代码示例来源:origin: org.apache.knox/gateway-service-knoxsso

@Message( level = MessageLevel.ERROR, text = "The original URL: {0} for redirecting back after authentication is " +
   "not valid according to the configured whitelist: {1}. See documentation for KnoxSSO Whitelisting.")
 void whiteListMatchFail(String original, String whitelist);
}

代码示例来源:origin: apache/knox

@Message(level = MessageLevel.WARN,
       text = "The declared nameservice {0} is not defined in the HDFS configuration.")
  void undefinedHDFSNameService(String nameservice);
}

代码示例来源:origin: apache/knox

@Message(level = MessageLevel.DEBUG,
     text = "Updating request target from {0} to {1}")
void topologyPortMappingUpdateRequest(String oldTarget,
  String newTarget);

代码示例来源:origin: org.apache.knox/gateway-server

@Message(level = MessageLevel.ERROR,
     text = "Encountered an error while responding to {1} @ {0} configuration change: {2}")
void errorRespondingToConfigChange(final String source,
                  final String clusterName,
                  @StackTrace(level = MessageLevel.DEBUG) Exception e);

代码示例来源:origin: org.apache.knox/gateway-discovery-ambari

@Message(level = MessageLevel.ERROR,
     text = "Failed to persist data for cluster configuration monitor {0} {1}: {2}")
void failedToPersistClusterMonitorData(final String monitor,
                    final String filename,
                    @StackTrace(level = MessageLevel.DEBUG) Exception e);

代码示例来源:origin: apache/knox

@Message(level = MessageLevel.ERROR,
    text = "URL validation failed for {0} URL {1} : {2}")
void serviceURLValidationFailed(String serviceName,
                String url,
                @StackTrace( level = MessageLevel.DEBUG ) Exception e);

代码示例来源:origin: apache/knox

@Message(level = MessageLevel.ERROR,
     text = "Encountered an error while responding to {1} @ {0} configuration change: {2}")
void errorRespondingToConfigChange(String source,
                  String clusterName,
                  @StackTrace(level = MessageLevel.DEBUG) Exception e);

代码示例来源:origin: org.apache.knox/gateway-server

@Message(level = MessageLevel.ERROR,
    text = "URL validation failed for {0} URL {1} : {2}")
void serviceURLValidationFailed(final String serviceName,
                final String url,
                @StackTrace( level = MessageLevel.DEBUG ) Exception e);

代码示例来源:origin: org.apache.knox/gateway-server

@Message(level = MessageLevel.ERROR,
  text = "Error creating websocket connection: {0}")
void failedCreatingWebSocket(
  @StackTrace(level = MessageLevel.ERROR) Exception e);

代码示例来源:origin: org.apache.knox/gateway-server

@Message(level = MessageLevel.ERROR,
    text = "Error generating topology {0} from simple descriptor: {1}")
void failedToGenerateTopologyFromSimpleDescriptor(final String topologyFile,
                         @StackTrace( level = MessageLevel.DEBUG ) Exception e);

代码示例来源:origin: org.apache.knox/gateway-server

@Message(level = MessageLevel.ERROR,
    text = "Error creating a password for query string encryption for {0}: {1}" )
void exceptionCreatingPasswordForEncryption(String topologyName,
                      @StackTrace( level = MessageLevel.DEBUG) Exception e);

代码示例来源:origin: org.apache.knox/gateway-discovery-ambari

@Message(level = MessageLevel.ERROR,
     text = "Failed to load persisted service discovery configuration for cluster monitor {0} : {1}")
void failedToLoadClusterMonitorServiceDiscoveryConfig(final String monitor,
                           @StackTrace(level = MessageLevel.DEBUG) Exception e);

代码示例来源:origin: apache/knox

@Message(level = MessageLevel.ERROR,
     text = "Failed to persist data for cluster configuration monitor {0} {1}: {2}")
void failedToPersistClusterMonitorData(String monitor,
                    String filename,
                    @StackTrace(level = MessageLevel.DEBUG) Exception e);

代码示例来源:origin: org.apache.knox/gateway-server

@Message(level = MessageLevel.ERROR,
    text = "Failed to parse the referenced provider configuration {0}: {1}")
void failedToParseProviderConfig(final String providerConfigRef,
                 @StackTrace( level = MessageLevel.DEBUG ) Exception e);

代码示例来源:origin: org.apache.knox/gateway-discovery-ambari

@Message(level = MessageLevel.ERROR,
     text = "Failed to load service discovery URL definition configuration {0}: {1}")
void failedToLoadServiceDiscoveryURLDefConfiguration(final String configuration,
                           @StackTrace(level = MessageLevel.ERROR) Exception e);

代码示例来源:origin: org.apache.knox/gateway-discovery-ambari

@Message(level = MessageLevel.ERROR,
     text = "Failed to load component configuration property mappings {0}: {1}")
void failedToLoadComponentConfigMappings(final String mappings,
                     @StackTrace(level = MessageLevel.DEBUG) Exception e);

代码示例来源:origin: apache/knox

@Message(level = MessageLevel.ERROR,
     text = "Failed to load persisted service discovery configuration for cluster monitor {0} : {1}")
void failedToLoadClusterMonitorServiceDiscoveryConfig(String monitor,
                           @StackTrace(level = MessageLevel.DEBUG) Exception e);

代码示例来源:origin: apache/knox

@Message(level = MessageLevel.ERROR,
     text = "Failed to load component configuration property mappings {0}: {1}")
void failedToLoadComponentConfigMappings(String mappings,
                     @StackTrace(level = MessageLevel.DEBUG) Exception e);

相关文章