org.defne.utility.reflection
Interface SecurityActions


public interface SecurityActions


Nested Class Summary
static class SecurityActions.UTIL
           
 
Field Summary
static SecurityActions NON_PRIVILEGED
           
static SecurityActions PRIVILEGED
           
 
Method Summary
 Object callConstructor(Constructor<?> constructor, Object[] arguments)
           
 String getAndSetSystemProperty(String systemProperty, String value)
           
 Class<?> getClass(String className)
           
 Constructor<?> getConstructor(Class<?> clazz, List<Class<?>> arguments)
           
 String getSystemProperty(String systemProperty)
           
 String getSystemProperty(String systemProperty, String defaultValue)
           
 Object newInstance(Class<?> clazz)
           
 

Field Detail

NON_PRIVILEGED

static final SecurityActions NON_PRIVILEGED

PRIVILEGED

static final SecurityActions PRIVILEGED
Method Detail

getConstructor

Constructor<?> getConstructor(Class<?> clazz,
                              List<Class<?>> arguments)

newInstance

Object newInstance(Class<?> clazz)

getClass

Class<?> getClass(String className)

callConstructor

Object callConstructor(Constructor<?> constructor,
                       Object[] arguments)

getSystemProperty

String getSystemProperty(String systemProperty)

getSystemProperty

String getSystemProperty(String systemProperty,
                         String defaultValue)

getAndSetSystemProperty

String getAndSetSystemProperty(String systemProperty,
                               String value)


Copyright © 2010 MechSoft Mechanical and Software Solutions. All Rights Reserved.