org.ow2.petals.ws
Class DragonConnectionServiceImpl

java.lang.Object
  extended by org.ow2.petals.ws.DragonConnectionServiceImpl
All Implemented Interfaces:
ExecutionEnvironmentManager, KernelWebService

public class DragonConnectionServiceImpl
extends java.lang.Object
implements KernelWebService, ExecutionEnvironmentManager

Author:
chamerling - eBM WebSourcing

Constructor Summary
DragonConnectionServiceImpl()
           
 
Method Summary
 org.objectweb.fractal.api.Component getComponent()
          Get the associated fractal component.
 java.util.List<ExecutionEnvironment> getFederationMembers(java.lang.String federationName)
           
 java.util.List<Endpoint> getHostedEndpointsOnExecEnv(java.lang.String execEnvName)
           
 java.util.List<Endpoint> getHostedEndpointsOnProcessor(java.lang.String processorName)
           
 java.util.List<ExecutionEnvironment> getManagedExecutionEnvironments()
           
 ExecutionEnvironmentManager getProperties()
           
protected  void start()
           
protected  void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DragonConnectionServiceImpl

public DragonConnectionServiceImpl()
Method Detail

start

protected void start()

stop

protected void stop()

getComponent

public org.objectweb.fractal.api.Component getComponent()
Get the associated fractal component. This is used to get the WS interface since for now I do not have other solution to do that... This is as simple as adding that :
 @org.objectweb.fractal.fraclet.annotation.annotations.Service(name = "component")
 private Component component;
 
 public Component getComponent() {
     return this.component;
 }
 
 

Specified by:
getComponent in interface KernelWebService
Returns:

getFederationMembers

public java.util.List<ExecutionEnvironment> getFederationMembers(java.lang.String federationName)
Specified by:
getFederationMembers in interface ExecutionEnvironmentManager

getHostedEndpointsOnExecEnv

public java.util.List<Endpoint> getHostedEndpointsOnExecEnv(java.lang.String execEnvName)
Specified by:
getHostedEndpointsOnExecEnv in interface ExecutionEnvironmentManager

getHostedEndpointsOnProcessor

public java.util.List<Endpoint> getHostedEndpointsOnProcessor(java.lang.String processorName)
Specified by:
getHostedEndpointsOnProcessor in interface ExecutionEnvironmentManager

getManagedExecutionEnvironments

public java.util.List<ExecutionEnvironment> getManagedExecutionEnvironments()
Specified by:
getManagedExecutionEnvironments in interface ExecutionEnvironmentManager

getProperties

public ExecutionEnvironmentManager getProperties()
Specified by:
getProperties in interface ExecutionEnvironmentManager


Copyright © 2005-2011 Petals Link (EBM Websourcing). All Rights Reserved.