Search in sources :

Example 1 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 2 with SharedClassTokenHelper

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

the class CustomPartitioningURLLoader 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 3 with SharedClassTokenHelper

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

the class CustomPartitioningURLClassLoader 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 4 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 5 with SharedClassTokenHelper

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

the class CustomPartitioningURLLoader 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