Package org.objectweb.speedo.metadata

Examples of org.objectweb.speedo.metadata.SpeedoCallback


   * @param sc    The SpeedoClass under construction.
   * @param listener  The listener class if the callback belongs to such a class.
   */
  private void parseCallBacks(Method[] meths, SpeedoClass sc, Class listener) {
    // Look for callback methods
    SpeedoCallback scb = null;
    for (Method m : meths) {
      int i = 0;
      for (Class annotc : CBCLASSES) {
        if (m.getAnnotation(annotc) == null) {
          i++;
          continue;
        }
        ArrayList cbl = (ArrayList) sc.callBacks.get(CBIDS[i]);
        if (scb == null) {
          scb = new SpeedoCallback();
        }
        if (cbl != null) {
          logger.log(BasicLevel.WARN, sc.getSourceDescShort() + ": "
              + CBNAMES[i] + " callback - "
              + "already defined.");
View Full Code Here


      sm.embeddedValue = false;
      sm.keyColumns = null;
      sm.keyType = null;
      sm.moField = null;
    } else if (se instanceof SpeedoCallback) {
      SpeedoCallback sc = (SpeedoCallback) se;
      sc.listenerClassName = null;
      sc.callbackName = null;
      sc.methodByteCodeSignature = null;
      sc.callbackType = -1;
    } else {
View Full Code Here

      sm.embeddedValue = false;
      sm.keyColumns = null;
      sm.keyType = null;
      sm.moField = null;
    } else if (se instanceof SpeedoCallback) {
      SpeedoCallback sc = (SpeedoCallback) se;
      sc.listenerClassName = null;
      sc.callbackName = null;
      sc.methodByteCodeSignature = null;
      sc.callbackType = -1;
    } else {
View Full Code Here

TOP

Related Classes of org.objectweb.speedo.metadata.SpeedoCallback

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.