org.apache.ojb.broker.metadata.fieldaccess
Class PersistentFieldPrivilegedImpl

java.lang.Object
  extended by org.apache.ojb.broker.metadata.fieldaccess.PersistentFieldBase
      extended by org.apache.ojb.broker.metadata.fieldaccess.PersistentFieldDirectImpl
          extended by org.apache.ojb.broker.metadata.fieldaccess.PersistentFieldPrivilegedImpl
All Implemented Interfaces:
java.io.Serializable, PersistentField
Direct Known Subclasses:
PersistentFieldPrivilegedImplNew

public class PersistentFieldPrivilegedImpl
extends PersistentFieldDirectImpl

A PersistentField implementation using reflection to access but does cooperate with AccessController and do not suppress the java language access check.

Version:
$Id: PersistentFieldPrivilegedImpl.java 365232 2005-12-21 22:36:07Z tomdz $
See Also:
PersistentFieldDirectImpl, Serialized Form

Field Summary
 
Fields inherited from class org.apache.ojb.broker.metadata.fieldaccess.PersistentFieldBase
PATH_TOKEN
 
Constructor Summary
PersistentFieldPrivilegedImpl()
           
PersistentFieldPrivilegedImpl(java.lang.Class type, java.lang.String fieldname)
           
 
Method Summary
 boolean makeAccessible()
          This implementation returns always 'false'.
 boolean usesAccessorsAndMutators()
          Always returns 'false'.
 
Methods inherited from class org.apache.ojb.broker.metadata.fieldaccess.PersistentFieldDirectImpl
get, getType, set
 
Methods inherited from class org.apache.ojb.broker.metadata.fieldaccess.PersistentFieldBase
getDeclaringClass, getName, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PersistentFieldPrivilegedImpl

public PersistentFieldPrivilegedImpl()

PersistentFieldPrivilegedImpl

public PersistentFieldPrivilegedImpl(java.lang.Class type,
                                     java.lang.String fieldname)
Method Detail

makeAccessible

public boolean makeAccessible()
This implementation returns always 'false'.


usesAccessorsAndMutators

public boolean usesAccessorsAndMutators()
Always returns 'false'.

Specified by:
usesAccessorsAndMutators in interface PersistentField
Overrides:
usesAccessorsAndMutators in class PersistentFieldDirectImpl
See Also:
PersistentField.usesAccessorsAndMutators()


(C) 2002 - 2006 Apache Software Foundation
All rights reserved. Published under the Apache License 2.0.
http://db.apache.org/ojb
Version: 1.0.4, 2005-12-30