Class SecurityManagerCallStack

java.lang.Object
org.datanucleus.store.rdbms.datasource.dbcp2.pool2.impl.SecurityManagerCallStack
All Implemented Interfaces:
CallStack

public class SecurityManagerCallStack extends Object implements CallStack
CallStack strategy using a SecurityManager. Obtaining the current call stack is much faster via a SecurityManger, but access to the underlying method may be restricted by the current SecurityManager. In environments where a SecurityManager cannot be created, ThrowableCallStack should be used instead.
Since:
2.4.3
See Also:
  • Field Details

  • Constructor Details

    • SecurityManagerCallStack

      public SecurityManagerCallStack(String messageFormat, boolean useTimestamp)
      Create a new instance.
      Parameters:
      messageFormat - message format
      useTimestamp - whether to format the dates in the output message or not
  • Method Details