rem stringlengths 0 477k | add stringlengths 0 313k | context stringlengths 6 599k |
|---|---|---|
Font font = FontUtil.getFont(c, style, box.getNode()); | public static void paint(Context c, Box box) { String type = c.css.getStyle(box.getNode()).getStringProperty("list-style-type"); if (type.equals("none")) { return; } if (type.equals("lower-greek")) { type = "decimal"; } if (type.equals("decimal-leading... | |
int h = FontUtil.lineHeight(c, box.getRealElement()); | int h = FontUtil.lineHeight(c, style); | public static void paint(Context c, Box box) { String type = c.css.getStyle(box.getNode()).getStringProperty("list-style-type"); if (type.equals("none")) { return; } if (type.equals("lower-greek")) { type = "decimal"; } if (type.equals("decimal-leading... |
} else if (Idents.looksLikeALength(cssText) && !(cssName == CSSName.FONT_WEIGHT)) { | } else if (!(cssName == CSSName.FONT_WEIGHT) && Idents.looksLikeALength(cssText)) { | public static FSDerivedValue newDerivedValue(CalculatedStyle style, CSSName cssName, short cssSACUnitType, String cssText, S... |
} else if (Idents.looksLikeANumber(cssText)) { val = new NumberValue(style, cssName, cssSACUnitType, cssText, cssStringValue); | public static FSDerivedValue newDerivedValue(CalculatedStyle style, CSSName cssName, short cssSACUnitType, String cssText, S... | |
public InheritedLength() {} | private InheritedLength() {} | public InheritedLength() {} |
public LengthValue(CalculatedStyle style, CSSName name, short cssSACUnitType, String cssText, String cssStringValue) { super(style, name, cssSACUnitType, cssText, cssStringValue); pullLengthValueParts(name); | protected LengthValue() { super(); | public LengthValue(CalculatedStyle style, CSSName name, short cssSACUnitType, String cssText, String cssStringValue) { super(style, name, cssSACUnitType, cssText, cssStringValue); pullLengthValueParts(name); } |
RemoteQueueStub(String nodeId, String name, long id, boolean recoverable, PersistenceManager pm, Filter filter) | RemoteQueueStub(int nodeId, String name, long id, boolean recoverable, PersistenceManager pm, Filter filter) | RemoteQueueStub(String nodeId, String name, long id, boolean recoverable, PersistenceManager pm, Filter filter) { this.nodeId = nodeId; this.name = name; this.id = id; this.recoverable = recoverable; this.pm = pm; this.filter = filter; } |
JBossXAResource theResource = new JBossXAResource(theRm); | JBossXAResource theResource = new JBossXAResource(theRm, sd); | public Object invoke(Invocation invocation) throws Throwable { if (!(invocation instanceof MethodInvocation)) { return invocation.invokeNext(); } MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); if (log.isTraceEnable... |
sessDelegate.redeliver(); | String asfReceiverID = sessDelegate.getAsfReceiverID(); if (log.isTraceEnabled()) { log.trace("asfReceiverID is:" + asfReceiverID); } if (log.isTraceEnabled()) { log.trace("Calling sessiondelegate.redeliver()"); } sessDelegate.redeliver(asfReceiverID); | public Object invoke(Invocation invocation) throws Throwable { if (!(invocation instanceof MethodInvocation)) { return invocation.invokeNext(); } MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); if (log.isTraceEnable... |
theRM.addMessage(jbXAResource.getCurrentTxID(), m); | theRM.addMessage(txID, m); | public Object invoke(Invocation invocation) throws Throwable { if (!(invocation instanceof MethodInvocation)) { return invocation.invokeNext(); } MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); if (log.isTraceEnable... |
rm.addAck(xaResource.getCurrentTxID(), new AckInfo(messageID, receiverID)); | Object txID = xaResource.getCurrentTxID(); if (txID == null) { throw new IllegalStateException("Attempt to send message in tx, but txId is null, XA?" + this.XA); } rm.addAck(txID, new AckInfo(messageID, receiverID)); | public Object invoke(Invocation invocation) throws Throwable { if (!(invocation instanceof MethodInvocation)) { return invocation.invokeNext(); } MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); if (log.isTraceEnable... |
deserialised = true; | public void readExternal(ObjectInput in) throws IOException { try { super.readExternal(in); content = (ArrayList) in.readObject(); position = in.readInt(); offset = in.readInt(); size = in.readInt(); deserialised = true; } catch (ClassNotFoundExce... | |
} | public Object getAttribute(Object key) { for (int i = 0; i < attrs.length; i += 2) { if (attrs[i].equals(key)) return attrs[i+1]; } Object p = getResolveParent(); if (p != null && p instanceof AttributeSet) return (((AttributeSet)p).getAttribute... | |
public Object registerVariable(WorkflowContext context, WorkflowEntry entry, Map args) throws WorkflowException { | public Object registerVariable(WorkflowContext context, WorkflowEntry entry, Map args, PropertySet ps) throws WorkflowException { | public Object registerVariable(WorkflowContext context, WorkflowEntry entry, Map args) throws WorkflowException { String ejbLocation = (String) args.get(AbstractWorkflow.EJB_LOCATION); RegisterRemote sessionBean; Hashtable env = null; Iterator iter = args.entrySet().iterator(); wh... |
RegisterRemote sessionBean; | public Object registerVariable(WorkflowContext context, WorkflowEntry entry, Map args) throws WorkflowException { String ejbLocation = (String) args.get(AbstractWorkflow.EJB_LOCATION); RegisterRemote sessionBean; Hashtable env = null; Iterator iter = args.entrySet().iterator(); wh... | |
return sessionBean.registerVariable(context, entry, args); | return sessionBean.registerVariable(context, entry, args, ps); | public Object registerVariable(WorkflowContext context, WorkflowEntry entry, Map args) throws WorkflowException { String ejbLocation = (String) args.get(AbstractWorkflow.EJB_LOCATION); RegisterRemote sessionBean; Hashtable env = null; Iterator iter = args.entrySet().iterator(); wh... |
new InvocationRequest(null, null, new MessagingMarshallable(version, mi), null, null, null); | new InvocationRequest(null, ServerPeer.REMOTING_JMS_SUBSYSTEM, new MessagingMarshallable(version, mi), null, null, null); | public Object read(InputStream in, Map map) throws IOException, ClassNotFoundException { //Sanity check if (!(in instanceof JBossObjectInputStream)) { throw new IllegalStateException("InputStream must be an JBossObjectInputStream"); } JBossObjectInputStream ois = (JBossObject... |
case CALLBACK: { int consumerID = ois.readInt(); byte type = ois.readByte(); int deliveryCount = ois.readInt(); JBossMessage m = (JBossMessage)MessageFactory.createMessage(type); m.readExternal(ois); MessageProxy md = JBossMessage.createThinDelegate(m, deliveryCount); DeliveryRunnable dr = new DeliveryRunnable(md... | public Object read(InputStream in, Map map) throws IOException, ClassNotFoundException { //Sanity check if (!(in instanceof JBossObjectInputStream)) { throw new IllegalStateException("InputStream must be an JBossObjectInputStream"); } JBossObjectInputStream ois = (JBossObject... | |
} case CALLBACK: { int consumerID = ois.readInt(); byte type = ois.readByte(); int deliveryCount = ois.readInt(); JBossMessage m = (JBossMessage)MessageFactory.createMessage(type); m.readExternal(ois); MessageProxy md = JBossMessage.createThinDelegate(m, deliveryCount); DeliveryRunnable dr = new DeliveryRunnable(... | public Object read(InputStream in, Map map) throws IOException, ClassNotFoundException { //Sanity check if (!(in instanceof JBossObjectInputStream)) { throw new IllegalStateException("InputStream must be an JBossObjectInputStream"); } JBossObjectInputStream ois = (JBossObject... | |
Graphics g = progressBar.getGraphics(); | public Dimension getPreferredSize(JComponent c) { // The only thing we need to worry about is // the text size. Graphics g = progressBar.getGraphics(); Insets insets = c.getInsets(); FontMetrics fm = g.getFontMetrics(c.getFont()); int textW = fm.stringWidth(progressBar.getString()); int textH = ... | |
FontMetrics fm = g.getFontMetrics(c.getFont()); int textW = fm.stringWidth(progressBar.getString()); int textH = fm.getHeight(); g.dispose(); | FontRenderContext ctx = new FontRenderContext(new AffineTransform(), false, false); Rectangle2D bounds = c.getFont().getStringBounds(progressBar.getString(), ctx); int textW = (int) bounds.getWidth(); int textH = (int) bounds.getHeight(); | public Dimension getPreferredSize(JComponent c) { // The only thing we need to worry about is // the text size. Graphics g = progressBar.getGraphics(); Insets insets = c.getInsets(); FontMetrics fm = g.getFontMetrics(c.getFont()); int textW = fm.stringWidth(progressBar.getString()); int textH = ... |
public double getPercentComplete() { return 0.0; } | public double getPercentComplete() { if (getMaximum() == getMinimum()) return 1.0; else return (double) (model.getValue() - model.getMinimum()) / (model .getMaximum() - model.getMinimum()); } | public double getPercentComplete() { return 0.0; // TODO } // getPercentComplete() |
public String getString() { return null; } | public String getString() { if (progressString != null) return progressString; else return (int) (getPercentComplete() * 100) + "%"; } | public String getString() { return null; // TODO } // getString() |
public int getMaximum() { return 0; } | public int getMaximum() { return model.getMaximum(); } | public int getMaximum() { return 0; // TODO } // getMaximum() |
public int getMinimum() { return 0; } | public int getMinimum() { return model.getMinimum(); } | public int getMinimum() { return 0; // TODO } // getMinimum() |
public int getValue() { return 0; } | public int getValue() { return model.getValue(); } | public int getValue() { return 0; // TODO } // getValue() |
public boolean isStringPainted() { return false; } | public boolean isStringPainted() { return paintString; } | public boolean isStringPainted() { return false; // TODO } // isStringPainted() |
public void removeChangeListener(ChangeListener valulistener) { } | public void removeChangeListener(ChangeListener listener) { changeListenerList.remove(ChangeListener.class, listener); } | public void removeChangeListener(ChangeListener valulistener) { // TODO } // removeChangeListener() |
NodeList conditionNodes = conditions.getElementsByTagName("condition"); int length = conditionNodes.getLength(); | List conditionNodes = XMLUtil.getChildElements(conditions, "condition"); int length = conditionNodes.size(); | protected void init(Element join) { try { setId(Integer.parseInt(join.getAttribute("id"))); } catch (Exception ex) { throw new IllegalArgumentException("Invalid join id value " + join.getAttribute("id")); } // get conditions Element conditions = XMLUtil.getCh... |
Element condition = (Element) conditionNodes.item(i); | Element condition = (Element) conditionNodes.get(i); | protected void init(Element join) { try { setId(Integer.parseInt(join.getAttribute("id"))); } catch (Exception ex) { throw new IllegalArgumentException("Invalid join id value " + join.getAttribute("id")); } // get conditions Element conditions = XMLUtil.getCh... |
Element resultElement = (Element) join.getElementsByTagName("unconditional-result").item(0); | Element resultElement = XMLUtil.getChildElement(join, "unconditional-result"); | protected void init(Element join) { try { setId(Integer.parseInt(join.getAttribute("id"))); } catch (Exception ex) { throw new IllegalArgumentException("Invalid join id value " + join.getAttribute("id")); } // get conditions Element conditions = XMLUtil.getCh... |
public ClientConnectionDelegate(String objectID, InvokerLocator locator, | public ClientConnectionDelegate(String objectID, String serverLocatorURI, | public ClientConnectionDelegate(String objectID, InvokerLocator locator, String serverID, Version serverVersion) { super(objectID, locator); this.serverID = serverID; this.serverVersion = serverVersion; } |
super(objectID, locator); | super(objectID); | public ClientConnectionDelegate(String objectID, InvokerLocator locator, String serverID, Version serverVersion) { super(objectID, locator); this.serverID = serverID; this.serverVersion = serverVersion; } |
this.serverLocatorURI = serverLocatorURI; | public ClientConnectionDelegate(String objectID, InvokerLocator locator, String serverID, Version serverVersion) { super(objectID, locator); this.serverID = serverID; this.serverVersion = serverVersion; } | |
int getPriority(); | byte getPriority(); | int getPriority(); |
void setPriority(int priority); | void setPriority(byte priority); | void setPriority(int priority); |
{ } | { if (c != labelFor) { Component oldLabelFor = labelFor; labelFor = c; firePropertyChange(LABEL_FOR_CHANGED_PROPERTY, oldLabelFor, labelFor); } } | public void setLabelFor(Component c) { // Set the component this is labelling. } |
public void calcLayout() { u.p("bad calc layout called!"); | protected void calcLayout() { body_box = null; | public void calcLayout() { u.p("bad calc layout called!"); /* calcLayout( this.getGraphics() ); this.setOpaque( false ); */ } |
doPaint( g ); | if ( body_box == null ) { calcLayout( g ); } if ( doc == null ) { return; } newContext( g ); layout_thread.startRender(g); | public void paintComponent( Graphics g ) { //g.setColor(Color.blue); //g.drawLine(0,0,50,50); //u.p("paint() size = " + this.getSize()); //u.p("viewport size = " + this.viewport.getSize()); //u.p("w/o scroll = " + this.viewport.getViewportBorderBounds()); if ( anti_aliased ... |
int view_height = this.enclosingScrollPane.getViewport().getHeight(); if(intrinsic_size.getHeight() < view_height) { if(body_box != null) { body_box.height = view_height; } } | protected void startLayout(Graphics g) { //u.p("calcLayout()"); this.removeAll(); //u.p("this = "); //u.dump_stack(); if ( g == null ) { //u.p("bad first graphics"); return; } //u.p("layout"); //u.p("size = " + this.getSize()); //u... | |
ClientDelivery del = new ClientDelivery(list, id); | ClientDelivery del = new ClientDelivery(list, serverId, id); | public void run() { // Is there anything to deliver? // This is ok outside lock - is volatile. if (clientConsumerFull) { if (trace) { log.trace(this + " client consumer full, do nothing"); } return; } List list = null; ... |
log.info("acknowledging: " + messageID); | protected void acknowledge(long messageID) throws Throwable { // acknowledge a delivery Delivery d; synchronized (lock) { d = (Delivery)deliveries.remove(new Long(messageID)); } if (d != null) { d.acknowledge(null); } else { ... | |
log.info(this + " receives " + ref + " for delivery"); | public Delivery handle(DeliveryObserver observer, MessageReference ref, Transaction tx) { if (trace) { log.trace(this + " receives " + ref + " for delivery"); } // This is ok to have outside lock - is volatile if (bufferFull) { // We buffer a maximum of PREFETCH_LIMIT messages at ... | |
protected void checkImplicitFinish(long id) throws WorkflowException { | protected void checkImplicitFinish(ActionDescriptor action, long id) throws WorkflowException { | protected void checkImplicitFinish(long id) throws WorkflowException { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); WorkflowDescriptor wf = getConfiguration().getWorkflow(entry.getWorkflowName()); Collection currentSteps = store.findCurrentSteps(id);... |
completeEntry(id, currentSteps); | completeEntry(action, id, currentSteps); | protected void checkImplicitFinish(long id) throws WorkflowException { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); WorkflowDescriptor wf = getConfiguration().getWorkflow(entry.getWorkflowName()); Collection currentSteps = store.findCurrentSteps(id);... |
protected void completeEntry(long id, Collection currentSteps) throws StoreException { | protected void completeEntry(ActionDescriptor action, long id, Collection currentSteps) throws StoreException { | protected void completeEntry(long id, Collection currentSteps) throws StoreException { getPersistence().setEntryState(id, WorkflowEntry.COMPLETED); Iterator i = new ArrayList(currentSteps).iterator(); while (i.hasNext()) { Step step = (Step) i.next(); getPersistence().move... |
getPersistence().markFinished(step, (action != null) ? action.getId() : (-1), new Date(), "Finished", context.getCaller()); | protected void completeEntry(long id, Collection currentSteps) throws StoreException { getPersistence().setEntryState(id, WorkflowEntry.COMPLETED); Iterator i = new ArrayList(currentSteps).iterator(); while (i.hasNext()) { Step step = (Step) i.next(); getPersistence().move... | |
completeEntry(entry.getId(), getCurrentSteps(entry.getId())); | completeEntry(action, entry.getId(), getCurrentSteps(entry.getId())); | protected boolean transitionWorkflow(WorkflowEntry entry, List currentSteps, WorkflowStore store, WorkflowDescriptor wf, ActionDescriptor action, Map transientVars, Map inputs, PropertySet ps) throws WorkflowException { Map cache = (Map) stateCache.get(); cache.clear(); Step step = getCurrentSt... |
box.setStyle(block.getStyle()); | public static InlineBox generateReplacedInlineBox(Context c, Content content, int avail, InlineBox prev_align, LineBox curr_line, InlineBlockBox pendingBlockBox) { InlineBlockBox box = new InlineBlockBox(); box.element = content.getElement(); // use the prev_align to calculate the x if (... | |
ServerManagement.kill(1); | public void testSimpleFailover() throws Exception { Connection conn = null; try { conn = cf.createConnection(); conn.close(); conn = cf.createConnection(); conn.start(); // create a producer/consumer on node 1 // make sure we're connecting to node 1 ... | |
ServerManagement.killAndWait(1); try { ic[1].lookup("queue"); fail("The server still alive, kill didn't work yet"); } catch (Exception e) { } | public void testSimpleFailover() throws Exception { Connection conn = null; try { conn = cf.createConnection(); conn.close(); conn = cf.createConnection(); conn.start(); // create a producer/consumer on node 1 // make sure we're connecting to node 1 ... | |
log.trace(target + "." + methodName + "() ok"); | log.trace(target + "." + methodName + "() OK"); | public Object invoke(Invocation invocation) throws Throwable { Method method = null; String methodName = null; Object target = null; if (trace) { target = invocation.getTargetObject(); if (!(invocation instanceof MethodInvocation)) { log.trace(... |
log.info("** leaving testMessageCountOverFullSize"); | public void testMessageCountOverFullSize() throws Exception { InitialContext ic = new InitialContext(ServerManagement.getJNDIEnvironment()); ConnectionFactory cf = (ConnectionFactory)ic.lookup("/ConnectionFactory"); Connection conn = null; int fullSize = 10; int MESSAGE_COUNT = 100; S... | |
log.info("========= Start test: " + getName()); | protected void setUp() throws Exception { super.setUp(); ServerManagement.init("all"); setupDestinations(); final String defaultSecurityConfig = "<security><role name=\"def\" read=\"true\" write=\"true\" create=\"true\"/></security>"; oldDefaultConfig = ServerManagemen... | |
log.info("Got connection factory:" + cf); | drainDestination(cf, testQueue); | protected void setUp() throws Exception { super.setUp(); ServerManagement.init("all"); setupDestinations(); final String defaultSecurityConfig = "<security><role name=\"def\" read=\"true\" write=\"true\" create=\"true\"/></security>"; oldDefaultConfig = ServerManagemen... |
{ log.info("========== Stop test: " + getName()); | { | protected void tearDown() throws Exception { log.info("========== Stop test: " + getName()); ServerManagement.setDefaultSecurityConfig(oldDefaultConfig); ServerManagement.undeployQueue("testQueue"); ServerManagement.undeployQueue("testTopic"); ServerManagement.undeployTopic("securedTo... |
BCSChild() | BCSChild(Object targetChild, Object peer) | BCSChild() { } |
this.targetChild = targetChild; this.peer = peer; | BCSChild() { } | |
BCSIterator() | BCSIterator(Iterator child) | BCSIterator() { } |
this.child = child; | BCSIterator() { } | |
throws NotImplementedException | public boolean hasNext () throws NotImplementedException { throw new Error ("Not implemented"); } | |
throw new Error ("Not implemented"); | return child.hasNext(); | public boolean hasNext () throws NotImplementedException { throw new Error ("Not implemented"); } |
throws NotImplementedException | public Object next () throws NotImplementedException { throw new Error ("Not implemented"); } | |
throw new Error ("Not implemented"); | return child.next(); | public Object next () throws NotImplementedException { throw new Error ("Not implemented"); } |
if (children.containsKey(targetChild)) | BCSChild child; synchronized (children) { if (children.containsKey(targetChild) || ! validatePendingAdd(targetChild)) | public boolean add (Object targetChild) { if (targetChild == null) throw new IllegalArgumentException(); if (children.containsKey(targetChild)) return false; // FIXME: The second argument is surely wrong. children.put(targetChild, targetChild); return true; } |
children.put(targetChild, targetChild); | child = createBCSChild(targetChild, beanContextChildPeer); children.put(targetChild, child); } synchronized (targetChild) { childJustAddedHook(targetChild, child); } fireChildrenAdded(new BeanContextMembershipEvent(this, new Object[] { targetChild })); | public boolean add (Object targetChild) { if (targetChild == null) throw new IllegalArgumentException(); if (children.containsKey(targetChild)) return false; // FIXME: The second argument is surely wrong. children.put(targetChild, targetChild); return true; } |
} | public void addBeanContextMembershipListener (BeanContextMembershipListener listener) { if (! bcmListeners.contains(listener)) bcmListeners.add(listener); } | |
throws NotImplementedException | protected Iterator bcsChildren () throws NotImplementedException { throw new Error ("Not implemented"); } | |
throw new Error ("Not implemented"); | synchronized (children) { return new BCSIterator(children.values().iterator()); } | protected Iterator bcsChildren () throws NotImplementedException { throw new Error ("Not implemented"); } |
throws NotImplementedException | protected void childJustAddedHook (Object child, BeanContextSupport.BCSChild bcsc) throws NotImplementedException { throw new Error ("Not implemented"); } | |
throw new Error ("Not implemented"); | protected void childJustAddedHook (Object child, BeanContextSupport.BCSChild bcsc) throws NotImplementedException { throw new Error ("Not implemented"); } | |
throws NotImplementedException | protected void childJustRemovedHook (Object child, BeanContextSupport.BCSChild bcsc) throws NotImplementedException { throw new Error ("Not implemented"); } | |
throw new Error ("Not implemented"); | protected void childJustRemovedHook (Object child, BeanContextSupport.BCSChild bcsc) throws NotImplementedException { throw new Error ("Not implemented"); } | |
throws NotImplementedException | protected static final boolean classEquals (Class first, Class second) throws NotImplementedException { throw new Error ("Not implemented"); } | |
throw new Error ("Not implemented"); | return (first == second || first.getName().equals(second.getName())); | protected static final boolean classEquals (Class first, Class second) throws NotImplementedException { throw new Error ("Not implemented"); } |
throws NotImplementedException | public boolean contains (Object o) throws NotImplementedException { throw new Error ("Not implemented"); } | |
throw new Error ("Not implemented"); | synchronized (children) { return children.containsKey(o); } | public boolean contains (Object o) throws NotImplementedException { throw new Error ("Not implemented"); } |
throws NotImplementedException | public boolean containsAll (Collection c) throws NotImplementedException { throw new Error ("Not implemented"); } | |
throw new Error ("Not implemented"); | synchronized (children) { Iterator it = c.iterator(); while (it.hasNext()) if (! children.containsKey(it.next())) return false; } return true; | public boolean containsAll (Collection c) throws NotImplementedException { throw new Error ("Not implemented"); } |
throws NotImplementedException | public boolean containsKey (Object o) throws NotImplementedException { throw new Error ("Not implemented"); } | |
throw new Error ("Not implemented"); | synchronized (children) { return children.containsKey(o); } | public boolean containsKey (Object o) throws NotImplementedException { throw new Error ("Not implemented"); } |
throws NotImplementedException | protected final Object[] copyChildren () throws NotImplementedException { throw new Error ("Not implemented"); } | |
throw new Error ("Not implemented"); | synchronized (children) { return children.keySet().toArray(); } | protected final Object[] copyChildren () throws NotImplementedException { throw new Error ("Not implemented"); } |
throws NotImplementedException | protected BeanContextSupport.BCSChild createBCSChild (Object targetChild, Object peer) throws NotImplementedException { throw new Error ("Not implemented"); } | |
throw new Error ("Not implemented"); | return new BCSChild(targetChild, peer); | protected BeanContextSupport.BCSChild createBCSChild (Object targetChild, Object peer) throws NotImplementedException { throw new Error ("Not implemented"); } |
throws NotImplementedException | protected final void fireChildrenAdded (BeanContextMembershipEvent bcme) throws NotImplementedException { throw new Error ("Not implemented"); } | |
throw new Error ("Not implemented"); | synchronized (bcmListeners) { Iterator it = bcmListeners.iterator(); while (it.hasNext()) { BeanContextMembershipListener l = (BeanContextMembershipListener) it.next(); l.childrenAdded(bcme); } } | protected final void fireChildrenAdded (BeanContextMembershipEvent bcme) throws NotImplementedException { throw new Error ("Not implemented"); } |
throws NotImplementedException | protected final void fireChildrenRemoved (BeanContextMembershipEvent bcme) throws NotImplementedException { throw new Error ("Not implemented"); } | |
throw new Error ("Not implemented"); | synchronized (bcmListeners) { Iterator it = bcmListeners.iterator(); while (it.hasNext()) { BeanContextMembershipListener l = (BeanContextMembershipListener) it.next(); l.childrenRemoved(bcme); } } | protected final void fireChildrenRemoved (BeanContextMembershipEvent bcme) throws NotImplementedException { throw new Error ("Not implemented"); } |
throws NotImplementedException | public URL getResource (String name, BeanContextChild bcc) throws NotImplementedException { throw new Error ("Not implemented"); } | |
throw new Error ("Not implemented"); | if (! contains(bcc)) throw new IllegalArgumentException("argument not a child"); ClassLoader loader = bcc.getClass().getClassLoader(); return (loader == null ? ClassLoader.getSystemResource(name) : loader.getResource(name)); | public URL getResource (String name, BeanContextChild bcc) throws NotImplementedException { throw new Error ("Not implemented"); } |
throws NotImplementedException | public InputStream getResourceAsStream (String name, BeanContextChild bcc) throws NotImplementedException { throw new Error ("Not implemented"); } | |
throw new Error ("Not implemented"); | if (! contains(bcc)) throw new IllegalArgumentException("argument not a child"); ClassLoader loader = bcc.getClass().getClassLoader(); return (loader == null ? ClassLoader.getSystemResourceAsStream(name) : loader.getResourceAsStream(name)); | public InputStream getResourceAsStream (String name, BeanContextChild bcc) throws NotImplementedException { throw new Error ("Not implemented"); } |
throws NotImplementedException | public boolean isDesignTime () throws NotImplementedException { throw new Error ("Not implemented"); } | |
throw new Error ("Not implemented"); | return designTime; | public boolean isDesignTime () throws NotImplementedException { throw new Error ("Not implemented"); } |
throws NotImplementedException | public boolean isEmpty () throws NotImplementedException { throw new Error ("Not implemented"); } | |
throw new Error ("Not implemented"); | synchronized (children) { return children.isEmpty(); } | public boolean isEmpty () throws NotImplementedException { throw new Error ("Not implemented"); } |
} | public Iterator iterator () { return children.keySet().iterator(); } | |
throws NotImplementedException | public void removeBeanContextMembershipListener (BeanContextMembershipListener bcml) throws NotImplementedException { throw new Error ("Not implemented"); } | |
throw new Error ("Not implemented"); | synchronized (bcmListeners) { bcmListeners.remove(bcml); } | public void removeBeanContextMembershipListener (BeanContextMembershipListener bcml) throws NotImplementedException { throw new Error ("Not implemented"); } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.