com.atlassian.gadgets.renderer.internal
Class GadgetSpecFactoryImpl
java.lang.Object
com.atlassian.gadgets.renderer.internal.GadgetSpecFactoryImpl
- All Implemented Interfaces:
- GadgetSpecFactory
public class GadgetSpecFactoryImpl
- extends Object
- implements GadgetSpecFactory
Default implementation of GadgetSpecFactory
.
Constructor Summary |
GadgetSpecFactoryImpl(com.google.inject.Provider<com.google.inject.Injector> provider,
com.atlassian.sal.api.ApplicationProperties applicationProperties)
Constructor. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GadgetSpecFactoryImpl
public GadgetSpecFactoryImpl(com.google.inject.Provider<com.google.inject.Injector> provider,
com.atlassian.sal.api.ApplicationProperties applicationProperties)
- Constructor.
- Parameters:
provider
- the Guice provider that gives access to shindig objectsapplicationProperties
- the application properties to follow for gadget requests
getGadgetSpec
public GadgetSpec getGadgetSpec(GadgetState gadgetState,
GadgetRequestContext gadgetRequestContext)
throws GadgetParsingException
- Specified by:
getGadgetSpec
in interface GadgetSpecFactory
- Throws:
GadgetParsingException
getGadgetSpec
public GadgetSpec getGadgetSpec(URI uri,
GadgetRequestContext gadgetRequestContext)
throws GadgetParsingException
- Specified by:
getGadgetSpec
in interface GadgetSpecFactory
- Throws:
GadgetParsingException
Copyright © 2009 Atlassian. All Rights Reserved.