org.objectweb.jasmine.jade.ejb
Class JadeEJB

java.lang.Object
  extended by org.objectweb.jasmine.jade.ejb.JadeEJB
All Implemented Interfaces:
JadeEJBRemote

@DeclareRoles(value="jasmine")
public class JadeEJB
extends java.lang.Object
implements JadeEJBRemote

Author:
Yann Davin (yann.davin@gmail.com), Julien Legrand 2006

Constructor Summary
JadeEJB()
           
 
Method Summary
 int deploy(java.lang.String idAdl, java.util.Map<java.lang.String,java.lang.String> context)
           
 int deploy(java.lang.String idAdl, java.lang.String host, java.lang.String jadeNodeNumber)
          deploy the architecture defined, by the ADL idAdl and configured with the context, on JadeNode host_jadeNodeNumber.
 int deploy(java.lang.String idAdl, java.lang.String host, java.lang.String dirLocal, java.lang.String jadeNodeNumber)
          deploy the architecture, defined by the ADL idAdl and configured with the context.
 int deploy(java.lang.String idAdl, java.lang.String host, java.lang.String dirLocal, java.lang.String jadeNodeNumber, java.lang.String installerUrl)
          deploy the architecture, defined by the ADL idAdl and configured with the context.
 java.lang.String[] listJadeNode()
           
 void setAttribute(int componentID, java.lang.String attribute, java.lang.String value)
           
 void setJMXURL(java.lang.String host, java.lang.String port)
          Configure the connection with the Jade JMX agent registered in RMI registry listening on host:port.
 void start(int componentID)
          start the architecture modelized with the Fractal component c.
 void stop(int componentID)
          stop the architecture modelized with the Fractal component c.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JadeEJB

public JadeEJB()
Method Detail

setJMXURL

@RolesAllowed(value="jasmine")
public final void setJMXURL(java.lang.String host,
                                         java.lang.String port)
Description copied from interface: JadeEJBRemote
Configure the connection with the Jade JMX agent registered in RMI registry listening on host:port.

Specified by:
setJMXURL in interface JadeEJBRemote
Parameters:
url -

deploy

@RolesAllowed(value="jasmine")
public final int deploy(java.lang.String idAdl,
                                     java.util.Map<java.lang.String,java.lang.String> context)
                 throws java.lang.Exception
Specified by:
deploy in interface JadeEJBRemote
Returns:
Throws:
java.lang.Exception

deploy

@RolesAllowed(value="jasmine")
public final int deploy(java.lang.String idAdl,
                                     java.lang.String host,
                                     java.lang.String jadeNodeNumber)
                 throws java.lang.Exception
Description copied from interface: JadeEJBRemote
deploy the architecture defined, by the ADL idAdl and configured with the context, on JadeNode host_jadeNodeNumber.

Specified by:
deploy in interface JadeEJBRemote
Returns:
Throws:
java.lang.Exception

deploy

@RolesAllowed(value="jasmine")
public final int deploy(java.lang.String idAdl,
                                     java.lang.String host,
                                     java.lang.String dirLocal,
                                     java.lang.String jadeNodeNumber)
                 throws java.lang.Exception
Description copied from interface: JadeEJBRemote
deploy the architecture, defined by the ADL idAdl and configured with the context.

Specified by:
deploy in interface JadeEJBRemote
Returns:
Throws:
java.lang.Exception

deploy

@RolesAllowed(value="jasmine")
public final int deploy(java.lang.String idAdl,
                                     java.lang.String host,
                                     java.lang.String dirLocal,
                                     java.lang.String jadeNodeNumber,
                                     java.lang.String installerUrl)
                 throws java.lang.Exception
Description copied from interface: JadeEJBRemote
deploy the architecture, defined by the ADL idAdl and configured with the context.

Specified by:
deploy in interface JadeEJBRemote
Returns:
Throws:
java.lang.Exception

start

@RolesAllowed(value="jasmine")
public final void start(int componentID)
                 throws java.lang.Exception
Description copied from interface: JadeEJBRemote
start the architecture modelized with the Fractal component c.

Specified by:
start in interface JadeEJBRemote
Throws:
java.lang.Exception

stop

@RolesAllowed(value="jasmine")
public final void stop(int componentID)
                throws java.lang.Exception
Description copied from interface: JadeEJBRemote
stop the architecture modelized with the Fractal component c.

Specified by:
stop in interface JadeEJBRemote
Throws:
java.lang.Exception

setAttribute

@RolesAllowed(value="jasmine")
public final void setAttribute(int componentID,
                                            java.lang.String attribute,
                                            java.lang.String value)
                        throws java.lang.Exception
Specified by:
setAttribute in interface JadeEJBRemote
Throws:
java.lang.Exception

listJadeNode

public java.lang.String[] listJadeNode()
                                throws java.lang.Exception
Specified by:
listJadeNode in interface JadeEJBRemote
Returns:
Throws:
java.lang.Exception


Copyright © 2008 OW2 Consortium. All Rights Reserved.