Search in sources :

Example 6 with SharedClassTokenHelper

use of com.ibm.oti.shared.SharedClassTokenHelper in project openj9 by eclipse.

the class CustomURLLoader method getTokenHelper.

public void getTokenHelper() throws Exception {
    SharedClassHelperFactory schFactory = Shared.getSharedClassHelperFactory();
    SharedClassTokenHelper newHelper = null;
    newHelper = schFactory.getTokenHelper(this);
}
Also used : SharedClassHelperFactory(com.ibm.oti.shared.SharedClassHelperFactory) SharedClassTokenHelper(com.ibm.oti.shared.SharedClassTokenHelper)

Example 7 with SharedClassTokenHelper

use of com.ibm.oti.shared.SharedClassTokenHelper in project openj9 by eclipse.

the class CustomURLClassLoader method getTokenHelper.

public void getTokenHelper() throws Exception {
    SharedClassHelperFactory schFactory = Shared.getSharedClassHelperFactory();
    SharedClassTokenHelper newHelper = null;
    newHelper = schFactory.getTokenHelper(this);
}
Also used : SharedClassHelperFactory(com.ibm.oti.shared.SharedClassHelperFactory) SharedClassTokenHelper(com.ibm.oti.shared.SharedClassTokenHelper)

Example 8 with SharedClassTokenHelper

use of com.ibm.oti.shared.SharedClassTokenHelper in project openj9 by eclipse.

the class CustomURLClassLoaderNoAPIUse method getTokenHelper.

public void getTokenHelper() throws Exception {
    SharedClassHelperFactory schFactory = Shared.getSharedClassHelperFactory();
    SharedClassTokenHelper newHelper = null;
    newHelper = schFactory.getTokenHelper(this);
}
Also used : SharedClassHelperFactory(com.ibm.oti.shared.SharedClassHelperFactory) SharedClassTokenHelper(com.ibm.oti.shared.SharedClassTokenHelper)

Example 9 with SharedClassTokenHelper

use of com.ibm.oti.shared.SharedClassTokenHelper in project openj9 by eclipse.

the class CustomTokenClassLoader method getHelper.

public boolean getHelper() {
    SharedClassHelperFactory schFactory = Shared.getSharedClassHelperFactory();
    SharedClassTokenHelper newHelper = null;
    try {
        newHelper = schFactory.getTokenHelper(this);
    } catch (Exception e) {
        return false;
    }
    if (newHelper.equals(scHelper)) {
        return true;
    } else {
        return false;
    }
}
Also used : SharedClassHelperFactory(com.ibm.oti.shared.SharedClassHelperFactory) SharedClassTokenHelper(com.ibm.oti.shared.SharedClassTokenHelper) MalformedURLException(java.net.MalformedURLException) IOException(java.io.IOException) HelperAlreadyDefinedException(com.ibm.oti.shared.HelperAlreadyDefinedException)

Example 10 with SharedClassTokenHelper

use of com.ibm.oti.shared.SharedClassTokenHelper in project openj9 by eclipse.

the class CustomURLClassLoader method getTokenHelper.

public void getTokenHelper() throws Exception {
    SharedClassHelperFactory schFactory = Shared.getSharedClassHelperFactory();
    SharedClassTokenHelper newHelper = null;
    newHelper = schFactory.getTokenHelper(this);
}
Also used : SharedClassHelperFactory(com.ibm.oti.shared.SharedClassHelperFactory) SharedClassTokenHelper(com.ibm.oti.shared.SharedClassTokenHelper)

Aggregations

SharedClassHelperFactory (com.ibm.oti.shared.SharedClassHelperFactory)14 SharedClassTokenHelper (com.ibm.oti.shared.SharedClassTokenHelper)14 HelperAlreadyDefinedException (com.ibm.oti.shared.HelperAlreadyDefinedException)2 IOException (java.io.IOException)2 MalformedURLException (java.net.MalformedURLException)2