Top Description Fields Constructors Methods
bsh

public abstract Class ReflectManager

extends Object
Class Inheritance
Known Direct Subclasses
bsh.reflect.ReflectManagerImpl
Imports
bsh.Capabilities.Unavailable

ReflectManager is a dynamically loaded extension that supports extended reflection features supported by JDK1.2 and greater. In particular it currently supports accessible method and field access supported by JDK1.2 and greater.

Field Summary

Modifier and TypeField and Description
private static ReflectManager

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static ReflectManager
getReflectManager()

Return the singleton bsh ReflectManager.

public static boolean
RMSetAccessible(Object obj)

Reflect Manager Set Accessible.

public abstract boolean

Returns:

true if the object was accessible or false if it was not.
setAccessible
(Object o)

Set a java.lang.reflect Field, Method, Constructor, or Array of accessible objects to accessible mode.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

rfmback to summary
private static ReflectManager rfm

Constructor Detail

ReflectManagerback to summary
public ReflectManager()

Method Detail

getReflectManagerback to summary
public static ReflectManager getReflectManager() throws Unavailable

Return the singleton bsh ReflectManager.

RMSetAccessibleback to summary
public static boolean RMSetAccessible(Object obj) throws Unavailable

Reflect Manager Set Accessible. Convenience method to invoke the reflect manager.

setAccessibleback to summary
public abstract boolean setAccessible(Object o)

Set a java.lang.reflect Field, Method, Constructor, or Array of accessible objects to accessible mode.

Returns:boolean

true if the object was accessible or false if it was not.