Package nexj.core.runtime

Examples of nexj.core.runtime.Instance.invoke()


      {
         instance.setValue("object", accessor);
         instance.setValue("event", event);
      }

      instance.invoke("create");
     
      return instance;
   }
}
View Full Code Here


                  }
               }
            }
         }

         audit.invoke("create");

         return audit;
      }
      finally
      {
View Full Code Here

               // Ignore pending "update" events - they should only run if there has been an actual update.
               && (!nextTobj.getEventName().equals("update") || inst.getState() == Instance.DIRTY)
               // Instance update or insert was rejected (e.g. by sync engine)
               && inst.getState() != Instance.DELETED)
            {
               inst.invoke(nextTobj.getEventName());
            }
         }

         finalizeInstantiate();
         s_logger.debug("Completed formatting the object message");
View Full Code Here

         instance.setValue("local", GUIDUtil.generateGUID());
         instance.setValue("object", null);
         instance.setValue("state", state);
         instance.setValue("serializedState", null);
         instance.setValue("serializedVariables", null);
         instance.invoke("create");
         m_context.setSecure(bSecure);
         instance.invoke("run");
      }
      catch (Throwable e)
      {
View Full Code Here

         instance.setValue("state", state);
         instance.setValue("serializedState", null);
         instance.setValue("serializedVariables", null);
         instance.invoke("create");
         m_context.setSecure(bSecure);
         instance.invoke("run");
      }
      catch (Throwable e)
      {
         if (instance != null && instance.getState() != Instance.INIT)
         {
View Full Code Here

      catch (Throwable e)
      {
         if (instance != null && instance.getState() != Instance.INIT)
         {
            m_context.setSecure(false);
            instance.invoke("delete");
         }

         ObjUtil.rethrow(e);
      }
      finally
View Full Code Here

         instance.setValue("local", (bGlobal) ? EMPTY_BINARY : GUIDUtil.generateGUID());
         instance.setValue("object", primary);
         instance.setValue("state", state);
         instance.setValue("serializedState", null);
         instance.setValue("serializedVariables", null);
         instance.invoke("create");
         m_context.setSecure(bSecure);
         instance.invoke("run");
      }
      catch (Throwable e)
      {
View Full Code Here

         instance.setValue("state", state);
         instance.setValue("serializedState", null);
         instance.setValue("serializedVariables", null);
         instance.invoke("create");
         m_context.setSecure(bSecure);
         instance.invoke("run");
      }
      catch (Throwable e)
      {
         if (instance != null)
         {
View Full Code Here

      catch (Throwable e)
      {
         if (instance != null)
         {
            m_context.setSecure(false);
            instance.invoke("delete");

            if (list != null)
            {
               list.remove(instance);
            }
View Full Code Here

      }

      try
      {
         Object[] args = new Object[]{attribute};
         Object obj = engine.invoke("compute", args);
        
         for (; attributes != null; attributes = attributes.getNext())
         {
            args[0] = attributes.getHead();
            engine.invoke("compute", args);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.