c# - How can I get all the object identifiers from Spring context? -
in project using spring.net , have unit test want spring context identifiers of objects.
how can such thing?
at moment have private array of string identifiers.
what want build array dynamically , not maintaining whenever change in spring configuration.
i know there following method:
applicationcontext.getobject(id);
which gets object context id.
how can take ids of context in order build array dynamically?
thank you.
people have found answer.
there getobjectdefinitionnames
method returns object names.
thank you.
Comments
Post a Comment