org.apache.tapestry.link
Class ServiceLink
java.lang.Object
org.apache.hivemind.impl.BaseLocatable
org.apache.tapestry.AbstractComponent
org.apache.tapestry.link.AbstractLinkComponent
org.apache.tapestry.link.ServiceLink
- All Implemented Interfaces:
- org.apache.hivemind.Locatable, org.apache.hivemind.LocationHolder, ILinkComponent, IComponent, IDirectEvent, Component, IRender
public abstract class ServiceLink
- extends AbstractLinkComponent
A component for creating a link for an arbitrary engine service
. A ServiceLink component can emulate a PageLink
or DirectLink
component,
but is most often used in conjunction with an application-specific service.
[Component Reference]
- Author:
- Howard Lewis Ship
Methods inherited from class org.apache.tapestry.link.AbstractLinkComponent |
addEventHandler, cleanupAfterRender, finishLoad, getAnchor, getRenderer, isDisabled, renderAdditionalAttributes, renderComponent, setRenderer, writeEventHandler, writeEventHandlers |
Methods inherited from class org.apache.tapestry.AbstractComponent |
addAsset, addBody, addComponent, checkActiveLock, enterActiveState, equals, finishLoad, generateClientId, getAsset, getAssets, getBeans, getBinding, getBindingNames, getBindings, getBody, getBodyCount, getBoundId, getClientId, getComponent, getComponents, getContainedComponent, getContainedRenderers, getContainer, getEventInvoker, getExtendedId, getId, getIdPath, getInnerRenderers, getListeners, getMessages, getNamespace, getPage, getRenderWorker, getSpecification, getSpecifiedId, getTemplateTagName, hasEvents, hashCode, isInActiveState, isParameterBound, isRendering, isStateful, pageEndRender, peekClientId, prepareForRender, render, renderBody, renderIdAttribute, renderInformalParameters, setBinding, setClientId, setContainedComponent, setContainer, setHasEvents, setId, setNamespace, setPage, setTemplateTagName, toString, triggerEvent |
Methods inherited from class org.apache.hivemind.impl.BaseLocatable |
getLocation, setLocation |
Methods inherited from interface org.apache.tapestry.IComponent |
addAsset, addBody, addComponent, enterActiveState, finishLoad, getAsset, getAssets, getBeans, getBinding, getBindingNames, getBindings, getClientId, getComponent, getComponents, getContainedComponent, getContainer, getEventInvoker, getExtendedId, getId, getIdPath, getListeners, getMessages, getNamespace, getPage, getSpecification, getSpecifiedId, getTemplateTagName, isRendering, peekClientId, renderBody, setBinding, setClientId, setContainedComponent, setContainer, setId, setNamespace, setPage, setTemplateTagName |
Methods inherited from interface org.apache.tapestry.IRender |
render |
Methods inherited from interface org.apache.hivemind.LocationHolder |
setLocation |
Methods inherited from interface org.apache.hivemind.Locatable |
getLocation |
ServiceLink
public ServiceLink()
getLink
public ILink getLink(IRequestCycle cycle)
- Description copied from interface:
ILinkComponent
- Invoked by the
ILinkRenderer
(if the
link is not disabled) to provide a
EngineServiceLink
that the renderer
can convert into a URL.
- Specified by:
getLink
in interface ILinkComponent
- Overrides:
getLink
in class AbstractLinkComponent
- Parameters:
cycle
- The current request.
- Returns:
- A
ILink
instance representing the link information for this component.
getService
public abstract String getService()
getServiceMap
public abstract ServiceMap getServiceMap()
- Injected.
- Since:
- 4.1
getParameters
public abstract Object getParameters()
Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.