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

  • Start an intent from android
  • scheduleAtFixedRate (Timer)
  • onRequestPermissionsResult (Fragment)
  • putExtra (Intent)
  • Table (com.google.common.collect)
    A collection that associates an ordered pair of keys, called a row key and a column key, with a sing
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
  • StringTokenizer (java.util)
    Breaks a string into tokens; new code should probably use String#split.> // Legacy code: StringTo
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
  • Best IntelliJ plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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