rem stringlengths 0 477k | add stringlengths 0 313k | context stringlengths 6 599k |
|---|---|---|
public abstract Rectangle modelToView(JTextComponent t, int pos); | public abstract Rectangle modelToView(JTextComponent tc, int pos) throws BadLocationException; | public abstract Rectangle modelToView(JTextComponent t, int pos); |
this.position = new ChainPosition(); this.iterator = listIterator(); | public FatChain ( FatFileSystem fs, int startEntry ) { this.fs = fs; this.fat = fs.getFat(); setStartCluster ( startEntry ); this.dirty = false; this.position = new ChainPosition(); this.iterator = listIterator(); } | |
iterator.reset(); position.setPosition ( 0 ); | private void setStartCluster ( int value ) { if ( ( value < 0 ) || ( value > fat.size() ) ) throw new IllegalArgumentException ( "illegal head: " + value ); head = value; dirty = true; } | |
i.reset(); | public void write ( long length, long offset, ByteBuffer src ) throws IOException { if ( length < 0 ) throw new IllegalArgumentException ( "length<0" ); if ( offset < 0 ) throw new IllegalArgumentException ( "offset<0" ); //ChainPosition p = new ChainPosition ( offset ); ChainPosition p = position; p.setPos... | |
System.out.println("font scaling factor = " + fontScalingFactor); | public void incrementFontSize() { scaleFont(fontScalingFactor); } | |
System.out.println("reset to " + rc.getTextRenderer().getFontScale()); | public void resetFontSize() { RenderingContext rc = getRenderingContext(); rc.getTextRenderer().setFontScale(1.0F); relayout(); repaint(); } | |
System.out.println("scaling to: " + scaleBy); | private void scaleFont(float scaleBy) { RenderingContext rc = getRenderingContext(); float fs = rc.getTextRenderer().getFontScale() * scaleBy; if ( fs < minFontScale || fs > maxFontScale ) return; rc.getTextRenderer().setFontScale(fs); relayout(); repaint(); } | |
System.out.println("now set to factor = " + fontScalingFactor); | public void setFontScalingFactor(float scaling) { fontScalingFactor = scaling; } | |
public FirstLetterStyle(CascadedStyle style) { | FirstLetterStyle(CascadedStyle style) { | public FirstLetterStyle(CascadedStyle style) { _style = style; } |
ServerManagement.undeployTopic("TopicSubscriptionListAsText"); | public void testListMessages() throws Exception { InitialContext ic = new InitialContext(ServerManagement.getJNDIEnvironment()); TopicConnectionFactory cf = (JBossConnectionFactory)ic.lookup("/ConnectionFactory"); ServerManagement.deployTopic("TopicMessageList"); Topic topic = (Topic)ic.lookup... | |
ServerManagement.undeployTopic("TopicMessageList"); | public void testListMessagesEmptySelector() throws Exception { InitialContext ic = new InitialContext(ServerManagement.getJNDIEnvironment()); TopicConnectionFactory cf = (JBossConnectionFactory)ic.lookup("/ConnectionFactory"); ServerManagement.deployTopic("TopicMessageList2"); Topic topic = (To... | |
ServerManagement.undeployTopic("TopicSubscription"); | public void testListSubscriptionsAsText() throws Exception { InitialContext ic = new InitialContext(ServerManagement.getJNDIEnvironment()); TopicConnectionFactory cf = (JBossConnectionFactory)ic.lookup("/ConnectionFactory"); ServerManagement.deployTopic("TopicSubscriptionListAsText"); Topic to... | |
Connection connect(String url, Properties info) throws SQLException; | Connection connect(String url, Properties properties) throws SQLException; | Connection connect(String url, Properties info) throws SQLException; |
log.debug("Outcome: stepId=" + theResult.getStep() + ", status=" + theResult.getStatus() + ", owner=" + theResult.getOwner() + ", actionId=" + actionId + ", currentStep=" + ((currentStep != null) ? currentStep.getStepId() : 0)); | log.debug("Outcome: stepId=" + nextStep + ", status=" + theResult.getStatus() + ", owner=" + theResult.getOwner() + ", actionId=" + actionId + ", currentStep=" + ((currentStep != null) ? currentStep.getStepId() : 0)); | private void createNewCurrentStep(ResultDescriptor theResult, WorkflowEntry entry, WorkflowStore store, int actionId, Step currentStep, long[] previousIds, Map transientVars, PropertySet ps) throws StoreException { try { if (log.isDebugEnabled()) { log.debug("Outcome: stepId=" + the... |
store.createCurrentStep(entry.getId(), theResult.getStep(), owner, startDate, dueDate, status, previousIds); | store.createCurrentStep(entry.getId(), nextStep, owner, startDate, dueDate, status, previousIds); | private void createNewCurrentStep(ResultDescriptor theResult, WorkflowEntry entry, WorkflowStore store, int actionId, Step currentStep, long[] previousIds, Map transientVars, PropertySet ps) throws StoreException { try { if (log.isDebugEnabled()) { log.debug("Outcome: stepId=" + the... |
public FirstLineStyle(CascadedStyle style) { | FirstLineStyle(CascadedStyle style) { | public FirstLineStyle(CascadedStyle style) { _style = style; } |
public TextContent(Element e, CalculatedStyle style) { | TextContent(Element e) { | public TextContent(Element e, CalculatedStyle style) { _elem = e; _style = style; _sb = new StringBuffer(); } |
_style = style; | public TextContent(Element e, CalculatedStyle style) { _elem = e; _style = style; _sb = new StringBuffer(); } | |
TableContent() { _elem = null; _style = null; _children = new LinkedList(); | TableContent(Element e, CascadedStyle style) { _elem = e; _style = style; _children = null; | TableContent() { _elem = null; _style = null; _children = new LinkedList(); } |
public AnonymousBlockContent(Element parent, CalculatedStyle style, List inlineList) { | AnonymousBlockContent(Element parent, CascadedStyle style, List inlineList) { | public AnonymousBlockContent(Element parent, CalculatedStyle style, List inlineList) { _elem = parent; _style = style; _inline = inlineList; } |
outerBox.setParent(c.getCtx().getRootBox()); | public static Box layout(Context c, BlockBox outerBox, Content content) { boolean set_bfc = false; if (content instanceof TableContent) { // install a block formatting context for the body, // ie. if it's null. // set up the outtermost bfc if (c.getBlockForm... | |
queueProducer = producerSession.createProducer(queue); queueConsumer = consumerSession.createConsumer(queue); | public void setUp() throws Exception { super.setUp(); ServerManagement.startInVMServer(); ServerManagement.deployTopic("Topic"); ServerManagement.deployQueue("Queue"); InitialContext ic = new InitialContext(InVMInitialContextFactory.getJNDIEnvironment()); ConnectionFactory cf = (Conne... | |
topicProducer.send(m1); | topicProducer.send(m); | public void run() { try { // this is needed to make sure the main thread has enough time to block Thread.sleep(1000); topicProducer.send(m1); } catch(Exception e) { log.error(e); } ... |
throw new IllegalStateException("Cannot reliably carry out a reliable message delivery"); | public void add(Delivery d) throws Throwable { Routable r = d.getRoutable(); if (r.isReliable()) { throw new IllegalStateException("Cannot reliably carry out a reliable message delivery"); } if (d instanceof CompositeDelivery) { // TODO break CompositeDelivery in compo... | |
public boolean remove(Routable r) | public boolean remove(Delivery d) throws Throwable | public boolean remove(Routable r) { return messages.remove(r); } |
return messages.remove(r); | return deliveries.remove(d); | public boolean remove(Routable r) { return messages.remove(r); } |
c.setFloatingY(curr_line.y); | c.setFloatingY(curr_line.y + ((FloatedBlockContent)content).getMarginFromPrevious()); | public static FloatedBlockBox generateFloatedBlock( LayoutContext c, Content content, int avail, LineBox curr_line, List pendingFloats) { //Uu.p("generate floated block inline box: avail = " + avail); //Uu.p("generate floated block inline box"); Rectangle oe = c.getExtents();// copy ... |
pooledExecutor = new PooledExecutor(new LinkedQueue(), 10); pooledExecutor.setMinimumPoolSize(10); | pooledExecutor = new PooledExecutor(new LinkedQueue(), 100); pooledExecutor.setMinimumPoolSize(100); | public ConnectionState(ConnectionDelegate delegate, String serverId) { super(null, delegate); children = new SyncSet(new HashSet(), new WriterPreferenceReadWriteLock()); resourceManager = ResourceManagerFactory.instance.getResourceManager(serverId); //TODO size should be configurable ... |
if (internalThread != null && !internalThread.equals(Thread.currentThread())) | internalThread.interrupt(); try | public void close() throws javax.jms.JMSException { if (trace) { log.trace("close " + this); } closed = true; //JMSInvocationHandler handler = (JMSInvocationHandler)Proxy.getInvocationHandler(cons); if (trace) { log.trace("Closed message handler"); } //wait fo... |
try | internalThread.join(3000); if (internalThread.isAlive()) | public void close() throws javax.jms.JMSException { if (trace) { log.trace("close " + this); } closed = true; //JMSInvocationHandler handler = (JMSInvocationHandler)Proxy.getInvocationHandler(cons); if (trace) { log.trace("Closed message handler"); } //wait fo... |
if (trace) log.trace("Joining thread " + this); | public void close() throws javax.jms.JMSException { if (trace) { log.trace("close " + this); } closed = true; //JMSInvocationHandler handler = (JMSInvocationHandler)Proxy.getInvocationHandler(cons); if (trace) { log.trace("Closed message handler"); } //wait fo... | |
if (trace) log.trace("Joined thread " + this); } catch (InterruptedException e) { if (trace) log.trace("Ignoring interrupting while joining thread " + this); } | } } catch (InterruptedException e) { if (trace) log.trace("Ignoring interrupting while joining thread " + this); | public void close() throws javax.jms.JMSException { if (trace) { log.trace("close " + this); } closed = true; //JMSInvocationHandler handler = (JMSInvocationHandler)Proxy.getInvocationHandler(cons); if (trace) { log.trace("Closed message handler"); } //wait fo... |
if (queue.isEmpty() && !closed) | if (queue.isEmpty()) | public void run() { if (trace) { log.trace("running connection consumer"); } try { LinkedList queue = new LinkedList(); outer: while (true) { if (closed) { if (trace) { log.trace("Connection consumer is closed, breaking"); } b... |
if (!queue.isEmpty() && !closed) | if (!queue.isEmpty()) | public void run() { if (trace) { log.trace("running connection consumer"); } try { LinkedList queue = new LinkedList(); outer: while (true) { if (closed) { if (trace) { log.trace("Connection consumer is closed, breaking"); } b... |
session.addAsfMessage((Message) queue.get(i), receiverID); | session.addAsfMessage((Message) queue.get(i), receiverID, cons); | public void run() { if (trace) { log.trace("running connection consumer"); } try { LinkedList queue = new LinkedList(); outer: while (true) { if (closed) { if (trace) { log.trace("Connection consumer is closed, breaking"); } b... |
} catch (JMSException e) { | public void run() { if (trace) { log.trace("running connection consumer"); } try { LinkedList queue = new LinkedList(); outer: while (true) { if (closed) { if (trace) { log.trace("Connection consumer is closed, breaking"); } b... | |
public BaseJob(String serverURL, String destinationName) | public BaseJob(String slaveURL, String serverURL, String destinationName) | public BaseJob(String serverURL, String destinationName) { this.serverURL = serverURL; this.destName = destinationName; } |
this.slaveURL = slaveURL; | public BaseJob(String serverURL, String destinationName) { this.serverURL = serverURL; this.destName = destinationName; } | |
cf = (ConnectionFactory)ic.lookup("ConnectionFactory"); | cf = (ConnectionFactory)ic.lookup("/ConnectionFactory"); | protected void setup() throws Exception { //Hardcoded for now - needs to be configurable if it's to work with non jboss //jms providers if (log.isTraceEnabled()) { log.trace("server url is " + serverURL); } Hashtable env = new Hashtable(); env.put("java.naming.facto... |
ServerPeer sp = connectionEndpoint.getServerPeer(); | sp = connectionEndpoint.getServerPeer(); | ServerSessionEndpoint(int sessionID, ServerConnectionEndpoint connectionEndpoint) throws Exception { this.id = sessionID; this.connectionEndpoint = connectionEndpoint; ServerPeer sp = connectionEndpoint.getServerPeer(); pm = sp.getPersistenceManagerInstance(); ms = sp.getMessageStore(... |
List forDLQ = null; | public void cancelDeliveries(List cancels) throws JMSException { try { // deliveries must be cancelled in reverse order List forDLQ = null; Set channels = new HashSet(); for (int i = cancels.size() - 1; i >= 0; i--) { ... | |
Delivery del = (Delivery)deliveries.remove(new Long(cancel.getDeliveryId())); | if (trace) { log.trace("Cancelling delivery " + cancel.getDeliveryId()); } | public void cancelDeliveries(List cancels) throws JMSException { try { // deliveries must be cancelled in reverse order List forDLQ = null; Set channels = new HashSet(); for (int i = cancels.size() - 1; i >= 0; i--) { ... |
if (del == null) { throw new IllegalStateException("Cannot find delivery to cancel " + cancel.getDeliveryId()); } if (cancel.getDeliveryCount() >= maxDeliveryAttempts) { if (forDLQ == null) { forDLQ = new ArrayList(); } forDLQ.add(del); } else { del.getReference().setDeliveryCount(cancel.getDeliveryCount()); del.can... | Delivery del = cancelDeliveryInternal(cancel); channels.add(del.getObserver()); | public void cancelDeliveries(List cancels) throws JMSException { try { // deliveries must be cancelled in reverse order List forDLQ = null; Set channels = new HashSet(); for (int i = cancels.size() - 1; i >= 0; i--) { ... |
if (forDLQ != null) { Transaction tx = tr.createTransaction(); try { for (int i = forDLQ.size() - 1; i >= 0; i--) { Delivery del = (Delivery)forDLQ.get(i); | public void cancelDeliveries(List cancels) throws JMSException { try { // deliveries must be cancelled in reverse order List forDLQ = null; Set channels = new HashSet(); for (int i = cancels.size() - 1; i >= 0; i--) { ... | |
if (dlq != null) { del.getReference().setDeliveryCount(0); dlq.handle(null, del.getReference(), tx); del.acknowledge(tx); } else { log.warn("Cannot send to DLQ since DLQ has not been deployed! The message will be removed"); del.acknowledge(tx); } } tx.commit(); } catch (Throwable t) { tx.rollback(); throw t; } } | public void cancelDeliveries(List cancels) throws JMSException { try { // deliveries must be cancelled in reverse order List forDLQ = null; Set channels = new HashSet(); for (int i = cancels.size() - 1; i >= 0; i--) { ... | |
void cancelDelivery(long deliveryId) throws Throwable | public void cancelDelivery(Cancel cancel) throws JMSException | void cancelDelivery(long deliveryId) throws Throwable { Delivery del = (Delivery)deliveries.remove(new Long(deliveryId)); if (del == null) { throw new IllegalStateException("Cannot find delivery to cancel " + deliveryId); } del.cancel(); } |
Delivery del = (Delivery)deliveries.remove(new Long(deliveryId)); | if (trace) {log.trace(this + " cancelDelivery " + cancel); } | void cancelDelivery(long deliveryId) throws Throwable { Delivery del = (Delivery)deliveries.remove(new Long(deliveryId)); if (del == null) { throw new IllegalStateException("Cannot find delivery to cancel " + deliveryId); } del.cancel(); } |
if (del == null) | try | void cancelDelivery(long deliveryId) throws Throwable { Delivery del = (Delivery)deliveries.remove(new Long(deliveryId)); if (del == null) { throw new IllegalStateException("Cannot find delivery to cancel " + deliveryId); } del.cancel(); } |
throw new IllegalStateException("Cannot find delivery to cancel " + deliveryId); | Delivery del = cancelDeliveryInternal(cancel); ((Channel)del.getObserver()).deliver(false); | void cancelDelivery(long deliveryId) throws Throwable { Delivery del = (Delivery)deliveries.remove(new Long(deliveryId)); if (del == null) { throw new IllegalStateException("Cannot find delivery to cancel " + deliveryId); } del.cancel(); } |
del.cancel(); | catch (Throwable t) { throw ExceptionUtil.handleJMSInvocation(t, this + " cancelDelivery"); } | void cancelDelivery(long deliveryId) throws Throwable { Delivery del = (Delivery)deliveries.remove(new Long(deliveryId)); if (del == null) { throw new IllegalStateException("Cannot find delivery to cancel " + deliveryId); } del.cancel(); } |
sp.removeSession(new Integer(id)); | void localClose() throws Throwable { if (closed) { throw new IllegalStateException("Session is already closed"); } if (trace) log.trace(this + " close()"); synchronized (consumers) { for( Iterator i = consumers.values().iterator(); i.hasNe... | |
public ManagedTopic(String name, int fullSize, int pageSize, int downCacheSize) { super(name, fullSize, pageSize, downCacheSize); | public ManagedTopic() { | public ManagedTopic(String name, int fullSize, int pageSize, int downCacheSize) { super(name, fullSize, pageSize, downCacheSize); } |
Binding bindQueue(String queueName, String condition, Queue queue) throws Exception; | Binding bindQueue(String queueName, String condition, Filter filter, Queue queue) throws Exception; | Binding bindQueue(String queueName, String condition, Queue queue) throws Exception; |
Iterator iter = postRollbackTasks.iterator(); | Iterator iter = callbacks.iterator(); | public void rollback() throws Exception { //TODO - rollback the tx in the database if (log.isTraceEnabled()) { log.trace("rolling back " + this); } state = STATE_ROLLEDBACK; if (insertedTXRecord) { pm.rollbackTx(this); } Iterator iter = postRollbackTasks.itera... |
Runnable task = (Runnable)iter.next(); task.run(); | TxCallback callback = (TxCallback)iter.next(); callback.afterRollback(); | public void rollback() throws Exception { //TODO - rollback the tx in the database if (log.isTraceEnabled()) { log.trace("rolling back " + this); } state = STATE_ROLLEDBACK; if (insertedTXRecord) { pm.rollbackTx(this); } Iterator iter = postRollbackTasks.itera... |
if (trace) { log.trace("sending " + m + (tx == null ? " non-transactionally" : " transactionally on " + tx)); } | protected void sendMessage(JBossMessage m, Transaction tx) throws JMSException { if (trace) { log.trace("sending " + m + (tx == null ? " non-transactionally" : " transactionally on " + tx)); } // The JMSDestination header must already have been set for each message JBossDestination jbDest = (JBossDe... | |
if (trace) { log.trace("sending " + r + " to the core destination " + jbDest.getName() + (tx == null ? "": ", tx " + tx)); } | if (trace) { log.trace("sending " + m + (tx == null ? " non-transactionally" : " transactionally on " + tx + " to the core destination " + jbDest.getName())); } | protected void sendMessage(JBossMessage m, Transaction tx) throws JMSException { if (trace) { log.trace("sending " + m + (tx == null ? " non-transactionally" : " transactionally on " + tx)); } // The JMSDestination header must already have been set for each message JBossDestination jbDest = (JBossDe... |
public String getNodeId() | public int getNodeId() | public String getNodeId() { return nodeId; } |
block.height = childBox.y + childBox.height; | Dimension relativeOffset = childBox.getRelativeOffset(); if (relativeOffset == null) { block.height = childBox.y + childBox.height; } else { block.height = childBox.y - relativeOffset.height + childBox.height; } | public static void layoutContent(final LayoutContext c, final BlockBox block, List contentList) { Boxing.StyleSetListener styleSetListener = new Boxing.StyleSetListener() { public void onStyleSet(BlockBox child) { boolean moved = false; if (child.getStyle(... |
relayoutOnNewPage(c, contentList, block, styleSetListener, relayoutDataList, runStart, offset); | relayoutRun(c, contentList, block, styleSetListener, relayoutDataList, runStart, offset, true); runEndChild = block.getChild(runEnd); if (c.getRootLayer().crossesPageBreak(c, block.getChild(runStart).getAbsY(), runEndChild.getAbsY() + runEndChild.getHeight())) { block.detachChildren(runStart, offset); relayoutRun(c, co... | private static void processPageBreakAvoidRun(final LayoutContext c, final BlockBox block, List contentList, Boxing.StyleSetListener styleSetListener, int offset, RelayoutDataList relayoutDataList, RelayoutData relayoutData, BlockBox childBox) { if (offset > 0) { ... |
CSSName cssName = (CSSName) ALL_PROPERTY_NAMES.get(propName); | public static CSSName getByPropertyName(String propName) { CSSName cssName = (CSSName) ALL_PROPERTY_NAMES.get(propName); return cssName; } | |
return cssName; | return (CSSName) ALL_PROPERTY_NAMES.get(propName); | public static CSSName getByPropertyName(String propName) { CSSName cssName = (CSSName) ALL_PROPERTY_NAMES.get(propName); return cssName; } |
if(debug_counter > 143) { | final int limit = 20; if(debug_counter > limit) { | public Box layoutChildren(Context c, Box box) { //u.p("InlineLayout.layoutChildren(: " + box); //u.p("parent box = " + c.parent_box); //u.p("placement point = " + c.placement_point); if(!box.isAnonymous()) { if(isBlockLayout(box.getElement(),c)) { return super.layoutChildren(c,box); ... |
if(debug_counter > 143) { | if(debug_counter > limit) { | public Box layoutChildren(Context c, Box box) { //u.p("InlineLayout.layoutChildren(: " + box); //u.p("parent box = " + c.parent_box); //u.p("placement point = " + c.placement_point); if(!box.isAnonymous()) { if(isBlockLayout(box.getElement(),c)) { return super.layoutChildren(c,box); ... |
public synchronized boolean hasListeners(String propertyName) { if (propertyListeners.get(propertyName) == null) { return false; } | public synchronized boolean hasListeners(String propertyName) { if (listeners.getListenerCount() > 0) | public synchronized boolean hasListeners(String propertyName) { // Get Listener list if (propertyListeners.get(propertyName) == null) { return false; } // if return true; } // hasListeners() |
} | else return (propertyListeners.get(propertyName) != null); } | public synchronized boolean hasListeners(String propertyName) { // Get Listener list if (propertyListeners.get(propertyName) == null) { return false; } // if return true; } // hasListeners() |
public int getListenerCount() { return (int) listenerList.length / 2; } | public int getListenerCount() { return listenerList.length / 2; } | public int getListenerCount() { return (int) listenerList.length / 2; } // getListenerCount |
public SimpleDateFormat(String pattern) | public SimpleDateFormat() | public SimpleDateFormat(String pattern) { this(pattern, Locale.getDefault()); } |
this(pattern, Locale.getDefault()); | super(); Locale locale = Locale.getDefault(); calendar = new GregorianCalendar(locale); computeCenturyStart(); tokens = new ArrayList(); formatData = new DateFormatSymbols(locale); pattern = (formatData.dateFormats[DEFAULT] + ' ' + formatData.timeFormats[DEFAULT]); compileFormat(pattern); numberFormat = NumberFormat.ge... | public SimpleDateFormat(String pattern) { this(pattern, Locale.getDefault()); } |
if (oCmd instanceof EndRepeatCmd) | if (oCmd instanceof EndCmd) | public void add(Cmd oCmd) { // Not inside a repeat cmd? if (m_vStack.size() == 0) { m_vCmds.add(oCmd); // Start a new cmd block. if (oCmd instanceof RepeatCmd) m_vStack.push(oCmd); } // Inside a repeat cmd. else // (m_vStack.size() > 0) { RepeatCmd oRepeatCmd = (RepeatCmd) m_vStack.lastElement(); /... |
_styler.setViewportRectangle(_context.getViewport().getBounds()); | public void matchStyles( Document document ) { try { if ( _tbStyleMap == null ) { if ( !_elementStyleAttributesPulled ) { try { NodeList nl = XPathAPI.selectNodeList(document.getDocumentElement(), "//*[@style!='']"); // HACK: better on fi... | |
throws NotImplementedException | protected void installKeyboardActions() { // FIXME: Need to implement } | |
throws NotImplementedException | protected void uninstallKeyboardActions() { // FIXME: Need to implement } | |
this(source, id, when, modifiers, x, y, clickCount, popupTrigger, NOBUTTON); | super(source, id, when, modifiers); this.x = x; this.y = y; this.clickCount = clickCount; this.popupTrigger = popupTrigger; this.button = button; if (button < NOBUTTON || button > BUTTON3) throw new IllegalArgumentException(); if ((modifiers & EventModifier.OLD_MASK) != 0) { if ((modifiers & BUTTON1_MASK) != 0) this.bu... | public MouseEvent(Component source, int id, long when, int modifiers, int x, int y, int clickCount, boolean popupTrigger) { this(source, id, when, modifiers, x, y, clickCount, popupTrigger, NOBUTTON); } |
demos.add(new LoadAction("Borders","demos/border.xhtml")); demos.add(new LoadAction("Backgrounds","demos/background.xhtml")); demos.add(new LoadAction("Paragraph","demos/paragraph.xhtml")); demos.add(new LoadAction("Line Breaking","demos/breaking.xhtml")); demos.add(new LoadAction("Forms","demos/forms.xhtml")); demos.a... | demos.add(new LoadAction("Borders","demo:demos/border.xhtml")); demos.add(new LoadAction("Backgrounds","demo:demos/background.xhtml")); demos.add(new LoadAction("Paragraph","demo:demos/paragraph.xhtml")); demos.add(new LoadAction("Line Breaking","demo:demos/breaking.xhtml")); demos.add(new LoadAction("Forms","demo:demo... | public void createLayout() { file.add(open_file); file.add(quit); add(file); view.add(view_source); add(view); demos.add(new LoadAction("Borders","demos/border.xhtml")); demos.add(new LoadAction("Backgrounds","demos/background.xhtml")); demos.a... |
loadServerAOPConfig(); | public synchronized void start() throws Exception { if (started) { return; } loadClientAOPConfig(); log.info(this + " starting"); mbeanServer = findMBeanServer(); JDBCPersistenceManager jpm = new JDBCPersistenceManager(); jpm.start(); pm = jpm;... | |
unloadServerAOPConfig(); | public synchronized void stop() throws Exception { if (!started) { return; } log.debug(this + " stopping"); tearDownConnectionFactories(); destinationManager.destroyAllDestinations(); pm = null; txRepository = null; ms = null; ... | |
if (binding == null) | if (binding != null && !binding.getQueue().isRecoverable()) | public void close() throws JMSException { try { synchronized (lock) { // On close we only disconnect the consumer from the queue we don't actually remove // it. This is because it may still contain deliveries that may well be acknowledged // after t... |
throw new IllegalStateException("Cannot find queue with name " + queueName); } if (!binding.getQueue().isRecoverable()) { | public void close() throws JMSException { try { synchronized (lock) { // On close we only disconnect the consumer from the queue we don't actually remove // it. This is because it may still contain deliveries that may well be acknowledged // after t... | |
BigDecimal getBigDecimal(int parameterIndex, int scale) | BigDecimal getBigDecimal(int index, int scale) | BigDecimal getBigDecimal(int parameterIndex, int scale) throws SQLException; |
boolean getBoolean(int parameterIndex) throws SQLException; | boolean getBoolean(int index) throws SQLException; | boolean getBoolean(int parameterIndex) throws SQLException; |
byte getByte(int parameterIndex) throws SQLException; | byte getByte(int index) throws SQLException; | byte getByte(int parameterIndex) throws SQLException; |
byte[] getBytes(int parameterIndex) throws SQLException; | byte[] getBytes(int index) throws SQLException; | byte[] getBytes(int parameterIndex) throws SQLException; |
Date getDate(int parameterIndex) throws SQLException; | Date getDate(int index) throws SQLException; | Date getDate(int parameterIndex) throws SQLException; |
double getDouble(int parameterIndex) throws SQLException; | double getDouble(int index) throws SQLException; | double getDouble(int parameterIndex) throws SQLException; |
float getFloat(int parameterIndex) throws SQLException; | float getFloat(int index) throws SQLException; | float getFloat(int parameterIndex) throws SQLException; |
int getInt(int parameterIndex) throws SQLException; | int getInt(int index) throws SQLException; | int getInt(int parameterIndex) throws SQLException; |
long getLong(int parameterIndex) throws SQLException; | long getLong(int index) throws SQLException; | long getLong(int parameterIndex) throws SQLException; |
Object getObject(int parameterIndex) throws SQLException; | Object getObject(int index) throws SQLException; | Object getObject(int parameterIndex) throws SQLException; |
short getShort(int parameterIndex) throws SQLException; | short getShort(int index) throws SQLException; | short getShort(int parameterIndex) throws SQLException; |
String getString(int parameterIndex) throws SQLException; | String getString(int index) throws SQLException; | String getString(int parameterIndex) throws SQLException; |
Time getTime(int parameterIndex) throws SQLException; | Time getTime(int index) throws SQLException; | Time getTime(int parameterIndex) throws SQLException; |
Timestamp getTimestamp(int parameterIndex) throws SQLException; | Timestamp getTimestamp(int index) throws SQLException; | Timestamp getTimestamp(int parameterIndex) throws SQLException; |
URL getURL(int parameterIndex) throws SQLException; | URL getURL(int index) throws SQLException; | URL getURL(int parameterIndex) throws SQLException; |
void registerOutParameter(int parameterIndex, int sqlType) | void registerOutParameter(int index, int sqlType) | void registerOutParameter(int parameterIndex, int sqlType) throws SQLException; |
void setAsciiStream(String parameterName, InputStream x, int length) | void setAsciiStream(String name, InputStream stream, int count) | void setAsciiStream(String parameterName, InputStream x, int length) throws SQLException; |
void setBigDecimal(String parameterName, BigDecimal x) | void setBigDecimal(String name, BigDecimal value) | void setBigDecimal(String parameterName, BigDecimal x) throws SQLException; |
void setBinaryStream(String parameterName, InputStream x, int length) | void setBinaryStream(String name, InputStream stream, int count) | void setBinaryStream(String parameterName, InputStream x, int length) throws SQLException; |
void setBoolean(String parameterName, boolean x) throws SQLException; | void setBoolean(String name, boolean value) throws SQLException; | void setBoolean(String parameterName, boolean x) throws SQLException; |
void setByte(String parameterName, byte x) throws SQLException; | void setByte(String name, byte value) throws SQLException; | void setByte(String parameterName, byte x) throws SQLException; |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.