LibreOffice Module svtools (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
svt::JavaContext Class Referencefinal

#include <javacontext.hxx>

Inheritance diagram for svt::JavaContext:
[legend]
Collaboration diagram for svt::JavaContext:
[legend]

Public Member Functions

 JavaContext (const css::uno::Reference< css::uno::XCurrentContext > &ctx)
 A message box is only displayed once for a recurring Java error. More...
 
virtual ~JavaContext ()
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &aType) override
 
virtual void SAL_CALL acquire () noexcept override
 
virtual void SAL_CALL release () noexcept override
 
virtual css::uno::Any SAL_CALL getValueByName (const OUString &Name) override
 

Private Member Functions

 JavaContext (JavaContext const &)=delete
 
JavaContextoperator= (JavaContext const &)=delete
 

Private Attributes

oslInterlockedCount m_aRefCount
 
css::uno::Reference< css::uno::XCurrentContext > m_xNextContext
 
css::uno::Reference< css::task::XInteractionHandler > m_xHandler
 

Detailed Description

Definition at line 34 of file javacontext.hxx.

Constructor & Destructor Documentation

◆ JavaContext() [1/2]

svt::JavaContext::JavaContext ( const css::uno::Reference< css::uno::XCurrentContext > &  ctx)

A message box is only displayed once for a recurring Java error.

That is only the first time JavaInteractionHandler.handle is called with a particular Request then the message box is shown. Afterwards nothing happens.

References queryInterface().

◆ ~JavaContext()

svt::JavaContext::~JavaContext ( )
virtual

Definition at line 37 of file javacontext.cxx.

◆ JavaContext() [2/2]

svt::JavaContext::JavaContext ( JavaContext const &  )
privatedelete

Member Function Documentation

◆ acquire()

void SAL_CALL svt::JavaContext::acquire ( )
overridevirtualnoexcept

Definition at line 50 of file javacontext.cxx.

◆ getValueByName()

Any SAL_CALL svt::JavaContext::getValueByName ( const OUString &  Name)
overridevirtual

◆ operator=()

JavaContext & svt::JavaContext::operator= ( JavaContext const &  )
privatedelete

◆ queryInterface()

Any SAL_CALL svt::JavaContext::queryInterface ( const css::uno::Type &  aType)
overridevirtual

Definition at line 41 of file javacontext.cxx.

References Any.

◆ release()

void SAL_CALL svt::JavaContext::release ( )
overridevirtualnoexcept

Definition at line 55 of file javacontext.cxx.

Member Data Documentation

◆ m_aRefCount

oslInterlockedCount svt::JavaContext::m_aRefCount
private

Definition at line 63 of file javacontext.hxx.

◆ m_xHandler

css::uno::Reference< css::task::XInteractionHandler> svt::JavaContext::m_xHandler
private

Definition at line 65 of file javacontext.hxx.

◆ m_xNextContext

css::uno::Reference< css::uno::XCurrentContext > svt::JavaContext::m_xNextContext
private

Definition at line 64 of file javacontext.hxx.


The documentation for this class was generated from the following files: