at.spardat.xma.boot.util
Class Reflectives

java.lang.Object
  extended byat.spardat.xma.boot.util.Reflectives

Deprecated. because not used any more

public class Reflectives
extends java.lang.Object


Constructor Summary
Reflectives()
          Deprecated.  
Reflectives(boolean accessible)
          Deprecated.  
 
Method Summary
 java.lang.reflect.Method getMethod(java.lang.Class type, java.lang.String method, java.lang.Object[] args)
          Deprecated.  
 java.lang.Object invoke(java.lang.Object object, java.lang.String method)
          Deprecated.  
 java.lang.Object invoke(java.lang.Object object, java.lang.String method, java.lang.Object[] args)
          Deprecated.  
 java.lang.Object invokeStatic(java.lang.String className, java.lang.String method)
          Deprecated.  
 java.lang.Object invokeStatic(java.lang.String className, java.lang.String method, java.lang.Object[] args)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Reflectives

public Reflectives()
Deprecated.  

Create a new Reflect instance.


Reflectives

public Reflectives(boolean accessible)
Deprecated.  

Create a new Reflect instance.

Parameters:
accessible - whether to bypass access permissions
Method Detail

invokeStatic

public java.lang.Object invokeStatic(java.lang.String className,
                                     java.lang.String method)
Deprecated.  

Invoke a zero-parameter static method by name.


invokeStatic

public java.lang.Object invokeStatic(java.lang.String className,
                                     java.lang.String method,
                                     java.lang.Object[] args)
Deprecated.  

Invoke the static method using the specified parameters.


invoke

public java.lang.Object invoke(java.lang.Object object,
                               java.lang.String method)
                        throws java.lang.Exception
Deprecated.  

Invoke a zero-parameter method by name on the specified object.

Throws:
java.lang.Exception

invoke

public java.lang.Object invoke(java.lang.Object object,
                               java.lang.String method,
                               java.lang.Object[] args)
                        throws java.lang.Exception
Deprecated.  

Invoke a method by name with the specified parameters.

Returns:
the result of the method
Throws:
java.lang.Exception

getMethod

public java.lang.reflect.Method getMethod(java.lang.Class type,
                                          java.lang.String method,
                                          java.lang.Object[] args)
                                   throws java.lang.Exception
Deprecated.  

Return the Method matching the specified name and number of arguments.

Throws:
java.lang.Exception