com.intel.gpe.client2.gridbeans
Class GridBean

java.lang.Object
  extended by com.intel.gpe.client2.gridbeans.GridBean
All Implemented Interfaces:
InternalGridBean

public class GridBean
extends java.lang.Object
implements InternalGridBean

The internal class that is used in Application and Expert clients to manage GUI plugin and job instances.

Version:
$Id: GridBean.java,v 1.17 2007/02/22 14:40:16 dizhigul Exp $
Author:
Alexander Lukichev

Field Summary
 
Fields inherited from interface com.intel.gpe.client2.gridbeans.InternalGridBean
NAMESPACE, PORTLET_PLUGIN, SWING_PLUGIN, WEBPANEL_PLUGIN
 
Constructor Summary
GridBean(java.util.jar.JarFile jar, java.net.URLClassLoader loader)
           
 
Method Summary
static boolean conformApplication(com.intel.gpe.clients.api.Application app1, com.intel.gpe.clients.api.Application app2)
           
 boolean equals(java.lang.Object o)
           
 GridBeanJob getJobInstance(java.lang.String tmpDirectory)
           
 java.lang.Class getModelClass()
           
 java.lang.String getName()
           
 GridBeanPlugin getPluginInstance(javax.xml.namespace.QName type)
          Get the uninitialized plugin instance.
 com.intel.gpe.clients.api.Application getSupportedApplication()
           
 java.lang.String getVersion()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GridBean

public GridBean(java.util.jar.JarFile jar,
                java.net.URLClassLoader loader)
         throws GridBeanException
Throws:
GridBeanException
Method Detail

getSupportedApplication

public com.intel.gpe.clients.api.Application getSupportedApplication()
Specified by:
getSupportedApplication in interface InternalGridBean

getName

public java.lang.String getName()
Specified by:
getName in interface InternalGridBean

getVersion

public java.lang.String getVersion()
Specified by:
getVersion in interface InternalGridBean

getJobInstance

public GridBeanJob getJobInstance(java.lang.String tmpDirectory)
                           throws GridBeanException
Specified by:
getJobInstance in interface InternalGridBean
Throws:
GridBeanException

getModelClass

public java.lang.Class getModelClass()

getPluginInstance

public GridBeanPlugin getPluginInstance(javax.xml.namespace.QName type)
                                 throws java.lang.Exception
Description copied from interface: InternalGridBean
Get the uninitialized plugin instance. The subsequent call of plugin.initialize is required.

Specified by:
getPluginInstance in interface InternalGridBean
Returns:
Throws:
java.lang.Exception

conformApplication

public static boolean conformApplication(com.intel.gpe.clients.api.Application app1,
                                         com.intel.gpe.clients.api.Application app2)

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


Copyright © 2008. All Rights Reserved.