public class FactoryFilter extends Object implements IRemoteFilter
IRemoteFilter.AlwaysFilter, IRemoteFilter.NeverFilterALWAYS, NEVER| Constructor and Description |
|---|
FactoryFilter(String type)
Find a component factory for loading a specific component type.
|
FactoryFilter(String model,
String[] imports,
IResourceIdentifier rid)
Find a matching component factory.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Test if equal.
|
IFuture<Boolean> |
filter(Object obj)
Test if an object passes the filter.
|
int |
hashCode()
Get the hashcode.
|
public FactoryFilter(String model, String[] imports, IResourceIdentifier rid)
model - The model to be loaded.imports - The imports (if any).classloader - The class loader (if any).public FactoryFilter(String type)
type - The component type.public IFuture<Boolean> filter(Object obj)
filter in interface IRemoteFilterCopyright © 2015. All Rights Reserved.