Une commande permet de ne pas mettre les parenthèses dans WLST il s’agit de easeSyntax().
wls:/domain1/serverConfig> easeSyntax() You have chosen to ease syntax for some WLST commands. However, the easy syntax should be strictly used in interactive mode. Easy syntax will not function properly in script mode and when used in loops. You can still use the regular jython syntax although you have opted for easy syntax. Use easeSyntax to turn this off. Use help('easeSyntax') for commands that support easy syntax wls:/domain1/serverConfig> ls dr-- AdminConsole dr-- AppDeployments dr-- BridgeDestinations dr-- Clusters dr-- CoherenceClusterSystemResources dr-- CoherenceServers dr-- CustomResources dr-- DeploymentConfiguration dr-- Deployments dr-- EmbeddedLDAP dr-- ErrorHandlings dr-- FileStores dr-- ForeignJNDIProviders dr-- InternalAppDeployments dr-- InternalLibraries dr-- JDBCDataSourceFactories dr-- JDBCStores dr-- JDBCSystemResources dr-- JMSBridgeDestinations dr-- JMSInteropModules dr-- JMSServers dr-- JMSSystemResources dr-- JMX dr-- JPA dr-- JTA dr-- JoltConnectionPools dr-- Libraries dr-- Log dr-- LogFilters dr-- Machines dr-- MailSessions dr-- MessagingBridges dr-- MigratableTargets dr-- OsgiFrameworks dr-- RemoteSAFContexts dr-- RestfulManagementServices dr-- SAFAgents dr-- SNMPAgent dr-- SNMPAgentDeployments dr-- Security dr-- SecurityConfiguration dr-- SelfTuning dr-- ServerTemplates dr-- Servers dr-- ShutdownClasses dr-- SingletonServices dr-- StartupClasses dr-- SystemComponents dr-- SystemResources dr-- Targets dr-- VirtualHosts dr-- WLDFSystemResources dr-- WLECConnectionPools dr-- WSReliableDeliveryPolicies dr-- WTCServers dr-- WebAppContainer dr-- WebserviceSecurities dr-- WebserviceTestpage dr-- XMLEntityCaches dr-- XMLRegistries -r-- AdminServerName AdminServer -r-- AdministrationMBeanAuditingEnabled false -r-- AdministrationPort 9002 -r-- AdministrationPortEnabled false -r-- AdministrationProtocol t3s -r-- ArchiveConfigurationCount 0 -r-- ClusterConstraintsEnabled false -r-- ConfigBackupEnabled false -r-- ConfigurationAuditType none -r-- ConfigurationVersion 12.1.2.0.0 -r-- ConsoleContextPath console -r-- ConsoleEnabled true -r-- ConsoleExtensionDirectory console-ext -r-- DomainVersion 12.1.2.0.0 -r-- DynamicallyCreated false -r-- ExalogicOptimizationsEnabled false -r-- GuardianEnabled false -r-- Id 0 -r-- InternalAppsDeployOnDemandEnabled false -r-- JavaServiceConsoleEnabled false -r-- JavaServiceEnabled false -r-- LastModificationTime 0 -r-- Name domain1 -r-- Notes null -r-- Parent null -r-- ProductionModeEnabled true -r-- RootDirectory /u01/domains/emcc/domain1 -r-- ServerMigrationHistorySize -1 -r-- ServiceMigrationHistorySize -1 -r-- Type Domain -r-x freezeCurrentValue Void : String(attributeName) -r-x getInheritedProperties String[] : String[](propertyNames) -r-x isInherited Boolean : String(propertyName) -r-x isSet Boolean : String(propertyName) -r-x unSet Void : String(propertyName) wls:/domain1/serverConfig> cd Servers wls:/domain1/serverConfig/Servers> ls dr-- AdminServer dr-- server1 dr-- server2 wls:/domain1/serverConfig/Servers> cd AdminServer wls:/domain1/serverConfig/Servers/AdminServer> get ListenAddress 'host01.example.com'