bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
public void removeReferences(long channelID, List references) throws Exception { if (trace) { log.trace(this + " Removing " + references.size() + " refs from channel " + channelID); } Connection conn = null; PreparedStatement psDeleteReference = null; PreparedStatement psDeleteMessage =... | public void removeReferences(long channelID, List references) throws Exception { if (trace) { log.trace(this + " Removing " + references.size() + " refs from channel " + channelID); } Connection conn = null; PreparedStatement psDeleteReference = null; PreparedStatement psDeleteMessage =... | 42,400 |
public void removeReferences(long channelID, List references) throws Exception { if (trace) { log.trace(this + " Removing " + references.size() + " refs from channel " + channelID); } Connection conn = null; PreparedStatement psDeleteReference = null; PreparedStatement psDeleteMessage =... | public void removeReferences(long channelID, List references) throws Exception { if (trace) { log.trace(this + " Removing " + references.size() + " refs from channel " + channelID); } Connection conn = null; PreparedStatement psDeleteReference = null; PreparedStatement psDeleteMessage =... | 42,401 |
public void removeReferences(long channelID, List references) throws Exception { if (trace) { log.trace(this + " Removing " + references.size() + " refs from channel " + channelID); } Connection conn = null; PreparedStatement psDeleteReference = null; PreparedStatement psDeleteMessage =... | public void removeReferences(long channelID, List references) throws Exception { if (trace) { log.trace(this + " Removing " + references.size() + " refs from channel " + channelID); } Connection conn = null; PreparedStatement psDeleteReference = null; PreparedStatement psDeleteMessage =... | 42,402 |
public void removeReferences(long channelID, List references) throws Exception { if (trace) { log.trace(this + " Removing " + references.size() + " refs from channel " + channelID); } Connection conn = null; PreparedStatement psDeleteReference = null; PreparedStatement psDeleteMessage =... | public void removeReferences(long channelID, List references) throws Exception { if (trace) { log.trace(this + " Removing " + references.size() + " refs from channel " + channelID); } Connection conn = null; PreparedStatement psDeleteReference = null; PreparedStatement psDeleteMessage =... | 42,403 |
public void removeReferences(long channelID, List references) throws Exception { if (trace) { log.trace(this + " Removing " + references.size() + " refs from channel " + channelID); } Connection conn = null; PreparedStatement psDeleteReference = null; PreparedStatement psDeleteMessage =... | public void removeReferences(long channelID, List references) throws Exception { if (trace) { log.trace(this + " Removing " + references.size() + " refs from channel " + channelID); } Connection conn = null; PreparedStatement psDeleteReference = null; PreparedStatement psDeleteMessage =... | 42,404 |
public void removeReferences(long channelID, List references) throws Exception { if (trace) { log.trace(this + " Removing " + references.size() + " refs from channel " + channelID); } Connection conn = null; PreparedStatement psDeleteReference = null; PreparedStatement psDeleteMessage =... | public void removeReferences(long channelID, List references) throws Exception { if (trace) { log.trace(this + " Removing " + references.size() + " refs from channel " + channelID); } Connection conn = null; PreparedStatement psDeleteReference = null; PreparedStatement psDeleteMessage =... | 42,405 |
public void removeReferences(long channelID, List references) throws Exception { if (trace) { log.trace(this + " Removing " + references.size() + " refs from channel " + channelID); } Connection conn = null; PreparedStatement psDeleteReference = null; PreparedStatement psDeleteMessage =... | public void removeReferences(long channelID, List references) throws Exception { if (trace) { log.trace(this + " Removing " + references.size() + " refs from channel " + channelID); } Connection conn = null; PreparedStatement psDeleteReference = null; PreparedStatement psDeleteMessage =... | 42,406 |
public long reserveIDBlock(String counterName, int size) throws Exception { //TODO This will need locking (e.g. SELECT ... FOR UPDATE...) in the clustered case if (trace) { log.trace("Getting id block for counter: " + counterName + " ,size: " + size); } if (size <= 0) ... | public long reserveIDBlock(String counterName, int size) throws Exception { //TODO This will need locking (e.g. SELECT ... FOR UPDATE...) in the clustered case if (trace) { log.trace("Getting id block for counter: " + counterName + " ,size: " + size); } if (size <= 0) ... | 42,407 |
public long reserveIDBlock(String counterName, int size) throws Exception { //TODO This will need locking (e.g. SELECT ... FOR UPDATE...) in the clustered case if (trace) { log.trace("Getting id block for counter: " + counterName + " ,size: " + size); } if (size <= 0) ... | public long reserveIDBlock(String counterName, int size) throws Exception { //TODO This will need locking (e.g. SELECT ... FOR UPDATE...) in the clustered case if (trace) { log.trace("Getting id block for counter: " + counterName + " ,size: " + size); } if (size <= 0) ... | 42,408 |
protected void resetMessageData() throws Exception { if (trace) { log.trace("Removing all non-persistent data"); } Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); try { conn = ds.getConnection(); ... | protected void resetMessageData() throws Exception { if (trace) { log.trace("Removing all non-persistent data"); } Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); try { conn = getConnection(); log.info("Remo... | 42,409 |
public List retrievePreparedTransactions() throws Exception { Connection conn = null; Statement st = null; ResultSet rs = null; TransactionWrapper wrap = new TransactionWrapper(); try { List transactions = new ArrayList(); conn = ds.getConnection(); ... | public List retrievePreparedTransactions() throws Exception { Connection conn = null; Statement st = null; ResultSet rs = null; TransactionWrapper wrap = new TransactionWrapper(); try { List transactions = new ArrayList(); conn = getConnection(); ... | 42,411 |
protected void startService() throws Exception { if (ds == null) { InitialContext ic = new InitialContext(); ds = (DataSource) ic.lookup(dataSourceJNDIName); ic.close(); } if (ds == null) { throw new Exception("No DataSource found. This service depende... | protected void startService() throws Exception { if (ds == null) { InitialContext ic = new InitialContext(); ds = (DataSource) ic.lookup(dataSourceJNDIName); ic.close(); } if (ds == null) { throw new Exception("No DataSource found. This service depende... | 42,413 |
protected void storeMessage(Message m, PreparedStatement ps) throws Exception { /* Reference counting code commented out until 1.2 // get the reference count from the database // TODO Probably this can be done smarter than that incrementing directly in the database ps ... | protected void storeMessage(Message m, PreparedStatement ps) throws Exception { /* Reference counting code commented out until 1.2 // get the reference count from the database // TODO Probably this can be done smarter than that incrementing directly in the database ps ... | 42,414 |
public void updateReferencesNotLoaded(long channelID, List references) throws Exception { Connection conn = null; PreparedStatement psUpdateReference = null; TransactionWrapper wrap = new TransactionWrapper(); if (trace) { log.trace("Updating references to not loaded for ch... | public void updateReferencesNotLoaded(long channelID, List references) throws Exception { Connection conn = null; PreparedStatement psUpdateReference = null; TransactionWrapper wrap = new TransactionWrapper(); if (trace) { log.trace("Updating references to not loaded for ch... | 42,416 |
public void updateReferencesNotLoaded(long channelID, List references) throws Exception { Connection conn = null; PreparedStatement psUpdateReference = null; TransactionWrapper wrap = new TransactionWrapper(); if (trace) { log.trace("Updating references to not loaded for ch... | public void updateReferencesNotLoaded(long channelID, List references) throws Exception { Connection conn = null; PreparedStatement psUpdateReference = null; TransactionWrapper wrap = new TransactionWrapper(); if (trace) { log.trace("Updating references to not loaded for ch... | 42,417 |
public void updateReliableReferencesLoadedInRange(long channelID, long orderStart, long orderEnd) throws Exception { if (trace) { log.trace("Updating reliable references for channel " + channelID + " between " + orderStart + " and " + orderEnd); } Connection conn = null; Prep... | public void updateReliableReferencesLoadedInRange(long channelID, long orderStart, long orderEnd) throws Exception { if (trace) { log.trace("Updating reliable references for channel " + channelID + " between " + orderStart + " and " + orderEnd); } Connection conn = null; Prepa... | 42,418 |
public void updateReliableReferencesLoadedInRange(long channelID, long orderStart, long orderEnd) throws Exception { if (trace) { log.trace("Updating reliable references for channel " + channelID + " between " + orderStart + " and " + orderEnd); } Connection conn = null; Prep... | public void updateReliableReferencesLoadedInRange(long channelID, long orderStart, long orderEnd) throws Exception { if (trace) { log.trace("Updating reliable references for channel " + channelID + " between " + orderStart + " and " + orderEnd); } Connection conn = null; Prep... | 42,419 |
void setBytes(int parameterIndex, byte[] x) throws SQLException; | void setBytes(int parameterIndex, byte[] x) throws SQLException; | 42,420 |
public static void writeMap(ObjectOutput out, Map map, boolean stringKeys) throws IOException { if (map.isEmpty()) { out.writeByte(NULL); } else { out.writeByte(MAP); Set entrySet = map.entrySet(); out.writeInt(entrySet.size()); for (Iter... | public static void writeMap(ObjectOutput out, Map map, boolean stringKeys) throws IOException { if (map.isEmpty()) { out.writeByte(NULL); } else { out.writeByte(MAP); Set entrySet = map.entrySet(); out.writeInt(entrySet.size()); for (Iter... | 42,421 |
public static void writeMap(ObjectOutput out, Map map, boolean stringKeys) throws IOException { if (map.isEmpty()) { out.writeByte(NULL); } else { out.writeByte(MAP); Set entrySet = map.entrySet(); out.writeInt(entrySet.size()); for (Iter... | public static void writeMap(ObjectOutput out, Map map, boolean stringKeys) throws IOException { if (map.isEmpty()) { out.writeByte(NULL); } else { out.writeByte(MAP); Set entrySet = map.entrySet(); out.writeInt(entrySet.size()); for (Iter... | 42,422 |
void setBinaryStream(int parameterIndex, InputStream x, int length) throws SQLException; | void setBinaryStream(int index, InputStream stream, int count) throws SQLException; | 42,423 |
void setByte(int parameterIndex, byte x) throws SQLException; | void setByte(int parameterIndex, byte x) throws SQLException; | 42,424 |
public void layoutContainer(Container parent) { awtContainer.doLayout(); final int cnt = parent.getComponentCount(); final Insets insets = containerPeer.getInsets(); final int dx = insets.left; final int dy = insets.top; for (int i = 0; i < cnt; i++) { final Component child = parent.getComponent(... | public void layoutContainer(Container parent) { awtContainer.doLayout(); final int cnt = parent.getComponentCount(); final Insets insets = containerPeer.getInsets(); final int dx = insets.left; final int dy = insets.top; for (int i = 0; i < cnt; i++) { final Component child = parent.getComponent(... | 42,426 |
public void actionPerformed(ActionEvent evt) { System.exit(0); } | public void actionPerformed(ActionEvent evt) { try { FileDialog fd = new FileDialog(root.frame,"Open a local file",FileDialog.LOAD); fd.show(); String file = fd.getDirectory() + fd.getFile(); root.panel.loadPage(file); } catch (Exception ex) { logger.info("error:" + ex); } } | 42,428 |
public void actionPerformed(ActionEvent evt) { try { goBack(); view.repaint(); } catch (Exception ex) { u.p(ex); } } | public void actionPerformed(ActionEvent evt) { try { goBack(); view.repaint(); } catch (Exception ex) { u.p(ex); } } | 42,429 |
public void actionPerformed(ActionEvent evt) { root.panel.view.c.debug_draw_line_boxes = !root.panel.view.c.debug_draw_line_boxes; root.panel.view.repaint(); } | public void actionPerformed(ActionEvent evt) { root.panel.view.c.debug_draw_boxes = !root.panel.view.c.debug_draw_boxes; root.panel.view.repaint(); } | 42,430 |
public void actionPerformed(ActionEvent evt) { root.panel.view.c.debug_draw_inline_boxes = !root.panel.view.c.debug_draw_inline_boxes; root.panel.view.repaint(); } | public void actionPerformed(ActionEvent evt) { root.panel.view.c.debug_draw_line_boxes = !root.panel.view.c.debug_draw_line_boxes; root.panel.view.repaint(); } | 42,431 |
public void actionPerformed(ActionEvent evt) { JFrame frame = new JFrame(); frame.getContentPane().add(new DOMInspector(root.panel.view.doc)); frame.pack(); frame.setSize(250,500); frame.show(); } | public void actionPerformed(ActionEvent evt) { JFrame frame = new JFrame(); frame.getContentPane().add(new DOMInspector(root.panel.view.doc)); frame.pack(); frame.setSize(250,500); frame.show(); } | 42,432 |
public void actionPerformed(ActionEvent evt) { try { FileDialog fd = new FileDialog(root.frame,"Open a local file",FileDialog.LOAD); fd.show(); String file = fd.getDirectory() + fd.getFile(); root.panel.loadPage(file)... | public void actionPerformed(ActionEvent evt) { try { FileDialog fd = new FileDialog(root.frame,"Open a local file",FileDialog.LOAD); fd.show(); String file = fd.getDirectory() + fd.getFile(); root.panel.loadPage(file)... | 42,433 |
public void actionPerformed(ActionEvent evt) { try { String url_text = url.getText(); loadPage(url_text); view.repaint(); } catch (Exception ex) { u.p(ex); } } | public void actionPerformed(ActionEvent evt) { try { String url_text = url.getText(); loadPage(url_text); view.repaint(); } catch (Exception ex) { u.p(ex); } } | 42,434 |
public void actionPerformed(ActionEvent evt) { try { goForward(); view.repaint(); } catch (Exception ex) { u.p(ex); } } | public void actionPerformed(ActionEvent evt) { try { goBack(); view.repaint(); } catch (Exception ex) { u.p(ex); } } | 42,435 |
public void actionPerformed(ActionEvent evt) { try { reloadPage(); view.repaint(); } catch (Exception ex) { u.p(ex); } } | public void actionPerformed(ActionEvent evt) { try { goForward(); view.repaint(); } catch (Exception ex) { u.p(ex); } } | 42,436 |
public FileDialog(Frame parent, String title, int mode) { super(parent, title, true); setMode(mode); } | public FileDialog(Frame parent, String title, int mode) { super(parent, title, true); setMode(mode); } | 42,439 |
public String getDirectory() { return (dir); } | public String getDirectory() { return (dir); } | 42,440 |
public String getFile() { return (file); } | public String getFile() { return (file); } | 42,441 |
public void setDocument(Document doc, URL url) { this.doc = doc; Element html = (Element)doc.getDocumentElement(); c.css = new CSSBank(); c.setBaseURL(url); try { //c.css.parse(new FileReader("second.css")); Object marker = new DefaultCSSMarker(); ... | public void setDocument(Document doc, URL url) { this.doc = doc; Element html = (Element)doc.getDocumentElement(); c.css = new CSSBank(); c.setBaseURL(url); try { //c.css.parse(new FileReader("second.css")); Object marker = new DefaultCSSMarker(); ... | 42,442 |
public void start(Xid xid, int flags) throws XAException { if (log.isTraceEnabled()) log.trace("Start xid=" + xid + ", flags=" + flags + " " + this); boolean convertTx = false; if (this.currentTxID != null) { if (flags == TMNOFLAGS && this.currentTxID instanceof LocalTxXid... | public void start(Xid xid, int flags) throws XAException { if (log.isTraceEnabled()) log.trace("Start xid=" + xid + ", flags=" + flags + " " + this); boolean convertTx = false; if (this.currentTxID != null) { if (flags == TMNOFLAGS && this.currentTxID instanceof LocalTxXid... | 42,444 |
private void readResolve() throws ObjectStreamException { // FIXME: implement this } | private Object readResolve() throws ObjectStreamException { // FIXME: implement this } | 42,445 |
private void readResolve() throws ObjectStreamException { // FIXME: implement this } | return new Inet4Address(addr, hostName); return new Inet4Address(addr, hostName); privatereturn new Inet4Address(addr, hostName); voidreturn new Inet4Address(addr, hostName); readResolve()return new Inet4Address(addr, hostName); throwsreturn new Inet4Address(addr, hostName); ObjectStreamExceptionreturn new Inet4Address... | 42,446 |
public void deInit() { try { sess.close(); } catch (Exception e) { log.error("!!!!!!!!!!!!!!!!!!!!!Close failed", e); failed = true; } } | public void deInit() { try { sess.close(); } catch (Throwable e) { log.error("!!!!!!!!!!!!!!!!!!!!!Close failed", e); failed = true; } } | 42,447 |
public void deInit() { try { sess.close(); } catch (Exception e) { log.error("!!!!!!!!!!!!!!!!!!!!!Close failed", e); failed = true; } } | public void deInit() { try { sess.close(); } catch (Exception e) { log.error("Failed to deInit()", e); throwable = e; failed = true; } } | 42,448 |
public void init() { try { Connection conn = getNextConnection(); sess = conn.createSession(transacted, Session.AUTO_ACKNOWLEDGE); //Ackmode doesn't matter prod = null; if (anon) { ... | public void init() { try { Connection conn = getNextConnection(); sess = conn.createSession(transacted, Session.AUTO_ACKNOWLEDGE); //Ackmode doesn't matter prod = null; if (anon) { ... | 42,449 |
public void init() { try { Connection conn = getNextConnection(); sess = conn.createSession(transacted, Session.AUTO_ACKNOWLEDGE); //Ackmode doesn't matter prod = null; if (anon) { ... | public void init() { try { Connection conn = getNextConnection(); sess = conn.createSession(transacted, Session.AUTO_ACKNOWLEDGE); //Ackmode doesn't matter prod = null; if (anon) { ... | 42,450 |
public void run() { try { int count = 0; while (count < numMessages) { Message m = mf.getMessage(sess, msgSize); if (anon) { prod.send(dest, m); ... | public void run() { try { int count = 0; while (count < numMessages) { Message m = mf.getMessage(sess, msgSize); if (anon) { prod.send(dest, m); ... | 42,451 |
public void run() { try { int count = 0; while (count < numMessages) { Message m = mf.getMessage(sess, msgSize); if (anon) { prod.send(dest, m); ... | public void run() { try { int count = 0; while (count < numMessages) { Message m = mf.getMessage(sess, msgSize); if (anon) { prod.send(dest, m); ... | 42,452 |
protected void checkEquivalent(Message m1, Message m2) throws Exception { if (m1 == m2) { fail(); } if (m1 == null || m2 == null) { fail(); } if (!m1.getClass().equals(m2.getClass())) { fail(); } //Attributes from org.jboss... | protected void checkEquivalent(Message m1, Message m2) throws Exception { if (m1 == m2) { fail(); } if (m1 == null || m2 == null) { fail(); } if (!m1.getClass().equals(m2.getClass())) { fail(); } //Attributes from org.jboss... | 42,453 |
protected void checkEquivalent(Message m1, Message m2) throws Exception { if (m1 == m2) { fail(); } if (m1 == null || m2 == null) { fail(); } if (!m1.getClass().equals(m2.getClass())) { fail(); } //Attributes from org.jboss... | protected void checkEquivalent(Message m1, Message m2) throws Exception { if (m1 == m2) { fail(); } if (m1 == null || m2 == null) { fail(); } if (!m1.getClass().equals(m2.getClass())) { fail(); } //Attributes from org.jboss... | 42,454 |
protected Map generateFilledMap(boolean useObject) { Map headers = new HashMap(); for (int j = 0; j < 27; j++) { //put some crap in the map int k; if (useObject) { k = j % 11; } else { k = j % 10; } ... | protected Map generateFilledMap(boolean useObject) { Map headers = new HashMap(); for (int j = 0; j < 27; j++) { //put some crap in the map int k; if (useObject) { k = j % 11; } else { k = j % 10; } ... | 42,455 |
protected byte[] randByteArray() { String s = new GUID().toString(); return s.getBytes(); } | protected byte[] randByteArray() { String s = randString(1000); return s.getBytes(); } | 42,456 |
public void tearDown() throws Exception { ServerManagement.deInit(); super.tearDown(); } | public void tearDown() throws Exception { super.tearDown(); } | 42,457 |
public void setSqlProperties(Properties props) { sqlProperties = new Properties(props); } | public void setSqlProperties(String value) { sqlProperties = new Properties(props); } | 42,458 |
public void setSqlProperties(Properties props) { sqlProperties = new Properties(props); } | public void setSqlProperties(Properties props) { try { ByteArrayInputStream is = new ByteArrayInputStream(value.getBytes()); sqlProperties = new Properties(); sqlProperties.load(is); } catch (IOException shouldnothappen) { } } | 42,459 |
public CoreMessage(Serializable messageID, boolean reliable, long expiration, long timestamp, int priority, Map headers, Serializable payload) { super(messageID, reliable, expiration, ... | public CoreMessage(Serializable messageID, boolean reliable, long expiration, long timestamp, int priority, Map headers, Serializable payload) { super(messageID, reliable, expiration, ... | 42,460 |
public void start() throws Exception { log.debug("starting JDBCPersistenceManager"); initSqlProperties(); InitialContext ic = new InitialContext(); mgr = (TransactionManager)ic.lookup("java:/TransactionManager"); ds = (DataSource)ic.lookup("java:/DefaultDS"); ic.close(); if (crea... | public void start() throws Exception { log.debug("starting JDBCPersistenceManager"); initSqlProperties(); InitialContext ic = new InitialContext(); mgr = (TransactionManager)ic.lookup("java:/TransactionManager"); ds = (DataSource)ic.lookup("java:/DefaultDS"); ic.close(); if (crea... | 42,461 |
public void start() throws Exception { log.debug("starting JDBCPersistenceManager"); initSqlProperties(); InitialContext ic = new InitialContext(); mgr = (TransactionManager)ic.lookup("java:/TransactionManager"); ds = (DataSource)ic.lookup("java:/DefaultDS"); ic.close(); if (crea... | public void start() throws Exception { log.debug("starting JDBCPersistenceManager"); initSqlProperties(); InitialContext ic = new InitialContext(); mgr = (TransactionManager)ic.lookup("java:/TransactionManager"); ic.close(); if (createTablesOnStartup) { createSchema(... | 42,462 |
public void storeMessage(Message m) throws Exception { Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); String id = (String)m.getMessageID(); try { conn = ds.getConnection(); // get the reference count from the da... | public void storeMessage(Message m) throws Exception { Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); String id = (String)m.getMessageID(); try { conn = ds.getConnection(); // get the reference count from the da... | 42,463 |
public boolean removeMessage(String messageID) throws Exception { Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); try { conn = ds.getConnection(); // get the reference count from the database ps = conn.prepare... | public boolean removeMessage(String messageID) throws Exception { Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); try { conn = ds.getConnection(); // get the reference count from the database ps = conn.prepare... | 42,464 |
public Object invoke(Invocation invocation) throws Throwable { if (invocation instanceof MethodInvocation) { MethodInvocation mi = (MethodInvocation)invocation; Method m = mi.getMethod(); String methodName = m.getName(); JMSAdvisor jmsAdvisor = (JMSAdvisor)mi.getAdvisor();... | public Object invoke(Invocation invocation) throws Throwable { if (invocation instanceof MethodInvocation) { MethodInvocation mi = (MethodInvocation)invocation; Method m = mi.getMethod(); String methodName = m.getName(); if ("createConsumerDelegate".equals... | 42,466 |
public SecurityMetadata getSecurityMetadata(String destName) { SecurityMetadata m = (SecurityMetadata) securityConf.get(destName); if (m == null) { // No SecurityMetadata was configured for the dest, // Apply the default if (defaultSecurityConfig != null) { ... | public SecurityMetadata getSecurityMetadata(boolean isQueue, String destName) { SecurityMetadata m = (SecurityMetadata) securityConf.get(destName); if (m == null) { // No SecurityMetadata was configured for the dest, // Apply the default if (defaultSecurityConfig != null) ... | 42,467 |
public SecurityMetadata getSecurityMetadata(String destName) { SecurityMetadata m = (SecurityMetadata) securityConf.get(destName); if (m == null) { // No SecurityMetadata was configured for the dest, // Apply the default if (defaultSecurityConfig != null) { ... | public SecurityMetadata getSecurityMetadata(String destName) { SecurityMetadata m = (SecurityMetadata) (isQueue ? queueSecurityConf.get(destName) : topicSecurityConf.get(destName)); if (m == null) { // No SecurityMetadata was configured for the dest, // Apply the default if ... | 42,468 |
public SecurityMetadata getSecurityMetadata(String destName) { SecurityMetadata m = (SecurityMetadata) securityConf.get(destName); if (m == null) { // No SecurityMetadata was configured for the dest, // Apply the default if (defaultSecurityConfig != null) { ... | public SecurityMetadata getSecurityMetadata(String destName) { SecurityMetadata m = (SecurityMetadata) securityConf.get(destName); if (m == null) { // No SecurityMetadata was configured for the dest, // Apply the default if (defaultSecurityConfig != null) { log.debug("No SecurityMetadadata... | 42,469 |
public SecurityMetadata getSecurityMetadata(String destName) { SecurityMetadata m = (SecurityMetadata) securityConf.get(destName); if (m == null) { // No SecurityMetadata was configured for the dest, // Apply the default if (defaultSecurityConfig != null) { ... | public SecurityMetadata getSecurityMetadata(String destName) { SecurityMetadata m = (SecurityMetadata) securityConf.get(destName); if (m == null) { // No SecurityMetadata was configured for the dest, // Apply the default if (defaultSecurityConfig != null) { ... | 42,470 |
public SecurityMetadata getSecurityMetadata(String destName) { SecurityMetadata m = (SecurityMetadata) securityConf.get(destName); if (m == null) { // No SecurityMetadata was configured for the dest, // Apply the default if (defaultSecurityConfig != null) { ... | public SecurityMetadata getSecurityMetadata(String destName) { SecurityMetadata m = (SecurityMetadata) securityConf.get(destName); if (m == null) { // No SecurityMetadata was configured for the dest, // Apply the default if (defaultSecurityConfig != null) { ... | 42,471 |
public SecurityMetadata getSecurityMetadata(String destName) { SecurityMetadata m = (SecurityMetadata) securityConf.get(destName); if (m == null) { // No SecurityMetadata was configured for the dest, // Apply the default if (defaultSecurityConfig != null) { ... | public SecurityMetadata getSecurityMetadata(String destName) { SecurityMetadata m = (SecurityMetadata) securityConf.get(destName); if (m == null) { // No SecurityMetadata was configured for the dest, // Apply the default if (defaultSecurityConfig != null) { ... | 42,472 |
protected void local(boolean persistent) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; ClusteredPostOffice office4 = null; ClusteredPostOffice office5 = null; ClusteredPostOf... | protected void local(boolean persistent) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; ClusteredPostOffice office4 = null; ClusteredPostOffice office5 = null; ClusteredPostOf... | 42,473 |
protected void local(boolean persistent) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; ClusteredPostOffice office4 = null; ClusteredPostOffice office5 = null; ClusteredPostOf... | protected void local(boolean persistent) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; ClusteredPostOffice office4 = null; ClusteredPostOffice office5 = null; ClusteredPostOf... | 42,474 |
protected void local(boolean persistent) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; ClusteredPostOffice office4 = null; ClusteredPostOffice office5 = null; ClusteredPostOf... | protected void local(boolean persistent) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; ClusteredPostOffice office4 = null; ClusteredPostOffice office5 = null; ClusteredPostOf... | 42,475 |
protected void local(boolean persistent) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; ClusteredPostOffice office4 = null; ClusteredPostOffice office5 = null; ClusteredPostOf... | protected void local(boolean persistent) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; ClusteredPostOffice office4 = null; ClusteredPostOffice office5 = null; ClusteredPostOf... | 42,476 |
protected void local(boolean persistent) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; ClusteredPostOffice office4 = null; ClusteredPostOffice office5 = null; ClusteredPostOf... | protected void local(boolean persistent) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; ClusteredPostOffice office4 = null; ClusteredPostOffice office5 = null; ClusteredPostOf... | 42,477 |
protected void notLocal(boolean persistent) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; ClusteredPostOffice office4 = null; ClusteredPostOffice office5 = null; ClusteredPos... | protected void notLocal(boolean persistent) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; ClusteredPostOffice office4 = null; ClusteredPostOffice office5 = null; ClusteredPos... | 42,478 |
protected void notLocal(boolean persistent) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; ClusteredPostOffice office4 = null; ClusteredPostOffice office5 = null; ClusteredPos... | protected void notLocal(boolean persistent) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; ClusteredPostOffice office4 = null; ClusteredPostOffice office5 = null; ClusteredPos... | 42,479 |
protected void notLocal(boolean persistent) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; ClusteredPostOffice office4 = null; ClusteredPostOffice office5 = null; ClusteredPos... | protected void notLocal(boolean persistent) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; ClusteredPostOffice office4 = null; ClusteredPostOffice office5 = null; ClusteredPos... | 42,480 |
protected void notLocal(boolean persistent) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; ClusteredPostOffice office4 = null; ClusteredPostOffice office5 = null; ClusteredPos... | protected void notLocal(boolean persistent) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; ClusteredPostOffice office4 = null; ClusteredPostOffice office5 = null; ClusteredPos... | 42,481 |
protected void notLocal(boolean persistent) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; ClusteredPostOffice office4 = null; ClusteredPostOffice office5 = null; ClusteredPos... | protected void notLocal(boolean persistent) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; ClusteredPostOffice office4 = null; ClusteredPostOffice office5 = null; ClusteredPos... | 42,482 |
public LocalClusteredQueue(PostOffice office, int nodeId, String name, long id, MessageStore ms, PersistenceManager pm, boolean acceptReliableMessages, boolean recoverable, QueuedExecutor executor, Filter filter, TransactionRepository tr) { ... | public LocalClusteredQueue(PostOffice office, int nodeId, String name, long id, MessageStore ms, PersistenceManager pm, boolean acceptReliableMessages, boolean recoverable, QueuedExecutor executor, Filter filter, TransactionRepository tr, int ful... | 42,484 |
public LocalClusteredQueue(PostOffice office, int nodeId, String name, long id, MessageStore ms, PersistenceManager pm, boolean acceptReliableMessages, boolean recoverable, QueuedExecutor executor, Filter filter, TransactionRepository tr) { ... | public LocalClusteredQueue(PostOffice office, int nodeId, String name, long id, MessageStore ms, PersistenceManager pm, boolean acceptReliableMessages, boolean recoverable, QueuedExecutor executor, Filter filter, TransactionRepository tr) { ... | 42,485 |
public SimpleReceiver(String name, String state) { this(name, state, null); } | public SimpleReceiver() { this(name, state, null); } | 42,486 |
public SimpleReceiver(String name, String state) { this(name, state, null); } | public SimpleReceiver(String name, String state) { this(ACKING); } | 42,487 |
private void initializeRemoting() throws Exception { String s = (String)mbeanServer.invoke(connector, "getInvokerLocator", new Object[0], new String[0]); locator = new InvokerLocator(s); log.debug("LocatorURI: " + getLocatorURI()); // add the JMS subsy... | private void initializeRemoting() throws Exception { String s = (String)mbeanServer.invoke(connector, "getInvokerLocator", new Object[0], new String[0]); locator = new InvokerLocator(s + "&socketTimeout=0"); log.debug("LocatorURI: " + getLocatorURI()); ... | 42,488 |
public JMSInvocationHandler(Interceptor[] interceptors) { this.interceptors = interceptors; } | public JMSInvocationHandler(Interceptor[] interceptors) { this.interceptors = interceptors; } | 42,489 |
public static Object newProxyInstance(ClassLoader loader, Class[] interfaces, InvocationHandler handler) { try { // getProxyClass() and Proxy() throw the necessary exceptions return getProxyClass(loader, interfaces).getConstructor( new Class[] { InvocationH... | public static Object newProxyInstance(ClassLoader loader, Class[] interfaces, InvocationHandler handler) { try { // getProxyClass() and Proxy() throw the necessary exceptions return getProxyClass(loader, interfaces).getConstructor( new Class[] { InvocationH... | 42,490 |
public static Object newProxyInstance(ClassLoader loader, Class[] interfaces, InvocationHandler handler) { try { // getProxyClass() and Proxy() throw the necessary exceptions return getProxyClass(loader, interfaces).getConstructor( new Class[] { InvocationH... | public static Object newProxyInstance(ClassLoader loader, Class[] interfaces, InvocationHandler handler) { try { // getProxyClass() and Proxy() throw the necessary exceptions return getProxyClass(loader, interfaces).getConstructor( new Class[] { InvocationH... | 42,491 |
public static Object newProxyInstance(ClassLoader loader, Class[] interfaces, InvocationHandler handler) { try { // getProxyClass() and Proxy() throw the necessary exceptions return getProxyClass(loader, interfaces).getConstructor( new Class[] { InvocationH... | public static Object newProxyInstance(ClassLoader loader, Class[] interfaces, InvocationHandler handler) { try { // getProxyClass() and Proxy() throw the necessary exceptions return getProxyClass(loader, interfaces).getConstructor( new Class[] { InvocationH... | 42,492 |
public static Object newProxyInstance(ClassLoader loader, Class[] interfaces, InvocationHandler handler) { try { // getProxyClass() and Proxy() throw the necessary exceptions return getProxyClass(loader, interfaces).getConstructor( new Class[] { InvocationH... | public static Object newProxyInstance(ClassLoader loader, Class[] interfaces, InvocationHandler handler) { try { // getProxyClass() and Proxy() throw the necessary exceptions return getProxyClass(loader, interfaces).getConstructor( new Class[] { InvocationH... | 42,493 |
public static Context getContinuationContext (CannotProceedException cpe) throws NamingException { Hashtable env = cpe.getEnvironment (); if (env != null) env.put (CPE, cpe); // It is really unclear to me if this is right. try { Object obj = getObjectInstance (null, cpe.getAltName (), cp... | public static Context getContinuationContext (CannotProceedException cpe) throws NamingException { Hashtable env = cpe.getEnvironment (); if (env != null) env.put (CPE, cpe); // It is really unclear to me if this is right. try { Object obj = getObjectInstance (null, cpe.getAltName (), cp... | 42,494 |
public static Context getInitialContext (Hashtable environment) throws NamingException { InitialContextFactory icf = null; if (icfb != null) icf = icfb.createInitialContextFactory(environment); else { String java_naming_factory_initial = null; if (environment != null) java_naming_factor... | public static Context getInitialContext (Hashtable environment) throws NamingException { InitialContextFactory icf = null; if (icfb != null) icf = icfb.createInitialContextFactory(environment); else { String java_naming_factory_initial = null; if (environment != null) java_naming_factor... | 42,496 |
public static Context getInitialContext (Hashtable environment) throws NamingException { InitialContextFactory icf = null; if (icfb != null) icf = icfb.createInitialContextFactory(environment); else { String java_naming_factory_initial = null; if (environment != null) java_naming_factor... | public static Context getInitialContext (Hashtable environment) throws NamingException { InitialContextFactory icf = null; if (icfb != null) icf = icfb.createInitialContextFactory(environment); else { String java_naming_factory_initial = null; if (environment != null) java_naming_factor... | 42,497 |
public static Object getObjectInstance (Object refInfo, Name name, Context nameCtx, Hashtable environment) throws Exception { ObjectFactory factory = null; if (ofb != null) factory = ofb.createObjectFactory (refInfo, environment); else { // First see if we have a Reference or ... | public static Object getObjectInstance (Object refInfo, Name name, Context nameCtx, Hashtable environment) throws Exception { ObjectFactory factory = null; if (ofb != null) factory = ofb.createObjectFactory (refInfo, environment); else { // First see if we have a Reference or ... | 42,498 |
public static Object getObjectInstance (Object refInfo, Name name, Context nameCtx, Hashtable environment) throws Exception { ObjectFactory factory = null; if (ofb != null) factory = ofb.createObjectFactory (refInfo, environment); else { // First see if we have a Reference or ... | public static Object getObjectInstance (Object refInfo, Name name, Context nameCtx, Hashtable environment) throws Exception { ObjectFactory factory = null; if (ofb != null) factory = ofb.createObjectFactory (refInfo, environment); else { // First see if we have a Reference or ... | 42,499 |
public static Object getStateToBind (Object obj, Name name, Context nameCtx, Hashtable environment) throws NamingException { StringTokenizer tokens = getPlusPath (Context.STATE_FACTORIES, environment, nameCtx); while (tokens.hasMoreTokens ()) { String klassName = tokens.nextToken (); tr... | public static Object getStateToBind (Object obj, Name name, Context nameCtx, Hashtable environment) throws NamingException { StringTokenizer tokens = getPlusPath (Context.STATE_FACTORIES, environment, nameCtx); while (tokens.hasMoreTokens ()) { String klassName = tokens.nextToken (); tr... | 42,500 |
static Context getURLContext (Object refInfo, Name name, Context nameCtx, String scheme, Hashtable environment) throws NamingException { String prefixes = null; if (environment != null) prefixes = (String) environment.get (Context.URL_PKG_PREFIXES); if (prefixes == null) prefixes =... | static Context getURLContext (Object refInfo, Name name, Context nameCtx, String scheme, Hashtable environment) throws NamingException { String prefixes = null; if (environment != null) prefixes = (String) environment.get (Context.URL_PKG_PREFIXES); if (prefixes == null) prefixes =... | 42,501 |
static Context getURLContext (Object refInfo, Name name, Context nameCtx, String scheme, Hashtable environment) throws NamingException { String prefixes = null; if (environment != null) prefixes = (String) environment.get (Context.URL_PKG_PREFIXES); if (prefixes == null) prefixes =... | static Context getURLContext (Object refInfo, Name name, Context nameCtx, String scheme, Hashtable environment) throws NamingException { String prefixes = null; if (environment != null) prefixes = (String) environment.get (Context.URL_PKG_PREFIXES); if (prefixes == null) prefixes =... | 42,502 |
public Hashtable getEnvironment() { return environment; } | public Hashtable getEnvironment() { return environment; } | 42,503 |
public Name getAltName() { return altName; } | public Name getAltName() { return altName; } | 42,504 |
public Context getAltNameCtx() { return altNameCtx; } | public Context getAltNameCtx() { return altNameCtx; } | 42,505 |
public Context getInitialContext (Hashtable environment) throws NamingException; | public Context getInitialContext (Hashtable environment) throws NamingException; | 42,506 |
public ObjectFactory createObjectFactory(Object obj, Hashtable environment) throws NamingException; | ObjectFactory createObjectFactory(Object obj, Hashtable environment) throws NamingException; | 42,507 |
public Reference getReference() throws NamingException; | public Reference getReference() throws NamingException; | 42,508 |
public Object getObjectInstance (Object obj, Name name, Context nameCtx, Hashtable environment) throws Exception; | public Object getObjectInstance (Object obj, Name name, Context nameCtx, Hashtable environment) throws Exception; | 42,509 |
public Hashtable getEnvironment () throws NamingException; | public Hashtable getEnvironment () throws NamingException; | 42,510 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.