public abstract class SubTypeFinder<T> extends AppServicePlugin
Find classes that extends a specified type directly or indirectly, or implement a specified type directly or indirectly
Plugin.InfoRepo
Modifier and Type | Field and Description |
---|---|
protected static org.osgl.logging.Logger |
logger |
Constructor and Description |
---|
SubTypeFinder(java.lang.Class<T> target) |
SubTypeFinder(java.lang.Class<T> target,
AppEventId bindingEvent) |
Modifier and Type | Method and Description |
---|---|
void |
applyTo(App app) |
protected abstract void |
found(java.lang.Class<? extends T> target,
App app) |
register
public SubTypeFinder(java.lang.Class<T> target)
public SubTypeFinder(java.lang.Class<T> target, AppEventId bindingEvent)
public final void applyTo(App app)
applyTo
in class AppServicePlugin
Copyright © 2014–2017 ActFramework. All rights reserved.