com.nordija.tapestry.bayeux.stream
Class StreamLink

java.lang.Object
  extended by org.apache.hivemind.impl.BaseLocatable
      extended by org.apache.tapestry.AbstractComponent
          extended by org.apache.tapestry.link.AbstractLinkComponent
              extended by com.nordija.tapestry.bayeux.stream.StreamLink
All Implemented Interfaces:
IStream, org.apache.hivemind.Locatable, org.apache.hivemind.LocationHolder, org.apache.tapestry.components.ILinkComponent, org.apache.tapestry.IComponent, org.apache.tapestry.IDirectEvent, org.apache.tapestry.IDynamicInvoker, org.apache.tapestry.IRender

public abstract class StreamLink
extends org.apache.tapestry.link.AbstractLinkComponent
implements IStream

Renders a link to the stream service.

The link acts much like the DirectLink but renders a link to the StreamService an id for the resource to be streamed.

Version:
$Id: StreamLink.java 131 2007-06-05 19:31:21Z jeyben $
Author:
Jacob von Eyben www.nordija.com
See Also:
StreamService

Constructor Summary
StreamLink()
           
 
Method Summary
 org.apache.tapestry.engine.ILink getLink(org.apache.tapestry.IRequestCycle cycle)
          todo: document
abstract  java.lang.Object getParameters()
          The parameters passed to the StreamService and further to the specified StreamResourceSourceExtention.
abstract  java.lang.String getStreamResourceSourceExtentionName()
          todo: document
abstract  org.apache.tapestry.engine.IEngineService getStreamService()
          todo: document
 
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, getContainer, getEventInvoker, getExtendedId, getId, getIdPath, getListeners, getMessages, getNamespace, getPage, getRenderWorker, getSpecification, getSpecifiedId, getTemplateTagName, hashCode, isInActiveState, isParameterBound, isRendering, isStateful, pageEndRender, peekClientId, prepareForRender, render, renderBody, renderIdAttribute, renderInformalParameters, setBinding, setClientId, setContainedComponent, setContainer, setId, setNamespace, setPage, setTemplateTagName, toString, triggerEvent
 
Methods inherited from class org.apache.hivemind.impl.BaseLocatable
getLocation, setLocation
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.nordija.tapestry.bayeux.stream.IStream
isStateful
 
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
 
Methods inherited from interface org.apache.tapestry.IDynamicInvoker
getUpdateComponents, isAsync, isJson
 
Methods inherited from interface org.apache.tapestry.components.ILinkComponent
getPort, getScheme, getTarget
 

Constructor Detail

StreamLink

public StreamLink()
Method Detail

getParameters

public abstract java.lang.Object getParameters()
The parameters passed to the StreamService and further to the specified StreamResourceSourceExtention.

Returns:

getStreamResourceSourceExtentionName

public abstract java.lang.String getStreamResourceSourceExtentionName()
todo: document

Returns:

getStreamService

public abstract org.apache.tapestry.engine.IEngineService getStreamService()
todo: document

Returns:

getLink

public org.apache.tapestry.engine.ILink getLink(org.apache.tapestry.IRequestCycle cycle)
todo: document

Specified by:
getLink in interface org.apache.tapestry.components.ILinkComponent
Overrides:
getLink in class org.apache.tapestry.link.AbstractLinkComponent
Parameters:
cycle -
Returns:


Copyright © 2004-2007 Nordija A/S. All Rights Reserved.