org.nuxeo.opensocial.gadgets.service
Class InternalGadgetDescriptor
java.lang.Object
org.nuxeo.opensocial.gadgets.service.InternalGadgetDescriptor
- All Implemented Interfaces:
- GadgetDeclaration
public class InternalGadgetDescriptor
- extends java.lang.Object
- implements GadgetDeclaration
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GADGETS_PORT
public static final java.lang.String GADGETS_PORT
- See Also:
- Constant Field Values
GADGETS_HOST
public static final java.lang.String GADGETS_HOST
- See Also:
- Constant Field Values
GADGETS_PATH
public static final java.lang.String GADGETS_PATH
- See Also:
- Constant Field Values
HTTP
public static final java.lang.String HTTP
- See Also:
- Constant Field Values
HTTP_SEPARATOR
public static final java.lang.String HTTP_SEPARATOR
- See Also:
- Constant Field Values
URL_SEPARATOR
public static final java.lang.String URL_SEPARATOR
- See Also:
- Constant Field Values
InternalGadgetDescriptor
public InternalGadgetDescriptor()
getName
public java.lang.String getName()
- Specified by:
getName
in interface GadgetDeclaration
getDisabled
public boolean getDisabled()
- Specified by:
getDisabled
in interface GadgetDeclaration
getIcon
public java.lang.String getIcon()
getMountPoint
public final java.lang.String getMountPoint()
getCategory
public final java.lang.String getCategory()
- Specified by:
getCategory
in interface GadgetDeclaration
setBundle
public final void setBundle(org.osgi.framework.Bundle bundle)
getBundle
public final org.osgi.framework.Bundle getBundle()
setComponentName
public final void setComponentName(ComponentName name)
getComponentName
public final ComponentName getComponentName()
setEntryPoint
public final void setEntryPoint(java.lang.String entryPoint)
getEntryPoint
public final java.lang.String getEntryPoint()
getDirectory
public java.lang.String getDirectory()
getIconUrl
public java.lang.String getIconUrl()
- Specified by:
getIconUrl
in interface GadgetDeclaration
getUrlPrefix
public java.lang.StringBuilder getUrlPrefix()
getResourceAsStream
public java.io.InputStream getResourceAsStream(java.lang.String resourcePath)
throws java.io.IOException
- Specified by:
getResourceAsStream
in interface GadgetDeclaration
- Throws:
java.io.IOException
getGadgetDefinition
public java.net.URL getGadgetDefinition()
throws java.net.MalformedURLException
- Specified by:
getGadgetDefinition
in interface GadgetDeclaration
- Throws:
java.net.MalformedURLException
Copyright © 2010 Nuxeo SAS. All Rights Reserved.