public class FactoryFilter
extends java.lang.Object
implements jadex.commons.IAsyncFilter
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String[] |
imports
The imports (if any).
|
protected java.lang.String |
model
The model to be loaded.
|
protected IResourceIdentifier |
rid
The resource identifier.
|
protected java.lang.String |
type
The component type.
|
| Constructor and Description |
|---|
FactoryFilter(java.lang.String type)
Find a component factory for loading a specific component type.
|
FactoryFilter(java.lang.String model,
java.lang.String[] imports,
IResourceIdentifier rid)
Find a matching component factory.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj)
Test if equal.
|
jadex.commons.future.IFuture<java.lang.Boolean> |
filter(java.lang.Object obj)
Test if an object passes the filter.
|
int |
hashCode()
Get the hashcode.
|
protected java.lang.String type
protected java.lang.String model
protected java.lang.String[] imports
protected IResourceIdentifier rid
public FactoryFilter(java.lang.String model,
java.lang.String[] imports,
IResourceIdentifier rid)
model - The model to be loaded.imports - The imports (if any).classloader - The class loader (if any).public FactoryFilter(java.lang.String type)
type - The component type.public jadex.commons.future.IFuture<java.lang.Boolean> filter(java.lang.Object obj)
filter in interface jadex.commons.IAsyncFilterpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object