uk.ac.ebi.microarray.zooma.utils
Class ZoomaInspector
java.lang.Object
uk.ac.ebi.microarray.zooma.utils.ZoomaInspector
public class ZoomaInspector
- extends java.lang.Object
Inspects calibrated resources, to discover and bind any Zooma plugins
calibrated. A "Zooma" plugin is any class annotated with ZoomaMappingGenerator
, and the
actions for that class are annotated with ZoomaMappingOperation
.
This class does all the inspection of classpath resources and returns a list
of possible targets and their arguments and operations.
- Author:
- Tony Burdett
Method Summary |
java.util.Collection<ZoomaMode> |
getZoomaModes()
|
void |
inspect()
Probes the set of currently loaded classes to discover all configured modes
for Zooma, and binds them for use. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ZoomaInspector
public ZoomaInspector()
inspect
public void inspect()
throws java.io.IOException,
java.lang.ClassNotFoundException
- Probes the set of currently loaded classes to discover all configured modes
for Zooma, and binds them for use.
- Throws:
java.io.IOException
- if there was a problem reading from the
resource "META-INF/zooma/ZoomaMappingGenerators"
java.lang.ClassNotFoundException
- if a class described in one of the
META-INF/zooma/ZoomaMappingGenerators
resources could not be loaed
getZoomaModes
public java.util.Collection<ZoomaMode> getZoomaModes()
Copyright © 2010. All Rights Reserved.