link start!
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
package org.apache.velocity.util.introspection;
|
||||
|
||||
public interface ChainableUberspector extends Uberspect {
|
||||
void wrap(Uberspect uberspect);
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
package org.apache.velocity.util.introspection;
|
||||
|
||||
public interface IntrospectorCache {
|
||||
void clear();
|
||||
|
||||
ClassMap get(Class cls);
|
||||
|
||||
ClassMap put(Class cls);
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package org.apache.velocity.util.introspection;
|
||||
|
||||
public interface SecureIntrospectorControl {
|
||||
boolean checkObjectExecutePermission(Class cls, String str);
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
package org.apache.velocity.util.introspection;
|
||||
|
||||
import java.util.Iterator;
|
||||
|
||||
public interface Uberspect {
|
||||
Iterator getIterator(Object obj, Info info) throws Exception;
|
||||
|
||||
VelMethod getMethod(Object obj, String str, Object[] objArr, Info info) throws Exception;
|
||||
|
||||
VelPropertyGet getPropertyGet(Object obj, String str, Info info) throws Exception;
|
||||
|
||||
VelPropertySet getPropertySet(Object obj, String str, Object obj2, Info info) throws Exception;
|
||||
|
||||
void init();
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
package org.apache.velocity.util.introspection;
|
||||
|
||||
import org.apache.velocity.runtime.RuntimeLogger;
|
||||
import org.apache.velocity.runtime.log.Log;
|
||||
|
||||
public interface UberspectLoggable {
|
||||
void setLog(Log log);
|
||||
|
||||
void setRuntimeLogger(RuntimeLogger runtimeLogger);
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
package org.apache.velocity.util.introspection;
|
||||
|
||||
public interface VelMethod {
|
||||
String getMethodName();
|
||||
|
||||
Class getReturnType();
|
||||
|
||||
Object invoke(Object obj, Object[] objArr) throws Exception;
|
||||
|
||||
boolean isCacheable();
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
package org.apache.velocity.util.introspection;
|
||||
|
||||
public interface VelPropertyGet {
|
||||
String getMethodName();
|
||||
|
||||
Object invoke(Object obj) throws Exception;
|
||||
|
||||
boolean isCacheable();
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
package org.apache.velocity.util.introspection;
|
||||
|
||||
public interface VelPropertySet {
|
||||
String getMethodName();
|
||||
|
||||
Object invoke(Object obj, Object obj2) throws Exception;
|
||||
|
||||
boolean isCacheable();
|
||||
}
|
||||
Reference in New Issue
Block a user