|
Forge - Resource Addon API 2.0.0.Alpha3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@Exported public interface ResourceFactory
| Method Summary | ||
|---|---|---|
|
create(Class<T> type,
E underlyingResource)
Create a Resource of the given type, using the provided underlying resource instance. |
|
|
create(E underlyingResource)
Create a Resource to represent the provided underlying resource. |
|
ResourceFactory |
fireEvent(ResourceEvent event)
Broadcast a ResourceEvent |
|
| Method Detail |
|---|
<E,T extends Resource<E>> T create(Class<T> type,
E underlyingResource)
Resource of the given type, using the provided underlying resource instance.
<E> Resource<E> create(E underlyingResource)
Resource to represent the provided underlying resource. The resource type will be detected
automatically.
ResourceFactory fireEvent(ResourceEvent event)
ResourceEvent
|
Forge - Resource Addon API 2.0.0.Alpha3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||