Author: keith Date: Thu Jul 17 02:50:23 2008 New Revision: 19408 URL: http://wso2.org/svn/browse/wso2?view=rev&revision=19408
Log: Fixing Mashup-966 Modified: trunk/mashup/java/modules/hostobjects/src/org/wso2/mashup/hostobjects/system/SystemHostObject.java Modified: trunk/mashup/java/modules/hostobjects/src/org/wso2/mashup/hostobjects/system/SystemHostObject.java URL: http://wso2.org/svn/browse/wso2/trunk/mashup/java/modules/hostobjects/src/org/wso2/mashup/hostobjects/system/SystemHostObject.java?rev=19408&r1=19407&r2=19408&view=diff ============================================================================== --- trunk/mashup/java/modules/hostobjects/src/org/wso2/mashup/hostobjects/system/SystemHostObject.java (original) +++ trunk/mashup/java/modules/hostobjects/src/org/wso2/mashup/hostobjects/system/SystemHostObject.java Thu Jul 17 02:50:23 2008 @@ -149,30 +149,6 @@ /** * <p/> - * Get the string representing the request address. - * </p> - * <p/> - * <pre> - * var endpointURL = system.endpointURL; - * </pre> - * - * @throws MashupFault Thrown in case any exceptions occur - */ - public String jsGet_endpointURL() throws MashupFault { - Object object = Context.getCurrentContext() - .getThreadLocal(JavaScriptEngineConstants.AXIS2_MESSAGECONTEXT); - if (object instanceof MessageContext) { - MessageContext messageContext = (MessageContext) object; - EndpointReference to = messageContext.getTo(); - if (to != null) { - return to.getAddress(); - } - } - return MashupConstants.EMPTY_STRING; - } - - /** - * <p/> * Imports the external scripts given as the arguments, to the java script * run time. Paths of the scripts to be imported can be given using a comma * separated list as arguments. Imported script files needs to be placed in _______________________________________________ Mashup-dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/mashup-dev
