Github user bdeggleston commented on the pull request:

    
https://github.com/apache/incubator-tinkerpop/pull/245#issuecomment-190932147
  
    I had a feeling this was too easy :)
    
    So, as far as I can tell, there's no way to automagically detect 
`GremlinPlugin` implementations without loading and inspecting every class on 
the classpath. Internally, this is what `ServiceLoader` is doing, which causes 
static initialization of every class it loads.
    
    What do you think about deferring the classpath scanning until `:plugin 
list` is run? I think the autodiscovery is useful, but it doesn't need to run 
on startup.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to