Tabnine Logo
ContentControllerImpl.containsFcSubComponent
Code IndexAdd Tabnine to your IDE (free)

How to use
containsFcSubComponent
method
in
juliac.generated.ContentControllerImpl

Best Java code snippets using juliac.generated.ContentControllerImpl.containsFcSubComponent (Showing top 6 results out of 315)

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

/** 
 * @see org.objectweb.fractal.julia.control.content.CheckContentMixin#removeFcSubComponent(org.objectweb.fractal.api.Component)
 */
private void removeFcSubComponent$2(final Component subComponent) throws IllegalContentException, IllegalLifeCycleException {
  if (!(containsFcSubComponent(subComponent))) {
    throw new ChainedIllegalContentException(null , weaveableC , subComponent , "Not a sub component");
  } 
  removeFcSubComponent$3(subComponent);
}

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

/**
 * @see org.objectweb.fractal.julia.control.content.CheckContentMixin#removeFcSubComponent(org.objectweb.fractal.api.Component)
 */
private void removeFcSubComponent$1(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, "Not a sub component");
  }
  removeFcSubComponent$2(subComponent);
}
origin: org.ow2.frascati.tinfi/frascati-tinfi-membranes-oo

/**
 * @see org.objectweb.fractal.julia.control.content.CheckContentMixin#removeFcSubComponent(org.objectweb.fractal.api.Component)
 */
private void removeFcSubComponent$2(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, "Not a sub component");
  }
  removeFcSubComponent$3(subComponent);
}
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.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);
}
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);
}
juliac.generatedContentControllerImplcontainsFcSubComponent

Popular methods of ContentControllerImpl

  • <init>
  • addFcSubComponent$0
  • addFcSubComponent$1
  • checkFcLocalBinding
  • checkFcRemoveSubComponent
  • 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

  • Running tasks concurrently on multiple threads
  • setRequestProperty (URLConnection)
  • getSystemService (Context)
  • getSharedPreferences (Context)
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • InetAddress (java.net)
    An Internet Protocol (IP) address. This can be either an IPv4 address or an IPv6 address, and in pra
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • SortedSet (java.util)
    SortedSet is a Set which iterates over its elements in a sorted order. The order is determined eithe
  • Manifest (java.util.jar)
    The Manifest class is used to obtain attribute information for a JarFile and its entries.
  • HttpServlet (javax.servlet.http)
    Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. A sub
  • Top 12 Jupyter Notebook extensions
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