com.davisor.ejb.chart
Class ChartSessionBean

java.lang.Object
  extended bycom.davisor.ejb.chart.ChartSessionBean
All Implemented Interfaces:
javax.ejb.EnterpriseBean, java.io.Serializable, javax.ejb.SessionBean

public class ChartSessionBean
extends java.lang.Object
implements javax.ejb.SessionBean

Statless session EJB used to create charts.

See Also:
Serialized Form

Constructor Summary
ChartSessionBean()
           
 
Method Summary
 Chart createChart(java.net.URL contextURL, java.lang.String chartXMLsource, java.util.Map attributes)
           
 Chart createChartFromString(java.net.URL contextURL, java.lang.String chartXML, java.util.Map attributes)
           
 void ejbActivate()
           
 void ejbCreate()
           
 void ejbPassivate()
           
 void ejbRemove()
           
 void setSessionContext(javax.ejb.SessionContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChartSessionBean

public ChartSessionBean()
Method Detail

createChart

public Chart createChart(java.net.URL contextURL,
                         java.lang.String chartXMLsource,
                         java.util.Map attributes)
                  throws ChartException,
                         java.io.IOException,
                         java.net.MalformedURLException
Throws:
ChartException
java.io.IOException
java.net.MalformedURLException

createChartFromString

public Chart createChartFromString(java.net.URL contextURL,
                                   java.lang.String chartXML,
                                   java.util.Map attributes)
                            throws ChartException,
                                   java.io.IOException
Throws:
ChartException
java.io.IOException

ejbCreate

public void ejbCreate()
               throws javax.ejb.CreateException
Throws:
javax.ejb.CreateException

setSessionContext

public void setSessionContext(javax.ejb.SessionContext context)
Specified by:
setSessionContext in interface javax.ejb.SessionBean

ejbRemove

public void ejbRemove()
Specified by:
ejbRemove in interface javax.ejb.SessionBean

ejbActivate

public void ejbActivate()
Specified by:
ejbActivate in interface javax.ejb.SessionBean

ejbPassivate

public void ejbPassivate()
Specified by:
ejbPassivate in interface javax.ejb.SessionBean


Copyright © 2001-2004 Davisor Oy. All Rights Reserved.