|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.gadgets.renderer.internal.GadgetSpecFactoryImpl
public class GadgetSpecFactoryImpl
Default implementation of GadgetSpecFactory.
| Constructor Summary | |
|---|---|
GadgetSpecFactoryImpl(com.google.inject.Provider<com.google.inject.Injector> provider,
com.atlassian.sal.api.ApplicationProperties applicationProperties)
Constructor. |
|
| Method Summary | |
|---|---|
GadgetSpec |
getGadgetSpec(GadgetState gadgetState,
GadgetRequestContext gadgetRequestContext)
Create a GadgetSpec from a GadgetState |
GadgetSpec |
getGadgetSpec(URI uri,
GadgetRequestContext gadgetRequestContext)
Create a GadgetSpec from a spec URI |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GadgetSpecFactoryImpl(com.google.inject.Provider<com.google.inject.Injector> provider,
com.atlassian.sal.api.ApplicationProperties applicationProperties)
provider - the Guice provider that gives access to shindig objectscachePolicy - the cache policy to follow for gadget requests| Method Detail |
|---|
public GadgetSpec getGadgetSpec(GadgetState gadgetState,
GadgetRequestContext gadgetRequestContext)
throws GadgetParsingException
GadgetSpecFactoryGadgetSpec from a GadgetState
getGadgetSpec in interface GadgetSpecFactorygadgetState - the state to create a GadgetSpec fromgadgetRequestContext - the context of this request
GadgetSpec
GadgetParsingException
public GadgetSpec getGadgetSpec(URI uri,
GadgetRequestContext gadgetRequestContext)
throws GadgetParsingException
GadgetSpecFactoryGadgetSpec from a spec URI
getGadgetSpec in interface GadgetSpecFactoryuri - the spec uri to create a GadgetSpec fromgadgetRequestContext - the context of this request
GadgetSpec
GadgetParsingException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||