D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
thread-self
/
root
/
usr
/
lib
/
panopta-agent
/
dependencies
/
linux2
/
python2.7
/
jpype
/
Filename :
_core.pyc
back
Copy
� fK�cc @ sH d d l Z d d l Z d d l m Z d d l m Z d d l m Z d d l m Z d d l m Z d d l m Z d d l m Z d d l m Z d d l m Z d d l m Z d d l m Z e a d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z e Z d e f d � � YZ e � Z d S( i����Ni ( t _jclass( t _jarray( t _jwrapper( t _jproxy( t _jexception( t _jcollection( t _jobject( t _properties( t nio( t reflect( t _refdaemonc C s | a d S( N( t _usePythonThreadForDaemon( t v( ( sC /usr/lib/panopta-agent/dependencies/linux2/python2.7/jpype/_core.pyt setUsePythonThreadForDeamon# s c C s t j � S( N( t _jpypet isStarted( ( ( sC /usr/lib/panopta-agent/dependencies/linux2/python2.7/jpype/_core.pyt isJVMStarted( s c G s� t j | t | � t � t j � t j � t j � t j � t j � t j � t j � t j � t j � t j � t r� t j � n t j � d S( s� Starts a Java Virtual Machine :param jvm: Path to the jvm library file (libjvm.so, jvm.dll, ...) :param args: Arguments to give to the JVM N( R t startupt tuplet TrueR t _initializeR R R R R R R R R R R t startPythont startJava( t jvmt args( ( sC /usr/lib/panopta-agent/dependencies/linux2/python2.7/jpype/_core.pyt startJVM+ s c C sa t j | � t j � t j � t j � t j � t j � t j � t j � t j � d S( N( R t attachR R R R R R R R R ( R ( ( sC /usr/lib/panopta-agent/dependencies/linux2/python2.7/jpype/_core.pyt attachToJVMD s c C s t j � t j � d S( N( R t stopR t shutdown( ( ( sC /usr/lib/panopta-agent/dependencies/linux2/python2.7/jpype/_core.pyt shutdownJVMP s c C s t j � S( N( R t isThreadAttachedToJVM( ( ( sC /usr/lib/panopta-agent/dependencies/linux2/python2.7/jpype/_core.pyR T s c C s t j � d S( N( R t attachThreadToJVM( ( ( sC /usr/lib/panopta-agent/dependencies/linux2/python2.7/jpype/_core.pyR W s c C s t j � d S( N( R t detachThreadFromJVM( ( ( sC /usr/lib/panopta-agent/dependencies/linux2/python2.7/jpype/_core.pyR! Z s c C sy t j d k r+ d d l m } | � } nD t j d k rV d d l m } | � } n d d l m } | � } | j � S( s� Retrieves the path to the default or first found JVM library :return: The path to the JVM shared library file :raise ValueError: No JVM library found t win32t cygwini ( t WindowsJVMFindert darwin( t DarwinJVMFinder( t LinuxJVMFinder( s win32s cygwin( t syst platformt _windowsR$ t _darwinR&