| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | dispose(Gson instance)
Implements org. This method will dispose of objects created with this scope. |
| public Gson | provide()
Implements org. This method will create instances of the type of this factory. |
| GsonFactory | back to summary |
|---|---|
| public GsonFactory() | |
| dispose | back to summary |
|---|---|
| public void dispose(Gson instance) Implements org. Doc from org. This method will dispose of objects created with this scope. This method should not be annotated, as it is naturally paired with the provide method
| |
| provide | back to summary |
|---|---|
| public Gson provide() Implements org. Doc from org. This method will create instances of the type of this factory. The provide method must be annotated with the desired scope and qualifiers.
| |