public class GroovyProxyInterceptorLogic extends java.lang.Object
Pure logic for Groovy proxy interception and handling, decoupled from Hibernate.
| Modifiers | Name | Description |
|---|---|---|
record |
GroovyProxyInterceptorLogic.InterceptorState |
| Modifiers | Name | Description |
|---|---|---|
static java.lang.Object |
INVOKE_IMPLEMENTATION |
|
static java.lang.String |
PROPERTY_LAZY_TO_STRING |
Setting that controls toString() on an uninitialized proxy. |
| Type Params | Return Type | Name and description |
|---|---|---|
|
public static java.io.Serializable |
getIdentifier(java.lang.Object o) |
|
public static org.grails.datastore.gorm.proxy.ProxyInstanceMetaClass |
getProxyInstanceMetaClass(java.lang.Object o) |
|
public static java.lang.Object |
handleUninitialized(GroovyProxyInterceptorLogic.InterceptorState state, java.lang.String methodName, java.lang.Object args) |
|
public static boolean |
isGroovyMethod(java.lang.String methodName) |
|
public static java.lang.Boolean |
isInitialized(java.lang.Object o)Check if a Groovy proxy is initialized. |
|
public static java.lang.Object |
unwrap(java.lang.Object object) |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#equals(java.lang.Object), java.lang.Object#getClass(), java.lang.Object#hashCode(), java.lang.Object#notify(), java.lang.Object#notifyAll(), java.lang.Object#toString(), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int) |
Setting that controls toString() on an uninitialized proxy. When false
(the default, matching Grails 7 and earlier), toString() initializes the proxy
and delegates to the entity's own implementation. When true, the proxy answers
entityName:id without initializing.
Check if a Groovy proxy is initialized.
true if initialized, false if not initialized, or null if the object is not a Groovy proxy