com.jaxfront.core.xui
Class PluginBean

java.lang.Object
  extended by com.jaxfront.core.xui.PluginBean
All Implemented Interfaces:
java.io.Serializable

public class PluginBean
extends java.lang.Object
implements java.io.Serializable

Holds all necessary information to create a Java Bean trough the java reflection API. Defining a PluginBean gives a type its own look & feel instead of the default rendering.

Version:
1.60
See Also:
Serialized Form

Constructor Summary
PluginBean(java.lang.String className, MethodParameter[] methodParameters)
          Creates a Plugin Bean based on a className, method parameters and actions to fire.
 
Method Summary
 java.lang.String getName()
           
 java.lang.Class[] getParameterClasses()
          Returns an array of parameter classes.
 java.lang.Object[] getParameters()
           
 java.lang.Object[] getParameters(Type type)
          Returns the objects to pass to the constructor of this plugin.
 java.lang.Class getPluginClass()
          Returns the class of the plugin or null if the class was not found.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PluginBean

public PluginBean(java.lang.String className,
                  MethodParameter[] methodParameters)
Creates a Plugin Bean based on a className, method parameters and actions to fire.

Method Detail

getParameterClasses

public java.lang.Class[] getParameterClasses()
Returns an array of parameter classes.


getParameters

public java.lang.Object[] getParameters()

getParameters

public java.lang.Object[] getParameters(Type type)
Returns the objects to pass to the constructor of this plugin.


getPluginClass

public java.lang.Class getPluginClass()
Returns the class of the plugin or null if the class was not found.


getName

public java.lang.String getName()