List of services from a flow/java service?

We have a need to get a list of current services in B2BServer in our production environment. Since interfaces are going on and off line farily regularly, we’d like to have this completely automated.

The Integrator “find” command in the gui is ideal, however, it isn’t documented how to do the same thing (or something like it) from within a flow or java service.

Any ideas? Our needs aren’t fancy, but there must be a simpler way than searching the directory structure on the server.

Thanks in advance,

-John Larson