You mean, get a list of mappings? You can do that with this code:
#arrayToList(mappingStruct[mapping].getAlias())# maps to #mappingStruct[mapping].getpath()#Keep in mind, the only mappings that are created when WireBox starts up are the ones which are explicitly defined in our binder config with the mapping DSL such as:
map(“foo”).to(“com.my.foo”);
or with map directory:
mapDirectory(“common.cfc”);
If you’re using implicit mappings (scan locations), then the actual mapping object doesn’t get created in the binder until the first time you request it and the CFC is “located”.
Thanks!
~Brad