public static FileLock getFileLock ( java . io . RandomAccessFile file , String fileName ) throws java . io . IOException { return ( FileLock ) Utils . getImpl ( "com.ibm.ws.objectManager.utils.FileLockImpl" , new Class [ ] { java . io . RandomAccessFile . class , String . class } , new Object [ ] { file , fileName } ) ; }
Create a platform specific FileLock instance .