Codota Logo
StatelessAbstractInterpreter.getComponentDescription
Code IndexAdd Codota to your IDE (free)

How to use
getComponentDescription
method
in
jadex.kernelbase.StatelessAbstractInterpreter

Best Java code snippets using jadex.kernelbase.StatelessAbstractInterpreter.getComponentDescription (Showing top 5 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
List l =
  • Codota Iconnew LinkedList()
  • Codota IconCollections.emptyList()
  • Codota Iconnew ArrayList()
  • Smart code suggestions by Codota
}
origin: net.sourceforge.jadex/jadex-kernel-base

  /**
   *  Create a service proxy for registering a provided service.
   */
  public IInternalService	createInternalService(Object service, Class<?> type)
  {
//        boolean moni = getComponentDescription().getMonitoring()!=null? getComponentDescription().getMonitoring().booleanValue(): false;
    PublishEventLevel elm = getComponentDescription().getMonitoring()!=null? getComponentDescription().getMonitoring(): null;
    // todo: remove this? currently the level cannot be turned on due to missing interceptor
    boolean moni = elm!=null && !PublishEventLevel.OFF.equals(elm); 
    
    IInternalService    is    = BasicServiceInvocationHandler.createProvidedServiceProxy(
      getInternalAccess(), getComponentAdapter(), service, null,
      type, BasicServiceInvocationHandler.PROXYTYPE_DECOUPLED,
      null, isCopy(), isRealtime(),
      getModel().getResourceIdentifier(), moni, null);
    
    return is;
  }
 
origin: net.sourceforge.jadex/jadex-kernel-base

/**
 *  Terminate all extensions.
 */
public IFuture<Void> terminateExtensions()
{
  // Hack!!! When init fails , terminateExtensions() can not be called on component thread
  // as component already terminated.
  assert !getComponentAdapter().isExternalThread() || IComponentDescription.STATE_TERMINATED.equals(getComponentDescription().getState());
  
  Future<Void> ret = new Future<Void>();
  IExtensionInstance[] exts = getExtensions();
  CounterResultListener<Void> lis = new CounterResultListener<Void>(exts.length, false, new DelegationResultListener<Void>(ret));
  for(int i=0; i<exts.length; i++)
  {
    exts[i].terminate().addResultListener(lis);
  }
  return ret;
}
 
origin: net.sourceforge.jadex/jadex-kernel-base

else if(getComponentDescription().getCause()!=null)
  event.setCause(getComponentDescription().getCause().createNext());//event.getSourceIdentifier().toString()));
origin: net.sourceforge.jadex/jadex-kernel-base

event.setProperty("details", getComponentDescription());
origin: net.sourceforge.jadex/jadex-kernel-base

final Future<IInternalService> ret = new Future<IInternalService>();
PublishEventLevel elm = getComponentDescription().getMonitoring()!=null? getComponentDescription().getMonitoring(): null;
jadex.kernelbaseStatelessAbstractInterpretergetComponentDescription

Javadoc

Get the component description.

Popular methods of StatelessAbstractInterpreter

  • getComponentAdapter
    Get the component adapter.
  • initProvidedServices
    Init the services.
  • startEndSteps
    Start the end steps of the component. Called as part of cleanup behavior.
  • startServiceContainer
    Start the services.
  • addArgument
    Add a value for an argument (if not already present). Called once for each argument during init.
  • addDefaultResult
    Add a default value for a result (if not already present). Called once for each result during init.
  • addExtension
    Add an extension instance.
  • addNFProperty
  • addProperty
    Add a property value.
  • addService
    Add a service to the component.
  • convertRawService
    Convert to raw service.
  • createChild
    Create a subcomponent.
  • convertRawService,
  • createChild,
  • createComponent,
  • createResultListener,
  • createServiceImplementation,
  • getArguments,
  • getBindings,
  • getChildren,
  • getClassLoader

Popular in Java

  • Making http requests using okhttp
  • runOnUiThread (Activity)
  • notifyDataSetChanged (ArrayAdapter)
  • getExternalFilesDir (Context)
  • ArrayList (java.util)
    Resizable-array implementation of the List interface. Implements all optional list operations, and p
  • BitSet (java.util)
    This class implements a vector of bits that grows as needed. Each component of the bit set has a boo
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • Notification (javax.management)
  • JComboBox (javax.swing)
  • JTable (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