Another approach (which I would take) is Spring, since I am using Spring anyway for my applications and therefore wouldn't need any additionally dependencies. Is there a way to get this done. This will give you a List which contains any classes in the classpath which are assignable from the "MyTagInterface.class" (for example). The following example,HelloWorldAnonymousClasses, uses anonymous classes in the initialization statements of thelocal variables frenchGreeting and spanishGreeting, but uses a local class for theinitialization of the variable englishGreeting: Can I set concurrentExecutionDisallowed and persistJobDataAfterExecution on Job instance? Instantiation, sessions, shared variables and multithreading, Can't execute jar- file: “no main manifest attribute”, Java: How to resolve java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException, Introduction to protein folding for mathematicians, Beds for people who practise group marriage. I focused mainly on reading the grey box and assumed you meant java.lang.reflect. Using Reflections you can query your metadata such as: This can be used in an indexed or cached mode. Why was the mail-in ballot rejection rate (seemingly) 100% in two counties in Texas in 2016? The extendskeyword can be used to subclass custom classes as well as built-in objects. You can find hints for solving your problem with Spring (and alternatives in the other comments or answers) here: In the comments of your question heikkim and polypiel also link to questions with have answers for solving it with Spring: From the answers of Find Java classes implementing an interface, I used Very fast, very useful. The dialog opens when you click in the Show Usages popup which lists all the occurrences of the symbol at the caret. That was thoroughly explained in the article Static properties and methods. (But it wouldn't be a huge project to add that.). "class A extends Object{}" as the same class cant be extended twice. Are there any gambits where I HAVE to decline? Can I walk along the ocean from Cannon Beach, Oregon, to Hug Point or Adair Point? Can any one suggest how I can achieve the above goal or is there any other better way to achieve what I am trying to do? It may be more than you wanted, but it is a complete working version. May you provide it please ? Can ionizing radiation cause a proton to be removed from an atom? The only draw back is that this will only handle .class files -- I didn't add the feature to unzip .jars and read class files from there. Please correct me if my assumption is wrong. What do these expressions mean in H.G. your coworkers to find and share information. JavaClassFinder classFinder = new JavaClassFinder(); List

Channel 8 Weather Team Rochester Ny, Stage Outfits For Singers, Hershey Park Reservations, Matt Mcclure Producer, Mph Nutrition Jobs, Your Stopping Distance Should Be Shorter Than Your Sight Distance, 2014 Toyota Camry Headlight Bulb Size, Multi Site Property Manager Resume,