Codota Logo
ContentControllerImpl.addFcSubComponent$1
Code IndexAdd Codota 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)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Charset c =
  • Codota IconString charsetName;Charset.forName(charsetName)
  • Codota IconCharset.defaultCharset()
  • Codota IconContentType contentType;contentType.getCharset()
  • Smart code suggestions by Codota
}
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

  • Making http post requests using okhttp
  • findViewById (Activity)
  • getApplicationContext (Context)
  • getSystemService (Context)
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • Date (java.sql)
    A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • Notification (javax.management)
  • JFrame (javax.swing)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now