Skip to content

Commit 7fbe287

Browse files
Add variable injector to the readme file
1 parent 1d82478 commit 7fbe287

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1039,11 +1039,11 @@ JDBCSystemResource.Database1.JdbcResource.JDBCDriverParams.URL--Host=slc05til.us
10391039
JDBCSystemResource.Database1.JdbcResource.JDBCDriverParams.URL--Port=1521
10401040
```
10411041

1042-
### Selecting specific MBean names for variable injection
1042+
#### Selecting specific MBean names for variable injection
10431043

10441044
The final custom directive allows you to explicitly define which named entries for an MBean in the model you wish to inject properties. For instance, you might wish to parameterize an attribute just for a specific set of servers.
10451045
To define a list of one or more names of an MBean, add a user directive to the injector keyword value. The user directive is added to the end of an MBean between brackets. For instance, to select only the admin server named AdminServer, add the
1046-
user directive to the Server MBean - Server[AdminServer]. To select servers soa_server1 and soa_server2 from the model, create the injector key Server[soa_server1,soa_server2]
1046+
user directive to the Server MBean - Server[AdminServer]. To select servers soa_server1 and soa_server2 from the model, the injector key is Server[soa_server1,soa_server2]
10471047

10481048
The injector tool recognizes two KEYWORDS for a user list, MANAGED_SERVERS (all the managed servers in the model) and ADMIN_SERVER (The admin server in the model).
10491049

@@ -1055,6 +1055,8 @@ A custom injector to parameterize the admin server SSL listen port is:
10551055
}
10561056
```
10571057

1058+
## Samples
1059+
10581060
A sample of a model_variable_injector.json file and a custom injector json file are installed in the WLSDEPLOY/samples directory.
10591061

10601062

0 commit comments

Comments
 (0)