Package | Description |
---|---|
griffon.core.artifact |
Artifact types.
|
griffon.exceptions |
Griffon exceptions.
|
org.codehaus.griffon.runtime.core.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 java.util.List<GriffonClass> |
ArtifactManager.EMPTY_GRIFFON_CLASS_LIST |
Modifier and Type | Method and Description |
---|---|
GriffonClass |
ArtifactHandler.findClassFor(java.lang.String propertyName)
Finds an artifact by its property name.
|
<A extends GriffonArtifact> |
ArtifactManager.findGriffonClass(A artifact)
Finds an artifact by class.
|
GriffonClass |
ArtifactManager.findGriffonClass(java.lang.Class<? extends GriffonArtifact> clazz)
Finds an artifact by class.
|
GriffonClass |
ArtifactManager.findGriffonClass(java.lang.Class<? extends GriffonArtifact> clazz,
java.lang.String type)
Finds an artifact by class and type.
|
GriffonClass |
ArtifactManager.findGriffonClass(java.lang.String fqClassName)
Finds an artifact by name.
|
GriffonClass |
ArtifactManager.findGriffonClass(java.lang.String name,
java.lang.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(java.lang.Class<A> clazz)
Finds an artifact if the target
clazz is handled by this
ArtifactHandler. |
GriffonClass |
ArtifactHandler.getClassFor(java.lang.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(java.lang.Class<A> clazz) |
Modifier and Type | Method and Description |
---|---|
java.util.List<GriffonClass> |
ArtifactManager.getAllClasses()
Finds all artifact classes.
|
java.util.Map<java.lang.String,GriffonClass> |
ArtifactHandler.getClassesByName() |
java.util.List<GriffonClass> |
ArtifactManager.getClassesOfType(java.lang.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,
java.lang.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 |
---|---|
GriffonClass |
AbstractArtifactHandler.findClassFor(java.lang.String propertyName) |
<A extends GriffonArtifact> |
AbstractArtifactManager.findGriffonClass(A artifact) |
GriffonClass |
AbstractArtifactManager.findGriffonClass(java.lang.Class<? extends GriffonArtifact> clazz) |
GriffonClass |
AbstractArtifactManager.findGriffonClass(java.lang.Class<? extends GriffonArtifact> clazz,
java.lang.String type) |
GriffonClass |
AbstractArtifactManager.findGriffonClass(java.lang.String fqClassName) |
GriffonClass |
AbstractArtifactManager.findGriffonClass(java.lang.String name,
java.lang.String type) |
GriffonClass[] |
AbstractArtifactHandler.getClasses() |
GriffonClass |
AbstractArtifactHandler.getClassFor(java.lang.Class<A> clazz) |
GriffonClass |
AbstractArtifactHandler.getClassFor(java.lang.String fqnClassName) |
GriffonClass |
AbstractGriffonArtifact.getGriffonClass() |
GriffonClass |
ControllerArtifactHandler.newGriffonClassInstance(java.lang.Class<GriffonController> clazz) |
GriffonClass |
ModelArtifactHandler.newGriffonClassInstance(java.lang.Class<GriffonModel> clazz) |
GriffonClass |
ServiceArtifactHandler.newGriffonClassInstance(java.lang.Class<GriffonService> clazz) |
GriffonClass |
ViewArtifactHandler.newGriffonClassInstance(java.lang.Class<GriffonView> clazz) |
Modifier and Type | Method and Description |
---|---|
java.util.List<GriffonClass> |
AbstractArtifactManager.getAllClasses() |
java.util.Map<java.lang.String,GriffonClass> |
AbstractArtifactHandler.getClassesByName() |
java.util.List<GriffonClass> |
AbstractArtifactManager.getClassesOfType(java.lang.String type) |
Modifier and Type | Method and Description |
---|---|
boolean |
AbstractArtifactHandler.isArtifact(GriffonClass clazz) |
<A extends GriffonArtifact> |
AbstractArtifactManager.newInstance(GriffonClass griffonClass) |