uk.ac.soton.itinnovation.nextgrid.api.pom
Class JavaGroundingImpl

java.lang.Object
  extended by com.gridsystems.nextgrid.api.pom.AbstractGroundingImpl
      extended by uk.ac.soton.itinnovation.nextgrid.api.pom.JavaGroundingImpl
All Implemented Interfaces:
java.io.Serializable, nextgrid.api.pom.Grounding

public class JavaGroundingImpl
extends AbstractGroundingImpl

Grounding implementation that executes a Java method.

Author:
Nikolaos Matskanis, Rodrigo Ruiz
See Also:
Serialized Form

Field Summary
static javax.xml.namespace.QName ATTR_JAVA_CLASS
          Qualified Java class name.
static javax.xml.namespace.QName ATTR_JAVA_FACTORY
          Java class name of the instance factory to be used.
static javax.xml.namespace.QName ATTR_JAVA_METHOD
          Method name.
static javax.xml.namespace.QName ATTR_JAVA_NAME
          Name passed to the factory to retrieve the instance.
static javax.xml.namespace.QName ATTR_PARAM_ORDER
          Comma-separated list of input parameter names.
static java.net.URI TYPE
          Grounding type.
 
Fields inherited from interface nextgrid.api.pom.Grounding
ATTR_GROUNDING_TYPE, ATTR_OPERATION, NS_GROUNDING
 
Constructor Summary
JavaGroundingImpl()
          Creates a new instance.
 
Method Summary
 void dispose()
          
 void invoke(nextgrid.api.env.ProcessEnvironment env, nextgrid.api.pom.Service svc)
          
 void validate()
          
 
Methods inherited from class com.gridsystems.nextgrid.api.pom.AbstractGroundingImpl
attr, getSupportedAttribs, getType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ATTR_JAVA_CLASS

public static final javax.xml.namespace.QName ATTR_JAVA_CLASS
Qualified Java class name.


ATTR_JAVA_FACTORY

public static final javax.xml.namespace.QName ATTR_JAVA_FACTORY
Java class name of the instance factory to be used.


ATTR_JAVA_NAME

public static final javax.xml.namespace.QName ATTR_JAVA_NAME
Name passed to the factory to retrieve the instance. If not specified, the service ID will be used as a default value.


ATTR_JAVA_METHOD

public static final javax.xml.namespace.QName ATTR_JAVA_METHOD
Method name.


ATTR_PARAM_ORDER

public static final javax.xml.namespace.QName ATTR_PARAM_ORDER
Comma-separated list of input parameter names.


TYPE

public static final java.net.URI TYPE
Grounding type.

Constructor Detail

JavaGroundingImpl

public JavaGroundingImpl()
Creates a new instance.

Method Detail

invoke

public void invoke(nextgrid.api.env.ProcessEnvironment env,
                   nextgrid.api.pom.Service svc)
            throws nextgrid.api.pom.ProcessException

Throws:
nextgrid.api.pom.ProcessException

dispose

public void dispose()


validate

public void validate()



Copyright © 2006-2008 Grid Systems, S.A.. All Rights Reserved.