Source stringclasses 1
value | Date int32 2.01k 2.01k | Text stringlengths 3 15.9M | Token_count int32 1 2.44M |
|---|---|---|---|
github-java-corpus | 2,012 | package org.jaggeryjs.hostobjects.file;
import org.apache.commons.io.FileUtils;
import org.apache.commons.io.FilenameUtils;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.jaggeryjs.scriptengine.exceptions.ScriptException;
import java.io.File;
import java.net.MalformedU... | 362 |
github-java-corpus | 2,012 | package org.jaggeryjs.hostobjects.file;
import org.jaggeryjs.scriptengine.exceptions.ScriptException;
import java.io.InputStream;
import java.io.OutputStream;
public interface JavaScriptFile {
public void construct() throws ScriptException;
public void open(String mode) throws ScriptException;
public ... | 200 |
github-java-corpus | 2,012 | package org.jaggeryjs.hostobjects.file;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.mozilla.javascript.Context;
import org.mozilla.javascript.Function;
import org.mozilla.javascript.Scriptable;
import org.mozilla.javascript.ScriptableObject;
import org.jaggeryjs.scri... | 1,992 |
github-java-corpus | 2,012 | package org.jaggeryjs.hostobjects.file;
import org.jaggeryjs.scriptengine.exceptions.ScriptException;
import java.io.File;
public interface JavaScriptFileManager {
public JavaScriptFile getJavaScriptFile(Object object) throws ScriptException;
public File getFile(String path) throws ScriptException;
}
| 58 |
github-java-corpus | 2,012 | package org.jaggeryjs.hostobjects.file;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.jaggeryjs.scriptengine.exceptions.ScriptException;
import javax.activation.FileTypeMap;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
imp... | 1,553 |
github-java-corpus | 2,012 | package org.jaggeryjs.hostobjects.xhr;
import org.apache.axiom.om.util.AXIOMUtil;
import org.apache.commons.httpclient.*;
import org.apache.commons.httpclient.auth.AuthScope;
import org.apache.commons.httpclient.methods.*;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.... | 4,100 |
github-java-corpus | 2,012 | package org.jaggeryjs.hostobjects.uri;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.mozilla.javascript.*;
import org.jaggeryjs.scriptengine.exceptions.ScriptException;
import org.jaggeryjs.scriptengine.util.HostObjectUtil;
import org.wso2.uri.template.URITemplate;
imp... | 850 |
github-java-corpus | 2,012 | package org.jaggeryjs.hostobjects.xslt;
/*
* Copyright 2006,2007 WSO2, Inc. http://www.wso2.org
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICE... | 2,349 |
github-java-corpus | 2,012 | package org.jaggeryjs.hostobjects.web;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.mozilla.javascript.Context;
import org.mozilla.javascript.Function;
import org.mozilla.javascript.Scriptable;
import org.mozilla.javascript.ScriptableObject;
import org.jaggeryjs.scrip... | 746 |
github-java-corpus | 2,012 | package org.jaggeryjs.hostobjects.web;
import org.apache.commons.fileupload.FileItem;
import org.apache.commons.fileupload.FileItemFactory;
import org.apache.commons.fileupload.FileUploadException;
import org.apache.commons.fileupload.disk.DiskFileItemFactory;
import org.apache.commons.fileupload.servlet.ServletFileUp... | 3,247 |
github-java-corpus | 2,012 | package org.jaggeryjs.hostobjects.web;
import com.google.gson.Gson;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.mozilla.javascript.Context;
import org.mozilla.javascript.Function;
import org.mozilla.javascript.Scriptable;
import org.mozilla.javascript.ScriptableObjec... | 1,409 |
github-java-corpus | 2,012 | package org.jaggeryjs.hostobjects.web;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.mozilla.javascript.Context;
import org.mozilla.javascript.Function;
import org.mozilla.javascript.Scriptable;
import org.mozilla.javascript.ScriptableObject;
import org.jaggeryjs.scrip... | 1,265 |
github-java-corpus | 2,012 | package org.jaggeryjs.jaggery.app.mgt;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import java.io.*;
import java.util.zip.ZipEntry;
import java.util.zip.ZipInputStream;
public final class JaggeryDeploymentUtil {
private static final Log log = LogFactory.getLog(
... | 560 |
github-java-corpus | 2,012 | /*
* Copyright 2004,2005 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | 740 |
github-java-corpus | 2,012 | package org.jaggeryjs.jaggery.app.mgt;
import java.util.Map;
/**
* This class will hold the servlet web.xml entries
*/
public class ServletParameter {
private String servletName;
private String servletClass;
private int loadOnStartup;
private Map<String,String> initParams;
public String getServ... | 212 |
github-java-corpus | 2,012 | /*
* Copyright (c) 2008, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... | 2,951 |
github-java-corpus | 2,012 | /*
* Copyright 2004,2005 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
... | 406 |
github-java-corpus | 2,012 | /*
* Copyright 2004,2005 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | 693 |
github-java-corpus | 2,012 | /*
* Copyright 2005-2011 WSO2, Inc. (http://wso2.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | 5,439 |
github-java-corpus | 2,012 | package org.jaggeryjs.jaggery.app.mgt;
/**
* This class will hold the servlet mappings web.xml entries
*/
public class ServletMappingParameter {
private String servletName;
private String urlPattern;
public String getServletName() {
return servletName;
}
public void setServletName(String servletN... | 111 |
github-java-corpus | 2,012 | /*
* Copyright 2004,2005 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | 642 |
github-java-corpus | 2,012 | /*
* Copyright (c) 2012, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.... | 5,766 |
github-java-corpus | 2,012 | /*
* Copyright (c) 2012, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.... | 871 |
github-java-corpus | 2,012 | /*
* Copyright (c) 2012, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* You may obtain a copy of the License at
*
* http://www... | 753 |
github-java-corpus | 2,012 | /*
* Copyright (c) 2012, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.... | 537 |
github-java-corpus | 2,012 | /*
* Copyright (c) 2012, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.... | 1,131 |
github-java-corpus | 2,012 | /*
* Copyright (c) 2012, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.... | 416 |
github-java-corpus | 2,012 | package org.jaggeryjs.jaggery.core.plugins;
import org.apache.commons.fileupload.FileItem;
import org.apache.commons.io.FilenameUtils;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.jaggeryjs.hostobjects.file.JavaScriptFile;
import org.jaggeryjs.hostobjects.file.JavaScr... | 481 |
github-java-corpus | 2,012 | package org.jaggeryjs.jaggery.core.plugins;
import org.apache.commons.fileupload.FileItem;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.jaggeryjs.hostobjects.file.JavaScriptFile;
import org.jaggeryjs.hostobjects.file.JavaScriptFileManager;
import org.jaggeryjs.scripte... | 1,130 |
github-java-corpus | 2,012 | package org.jaggeryjs.jaggery.core.plugins;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.jaggeryjs.hostobjects.file.JavaScriptFile;
import org.jaggeryjs.hostobjects.file.JavaScriptFileManager;
import org.jaggeryjs.jaggery.core.manager.CommonManager;
import org.jaggery... | 1,818 |
github-java-corpus | 2,012 | /*
* Copyright (c) 2012, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* You may obtain a copy of the License at
*
* http://www... | 752 |
github-java-corpus | 2,012 | package org.jaggeryjs.jaggery.core;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.jaggeryjs.jaggery.core.manager.WebAppManager;
import org.jaggeryjs.scriptengine.exceptions.ScriptException;
import javax.servlet.ServletConfig;
import javax.servlet.ServletException;
imp... | 460 |
github-java-corpus | 2,012 | package org.jaggeryjs.jaggery.core.manager;
import org.apache.axiom.om.OMAttribute;
import org.apache.axiom.om.OMElement;
import org.apache.axiom.om.OMNamespace;
import org.apache.axiom.om.impl.builder.StAXOMBuilder;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.mozill... | 1,806 |
github-java-corpus | 2,012 | package org.jaggeryjs.jaggery.core.manager;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.jaggeryjs.hostobjects.stream.StreamHostObject;
import org.jaggeryjs.jaggery.core.ScriptReader;
import org.mozilla.javascript.Context;
import org.mozilla.javascript.Function;
impor... | 2,509 |
github-java-corpus | 2,012 | package org.jaggeryjs.jaggery.core.manager;
import org.mozilla.javascript.ScriptableObject;
import org.jaggeryjs.scriptengine.engine.RhinoEngine;
import java.io.OutputStream;
import java.util.HashMap;
import java.util.Map;
import java.util.Stack;
public class JaggeryContext {
private int environment = 0;
pri... | 375 |
github-java-corpus | 2,012 | package org.jaggeryjs.jaggery.core.manager;
import org.apache.axiom.om.OMElement;
import org.apache.axiom.om.impl.builder.StAXOMBuilder;
import org.apache.commons.io.FilenameUtils;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.jaggeryjs.jaggery.core.ScriptReader;
impor... | 1,690 |
github-java-corpus | 2,012 | package org.jaggeryjs.jaggery.core.manager;
import javax.servlet.ServletContext;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
public class WebAppContext extends JaggeryContext {
private ServletContext servletConext = null;
private HttpServletRequest servletRequ... | 226 |
github-java-corpus | 2,012 | package org.jaggeryjs.jaggery.core.manager;
import org.apache.commons.io.FilenameUtils;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.jaggeryjs.hostobjects.file.FileHostObject;
import org.mozilla.javascript.Context;
import org.mozilla.javascript.Function;
import org.mo... | 3,811 |
github-java-corpus | 2,012 | package org.jaggeryjs.jaggery.core;
import org.jaggeryjs.hostobjects.jaggeryparser.JaggeryParser;
import org.jaggeryjs.scriptengine.exceptions.ScriptException;
import java.io.*;
public class ScriptReader extends Reader {
protected InputStream sourceIn = null;
protected Reader sourceReader = null;
privat... | 214 |
github-java-corpus | 2,012 | /*
* Copyright 2004,2005 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | 973 |
github-java-corpus | 2,012 | /*
* Copyright 2012 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 2,120 |
github-java-corpus | 2,012 | /*
* Copyright 2012 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required b... | 839 |
github-java-corpus | 2,012 | /*
* Copyright 2012 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required b... | 324 |
github-java-corpus | 2,012 | /*
* Copyright 2012 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required b... | 806 |
github-java-corpus | 2,012 | /*
* Copyright 2004,2005 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
... | 2,209 |
github-java-corpus | 2,012 | /*
* Copyright 2004,2005 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
... | 942 |
github-java-corpus | 2,012 | /*
* Copyright 2004,2005 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
... | 410 |
github-java-corpus | 2,012 | package org.jaggeryjs.scriptengine.util;
import org.apache.commons.httpclient.Credentials;
import org.apache.commons.httpclient.HttpClient;
import org.apache.commons.httpclient.HttpMethod;
import org.apache.commons.httpclient.MultiThreadedHttpConnectionManager;
import org.apache.commons.httpclient.UsernamePasswordCre... | 1,984 |
github-java-corpus | 2,012 | package org.jaggeryjs.scriptengine.exceptions;
public class ScriptException extends Exception {
public ScriptException(String message) {
super(message);
}
public ScriptException(Exception exception) {
super(exception);
}
public ScriptException(String message, Exception exception)... | 65 |
github-java-corpus | 2,012 | package org.jaggeryjs.scriptengine.cache;
import org.mozilla.javascript.Script;
import org.jaggeryjs.scriptengine.exceptions.ScriptException;
public class CachingContext {
private String tenantId = null;
private String context = null;
private String path = null;
private String cacheKey = null;
pri... | 522 |
github-java-corpus | 2,012 | package org.jaggeryjs.scriptengine.cache;
public class ScriptCachingContext {
private String tenantId = null;
private String context = null;
private String path = null;
private String cacheKey = null;
private volatile long sourceModifiedTime = 0L;
public ScriptCachingContext(String tenantId, S... | 227 |
github-java-corpus | 2,012 | package org.jaggeryjs.scriptengine.cache;
import java.util.HashMap;
import java.util.Map;
public class PackageWrapper {
private long classIndex = 0L;
private Map<String, CachingContext> cachingContexts = new HashMap<String, CachingContext>();
public PackageWrapper() {
}
public long getClassInde... | 218 |
github-java-corpus | 2,012 | package org.jaggeryjs.scriptengine.cache;
import java.util.HashMap;
import java.util.Map;
public class TenantWrapper {
private Map<String, ContextWrapper> contexts = new HashMap<String, ContextWrapper>();
public TenantWrapper() {
}
public Map<String, ContextWrapper> getContexts() {
return c... | 774 |
github-java-corpus | 2,012 | package org.jaggeryjs.scriptengine.cache;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.jaggeryjs.scriptengine.exceptions.ScriptException;
import org.jaggeryjs.scriptengine.util.HostObjectUtil;
import org.mozilla.javascript.CompilerEnvirons;
import org.mozilla.javascri... | 1,517 |
github-java-corpus | 2,012 | package org.jaggeryjs.scriptengine.cache;
import java.util.HashMap;
import java.util.Map;
public class ContextWrapper {
private Map<String, PackageWrapper> packages = new HashMap<String, PackageWrapper>();
private String context = null;
public ContextWrapper(String context) {
this.context = con... | 318 |
github-java-corpus | 2,012 | package org.jaggeryjs.scriptengine;
public class EngineConstants {
public static final String GLOBAL_OBJECT_NAME = "[GLOBAL]";
}
| 28 |
github-java-corpus | 2,012 | package org.jaggeryjs.scriptengine.engine;
import org.mozilla.javascript.Script;
public class JavaScriptScript {
private String name = null;
private Script script = null;
public JavaScriptScript(String name) {
this.name = name;
}
public String getName() {
return name;
}
... | 112 |
github-java-corpus | 2,012 | package org.jaggeryjs.scriptengine.engine;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.mozilla.javascript.Context;
import org.mozilla.javascript.ContextFactory;
import org.mozilla.javascript.Function;
import org.mozilla.javascript.FunctionObject;
import org.mozilla.j... | 4,314 |
github-java-corpus | 2,012 | package org.jaggeryjs.scriptengine.engine;
import org.mozilla.javascript.Context;
import org.mozilla.javascript.Function;
import org.mozilla.javascript.Scriptable;
import org.mozilla.javascript.ScriptableObject;
import org.jaggeryjs.scriptengine.exceptions.ScriptException;
import java.lang.reflect.Method;
public cla... | 315 |
github-java-corpus | 2,012 | package org.jaggeryjs.scriptengine.engine;
import org.mozilla.javascript.ScriptableObject;
public class JavaScriptProperty {
private String name = null;
private Object value = null;
private int attribute = ScriptableObject.PERMANENT;
public JavaScriptProperty(String name) {
this.name = name;... | 151 |
github-java-corpus | 2,012 | package org.jaggeryjs.scriptengine.engine;
import org.mozilla.javascript.ScriptableObject;
public class JavaScriptHostObject {
private String name = null;
private Class clazz = null;
private int attribute = ScriptableObject.PERMANENT;
public JavaScriptHostObject(String name) {
this.name = na... | 156 |
github-java-corpus | 2,012 | package org.jaggeryjs.scriptengine.engine;
import com.google.gson.*;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.mozilla.javascript.*;
import org.jaggeryjs.scriptengine.EngineConstants;
import org.jaggeryjs.scriptengine.exceptions.ScriptException;
import org.jaggeryj... | 408 |
github-java-corpus | 2,012 | package org.jaggeryjs.scriptengine.engine;
import java.util.ArrayList;
import java.util.List;
public class JavaScriptModule {
private String name = null;
private String namespace = null;
private boolean expose = false;
private final List<JavaScriptHostObject> hostObjects = new ArrayList<JavaScriptHo... | 356 |
github-java-corpus | 2,012 | package org.jaggeryjs.scriptengine.engine;
import org.mozilla.javascript.Context;
import org.mozilla.javascript.ContextFactory;
import org.mozilla.javascript.xml.XMLLib;
public class CarbonContextFactory extends ContextFactory {
@Override
protected boolean hasFeature(Context cx, int featureIndex) {
if... | 200 |
github-java-corpus | 2,012 | package org.jaggeryjs.scriptengine.engine;
import org.mozilla.javascript.ClassShutter;
public class CarbonClassShutter implements ClassShutter {
@Override
public boolean visibleToScripts(String className) {
if(className.startsWith("org.mozilla.javascript.")) {
return true;
}
... | 69 |
github-java-corpus | 2,012 | /*
* Copyright 2004,2005 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | 430 |
github-java-corpus | 2,012 | /*
* Copyright (c) 2005-2010, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.o... | 994 |
github-java-corpus | 2,012 | /*
* Copyright (c) 2008, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* ... | 339 |
github-java-corpus | 2,012 | /*
* Copyright (c) 2008, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* ... | 243 |
github-java-corpus | 2,012 | /*
* Copyright (c) 2008, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Un... | 2,106 |
github-java-corpus | 2,012 | /*
* Copyright (c) 2005-2010, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.o... | 598 |
github-java-corpus | 2,012 | /*
* Copyright (c) 2005-2010, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.o... | 1,086 |
github-java-corpus | 2,012 | /*
* Copyright (c) 2008, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* ... | 420 |
github-java-corpus | 2,012 | /*
*Copyright (c) 2005-2010, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
*WSO2 Inc. licenses this file to you under the Apache License,
*Version 2.0 (the "License"); you may not use this file except
*in compliance with the License.
*You may obtain a copy of the License at
*
*http://www.apache.org/licenses/LI... | 370 |
github-java-corpus | 2,012 | /*
* Copyright (c) 2005-2011, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.o... | 403 |
github-java-corpus | 2,012 | /*
* Copyright (c) 2005-2010, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.o... | 798 |
github-java-corpus | 2,012 | /*
* Copyright (c) 2005-2011, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.o... | 225 |
github-java-corpus | 2,012 | /*
* Copyright (c) 2005-2011, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.o... | 436 |
github-java-corpus | 2,012 | /*
*Copyright (c) 2005-2010, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
*WSO2 Inc. licenses this file to you under the Apache License,
*Version 2.0 (the "License"); you may not use this file except
*in compliance with the License.
*You may obtain a copy of the License at
*
*http://www.apache.org/licenses/LI... | 327 |
github-java-corpus | 2,012 | package org.wso2.cep.integration.tests;
import org.apache.axis2.client.Options;
import org.apache.axis2.client.ServiceClient;
import org.testng.Assert;
import org.testng.annotations.AfterClass;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.Test;
import org.wso2.carbon.cep.stub.admin.CEPAdmin... | 1,344 |
github-java-corpus | 2,012 | package org.wso2.cep.integration.tests;
import org.apache.axis2.client.Options;
import org.apache.axis2.client.ServiceClient;
import org.testng.Assert;
import org.testng.annotations.AfterClass;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.Test;
import org.wso2.carbon.cep.stub.admin.CEPAdmin... | 1,421 |
github-java-corpus | 2,012 | package org.wso2.cep.integration.tests;
import org.apache.axis2.client.Options;
import org.apache.axis2.client.ServiceClient;
import org.testng.Assert;
import org.testng.annotations.AfterClass;
import org.testng.annotations.BeforeClass;
import org.wso2.carbon.cep.stub.admin.CEPAdminServiceCEPAdminException;
import org... | 1,728 |
github-java-corpus | 2,012 | package org.wso2.cep.integration.tests;
import org.apache.axis2.client.Options;
import org.apache.axis2.client.ServiceClient;
import org.testng.Assert;
import org.testng.annotations.AfterClass;
import org.testng.annotations.BeforeClass;
import org.wso2.carbon.cep.stub.admin.CEPAdminServiceCEPAdminException;
import org... | 1,898 |
github-java-corpus | 2,012 | package org.wso2.cep.integration.tests;
import org.apache.axis2.client.Options;
import org.apache.axis2.client.ServiceClient;
import org.testng.Assert;
import org.testng.annotations.AfterClass;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.Test;
import org.wso2.carbon.brokermanager.stub.Brok... | 1,836 |
github-java-corpus | 2,012 | /*
* Copyright (c) 2005-2011, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.o... | 223 |
github-java-corpus | 2,012 | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License")... | 236 |
github-java-corpus | 2,012 | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License")... | 273 |
github-java-corpus | 2,012 | /*
* Copyright 2004,2005 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | 2,241 |
github-java-corpus | 2,012 | /*
* Copyright 2004,2005 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | 203 |
github-java-corpus | 2,012 | /*
* Copyright 2004,2005 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | 2,278 |
github-java-corpus | 2,012 | package org.wso2.carbon.cep.sample;
import javax.naming.InitialContext;
import java.util.Properties;
import javax.naming.NamingException;
import javax.jms.*;
/**
* Subscribe to myTopic and wait 10seconds to receive messages
*/
public class Subscriber implements MessageListener {
private static InitialContext in... | 549 |
github-java-corpus | 2,012 | /*
* Copyright 2004,2005 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | 211 |
github-java-corpus | 2,012 | /*
* Copyright 2004,2005 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | 2,246 |
github-java-corpus | 2,012 | package org.wso2.carbon.cep.sample;
import javax.jms.TopicConnectionFactory;
import javax.naming.InitialContext;
import javax.naming.NamingException;
public class
JNDIContext {
private InitialContext initContext = null;
private TopicConnectionFactory topicConnectionFactory = null;
public static J... | 293 |
github-java-corpus | 2,012 | package org.wso2.carbon.cep.sample;
import org.apache.axiom.om.OMElement;
import org.apache.axiom.om.impl.builder.StAXOMBuilder;
import org.apache.axiom.om.util.StAXUtils;
import javax.naming.InitialContext;
import javax.xml.stream.XMLStreamException;
import javax.xml.stream.XMLStreamReader;
import java.io.ByteArrayI... | 2,071 |
github-java-corpus | 2,012 | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License")... | 236 |
github-java-corpus | 2,012 | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License")... | 273 |
github-java-corpus | 2,012 | /*
* Copyright 2004,2005 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | 2,282 |
github-java-corpus | 2,012 | /*
* Copyright 2004,2005 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | 203 |
github-java-corpus | 2,012 | /*
* Copyright 2004,2005 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | 2,278 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.