Custom plugins can be used the same way the builtin plugins are within
running servlets. In fact, there is no difference between a builtin
plugin and one you've made yourself, except for the fact that the
builtin plugins came with PSE when you installed it.
If you cannot see your plugin within a servlet for some reason, check
the apache error log for an ImportError exception and traceback.