congrats Icon
New! Announcing our next generation AI code completions
Read here
Tabnine Logo
ContentControllerImpl.addFcSubComponent$1
Code IndexAdd Tabnine to your IDE (free)

How to use
addFcSubComponent$1
method
in
juliac.generated.ContentControllerImpl

Best Java code snippets using juliac.generated.ContentControllerImpl.addFcSubComponent$1 (Showing top 3 results out of 1,395)

origin: com.ebmwebsourcing.easycommons/easycommons-sca-impl

/** 
 * @see org.objectweb.fractal.julia.control.content.CheckContentMixin#addFcSubComponent(org.objectweb.fractal.api.Component)
 */
private void addFcSubComponent$0(final Component subComponent) throws IllegalContentException, IllegalLifeCycleException {
  if (containsFcSubComponent(subComponent)) {
    throw new ChainedIllegalContentException(null , weaveableC , subComponent , "Already a sub component");
  } 
  Component thisComponent;
  try {
    thisComponent = ((Component)(weaveableC.getFcInterface("component")));
  } catch (NoSuchInterfaceException e) {
    throw new ChainedIllegalContentException(e , weaveableC , subComponent , "Cannot check this operation");
  }
  if (subComponent.equals(thisComponent)) {
    throw new ChainedIllegalContentException(null , weaveableC , subComponent , "A component cannot be a sub component of itself");
  } 
  List allSubComponents = org.objectweb.fractal.julia.control.content.Util.getAllSubComponents(subComponent);
  for (int i = 0 ; i < (allSubComponents.size()) ; ++i) {
    if (allSubComponents.get(i).equals(thisComponent)) {
      throw new ChainedIllegalContentException(null , weaveableC , subComponent , "Would create a cycle in the component hierarchy");
    } 
  }
  addFcSubComponent$1(subComponent);
}

origin: org.ow2.petals/petals-microkernel-api

/**
 * @see org.objectweb.fractal.julia.control.content.CheckContentMixin#addFcSubComponent(org.objectweb.fractal.api.Component)
 */
private void addFcSubComponent$0(final org.objectweb.fractal.api.Component subComponent) throws org.objectweb.fractal.api.control.IllegalContentException, org.objectweb.fractal.api.control.IllegalLifeCycleException {
  if (containsFcSubComponent(subComponent)) {
    throw new org.objectweb.fractal.julia.control.content.ChainedIllegalContentException(null, weaveableC, subComponent, "Already a sub component");
  }
  org.objectweb.fractal.api.Component thisComponent;
  try {
    thisComponent = ((org.objectweb.fractal.api.Component) (weaveableC.getFcInterface("component")));
  } catch (org.objectweb.fractal.api.NoSuchInterfaceException e) {
    throw new org.objectweb.fractal.julia.control.content.ChainedIllegalContentException(e, weaveableC, subComponent, "Cannot check this operation");
  }
  if (subComponent.equals(thisComponent)) {
    throw new org.objectweb.fractal.julia.control.content.ChainedIllegalContentException(null, weaveableC, subComponent, "A component cannot be a sub component of itself");
  }
  java.util.List allSubComponents = org.objectweb.fractal.julia.control.content.Util.getAllSubComponents(subComponent);
  for (int i = 0; i < (allSubComponents.size()); ++i) {
    if (allSubComponents.get(i).equals(thisComponent)) {
      throw new org.objectweb.fractal.julia.control.content.ChainedIllegalContentException(null, weaveableC, subComponent, "Would create a cycle in the component hierarchy");
    }
  }
  addFcSubComponent$1(subComponent);
}
origin: org.ow2.frascati.tinfi/frascati-tinfi-membranes-oo

/**
 * @see org.objectweb.fractal.julia.control.content.CheckContentMixin#addFcSubComponent(org.objectweb.fractal.api.Component)
 */
private void addFcSubComponent$0(final org.objectweb.fractal.api.Component subComponent) throws org.objectweb.fractal.api.control.IllegalContentException, org.objectweb.fractal.api.control.IllegalLifeCycleException {
  if (containsFcSubComponent(subComponent)) {
    throw new org.objectweb.fractal.julia.control.content.ChainedIllegalContentException(null, weaveableC, subComponent, "Already a sub component");
  }
  org.objectweb.fractal.api.Component thisComponent;
  try {
    thisComponent = ((org.objectweb.fractal.api.Component) (weaveableC.getFcInterface("component")));
  } catch (org.objectweb.fractal.api.NoSuchInterfaceException e) {
    throw new org.objectweb.fractal.julia.control.content.ChainedIllegalContentException(e, weaveableC, subComponent, "Cannot check this operation");
  }
  if (subComponent.equals(thisComponent)) {
    throw new org.objectweb.fractal.julia.control.content.ChainedIllegalContentException(null, weaveableC, subComponent, "A component cannot be a sub component of itself");
  }
  java.util.List allSubComponents = org.objectweb.fractal.julia.control.content.Util.getAllSubComponents(subComponent);
  for (int i = 0; i < (allSubComponents.size()); ++i) {
    if (allSubComponents.get(i).equals(thisComponent)) {
      throw new org.objectweb.fractal.julia.control.content.ChainedIllegalContentException(null, weaveableC, subComponent, "Would create a cycle in the component hierarchy");
    }
  }
  addFcSubComponent$1(subComponent);
}
juliac.generatedContentControllerImpladdFcSubComponent$1

Popular methods of ContentControllerImpl

  • <init>
  • addFcSubComponent$0
  • checkFcLocalBinding
  • checkFcRemoveSubComponent
  • containsFcSubComponent
  • getFcInternalInterface$0
  • getFcSubComponents
  • getFcSuperControllerNotifier
  • initFcController$0
  • initFcController$1
  • removeFcSubComponent$0
  • removeFcSubComponent$1
  • removeFcSubComponent$0,
  • removeFcSubComponent$1,
  • removeFcSubComponent$2,
  • initFcController$2,
  • removeFcSubComponent$3

Popular in Java

  • Creating JSON documents from java classes using gson
  • compareTo (BigDecimal)
  • setRequestProperty (URLConnection)
  • getSystemService (Context)
  • Menu (java.awt)
  • Runnable (java.lang)
    Represents a command that can be executed. Often used to run code in a different Thread.
  • MalformedURLException (java.net)
    This exception is thrown when a program attempts to create an URL from an incorrect specification.
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • Timer (java.util)
    Timers schedule one-shot or recurring TimerTask for execution. Prefer java.util.concurrent.Scheduled
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • 21 Best Atom Packages for 2021
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now