|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Remote interface for ChartSessionBean stateless session EJB. Used to create Chart objects.
| Method Summary | |
Chart |
createChart(java.net.URL context,
java.lang.String source,
java.util.Map attributes)
Creates a Chart object from a given Chart XML source URL. |
Chart |
createChartFromString(java.net.URL contextURL,
java.lang.String chartXML,
java.util.Map attributes)
Creates a Chart object from a given Chart XML string. |
| Methods inherited from interface javax.ejb.EJBObject |
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove |
| Method Detail |
public Chart createChart(java.net.URL context,
java.lang.String source,
java.util.Map attributes)
throws ChartException,
java.io.IOException,
java.net.MalformedURLException,
java.rmi.RemoteException
context - Context URL (can be null if source contains full URL)source - Chart XML document source.attributes - Map of external attributes used in Chart XML (can be null). Attribute objects must be serializable.
ChartException - Thrown if chart generation fails
java.io.IOException - Thrown if an I/O exception of some sort occurs.
java.net.MalformedURLException - Thrown if the source specifies an unknown protocol or the string can not be parsed.
java.rmi.RemoteException - Thrown if RMI exception occurs.
public Chart createChartFromString(java.net.URL contextURL,
java.lang.String chartXML,
java.util.Map attributes)
throws ChartException,
java.io.IOException,
java.rmi.RemoteException
chartXML - Chart XML document content.attributes - Map of external attributes used in Chart XML (can be null). Attribute objects must be serializable.
ChartException - Thrown if chart generation fails
java.io.IOException - Thrown if an I/O exception of some sort occurs.
java.rmi.RemoteException - Thrown if RMI exception occurs.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||