/
AS/400 へのデバイス名をパスする方法
AS/400 へのデバイス名をパスする方法
クライアントの環境へ統合する際に、単一デバイス名を使用する必要がある場合があります。
手順
{SdkProject}AutoConfiguration.java ファイルを開きます。
このコードスニペットを追加します。
@Bean
public DeviceAllocator deviceAllocator() {
return ((pullName, newSessionProperties) -> "new-device-name");
}
次のようになります。
@Configuration
@Import(value = {{SdkProject}Configuration.class})
public class {SdkProject}AutoConfiguration {
@Bean
public DeviceAllocator deviceAllocator() {
return ((pullName, newSessionProperties) -> "set-device-name-here");
}
}
{SdkProject} - SDK プロジェクト名のプレースホルダーです。
関連記事
, multiple selections available,
Related content
外部構成を使用したアプリケーションプロパティの無効化方法
外部構成を使用したアプリケーションプロパティの無効化方法
More like this
AS/400 Screens SDK Exercise - Basic
AS/400 Screens SDK Exercise - Basic
More like this
How-To Pass a Device Name to AS/400
How-To Pass a Device Name to AS/400
More like this
Release Notes - 4.5 Versions
Release Notes - 4.5 Versions
More like this
Release Notes - 4.8 Versions
Release Notes - 4.8 Versions
More like this