Package | Description |
---|---|
griffon.core.artifact |
Artifact types.
|
griffon.exceptions |
Griffon exceptions.
|
org.codehaus.griffon.runtime.core.artifact |
Artifact implementation [INTERNAL USE].
|
org.codehaus.griffon.runtime.groovy.artifact |
Artifact implementation [INTERNAL USE].
|
Modifier and Type | Interface and Description |
---|---|
interface |
GriffonControllerClass
Represents a Controller class in Griffon.
|
interface |
GriffonModelClass
Represents a Model class in Griffon.
|
interface |
GriffonServiceClass
Represents a Service class in Griffon.
|
interface |
GriffonViewClass
Represents a View class in Griffon.
|
Modifier and Type | Field and Description |
---|---|
static List<GriffonClass> |
ArtifactManager.EMPTY_GRIFFON_CLASS_LIST |
Modifier and Type | Method and Description |
---|---|
GriffonClass |
ArtifactHandler.findClassFor(String propertyName)
Finds an artifact by its property name.
|
<A extends GriffonArtifact> |
ArtifactManager.findGriffonClass(A artifact)
Finds an artifact by class.
|
GriffonClass |
ArtifactManager.findGriffonClass(Class<? extends GriffonArtifact> clazz)
Finds an artifact by class.
|
GriffonClass |
ArtifactManager.findGriffonClass(Class<? extends GriffonArtifact> clazz,
String type)
Finds an artifact by class and type.
|
GriffonClass |
ArtifactManager.findGriffonClass(String fqClassName)
Finds an artifact by name.
|
GriffonClass |
ArtifactManager.findGriffonClass(String name,
String type)
Finds an artifact by name and type.
|
GriffonClass[] |
ArtifactHandler.getClasses()
Returns the set of all artifact classes this handler manages.
|
GriffonClass |
ArtifactHandler.getClassFor(Class<A> clazz)
Finds an artifact if the target
clazz is handled by this
ArtifactHandler. |
GriffonClass |
ArtifactHandler.getClassFor(String fqnClassName)
Finds an artifact by class name if it represents a class that
is handled by this ArtifactHandler.
|
GriffonClass |
GriffonArtifact.getGriffonClass()
Returns the GriffonClass associated with this artifact.
|
GriffonClass |
ArtifactHandler.newGriffonClassInstance(Class<A> clazz) |
Modifier and Type | Method and Description |
---|---|
List<GriffonClass> |
ArtifactManager.getAllClasses()
Finds all artifact classes.
|
Map<String,GriffonClass> |
ArtifactHandler.getClassesByName() |
List<GriffonClass> |
ArtifactManager.getClassesOfType(String type)
Finds all artifacts of an specific type.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ArtifactHandler.isArtifact(GriffonClass clazz)
Returns true if the target GriffonClass is a class artifact
handled by this object.
|
<A extends GriffonArtifact> |
ArtifactManager.newInstance(GriffonClass griffonClass)
Creates a new instance of the specified class and type.
Triggers the ApplicationEvent.NEW_INSTANCE with the following parameters clazz - the Class of the object instance -> the object that was created |
Constructor and Description |
---|
ArtifactNotFoundException(GriffonClass griffonClass,
Throwable cause) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractGriffonClass
Abstract base class for Griffon types that provides common functionality for
evaluating conventions within classes
|
class |
DefaultGriffonClass
A default implementation for Griffon classes that need to be registered and managed by a GriffonApplication,
but don't need any special handling.
|
class |
DefaultGriffonControllerClass |
class |
DefaultGriffonModelClass |
class |
DefaultGriffonServiceClass |
class |
DefaultGriffonViewClass |
Modifier and Type | Method and Description |
---|---|
List<GriffonClass> |
AbstractArtifactManager.getAllClasses() |
Map<String,GriffonClass> |
AbstractArtifactHandler.getClassesByName() |
List<GriffonClass> |
AbstractArtifactManager.getClassesOfType(String type) |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractArtifactHandler.createBindings(List<Binding<?>> bindings,
Class<A> clazz,
GriffonClass griffonClass) |
protected void |
ServiceArtifactHandler.createBindings(List<Binding<?>> bindings,
Class<GriffonService> clazz,
GriffonClass griffonClass) |
boolean |
AbstractArtifactHandler.isArtifact(GriffonClass clazz) |
<A extends GriffonArtifact> |
AbstractArtifactManager.newInstance(GriffonClass griffonClass) |
Modifier and Type | Method and Description |
---|---|
GriffonClass |
AbstractGriffonArtifactScript.getGriffonClass() |