本文整理了Java中org.jruby.RubyClass.reify
方法的一些代码示例,展示了RubyClass.reify
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。RubyClass.reify
方法的具体详情如下:
包路径:org.jruby.RubyClass
类名称:RubyClass
方法名:reify
[英]Stand up a real Java class for the backing store of this object
[中]为这个对象的备份存储建立一个真正的Java类
代码示例来源:origin: com.ning.billing/killbill-osgi-bundles-jruby
public synchronized void reify() {
reify(null, true);
}
public synchronized void reify(String classDumpDir) {
代码示例来源:origin: com.ning.billing/killbill-osgi-bundles-jruby
/**
* Reify this class, first reifying all its ancestors. This causes the
* reified class and all ancestors' reified classes to come into existence,
* so any future changes will not be reflected.
*
* This form also accepts a string argument indicating a path in which to dump
* the intermediate reified class bytes.
*
* @param classDumpDir the path in which to dump reified class bytes
* @param useChildLoader whether to load the class into its own child classloader
*/
public void reifyWithAncestors(String classDumpDir, boolean useChildLoader) {
if (isReifiable()) {
RubyClass realSuper = getSuperClass().getRealClass();
if (realSuper.reifiedClass == null) realSuper.reifyWithAncestors(classDumpDir, useChildLoader);
reify(classDumpDir, useChildLoader);
}
}
代码示例来源:origin: org.kill-bill.billing/killbill-osgi-bundles-jruby
public synchronized void reify() {
reify(null, true);
}
public synchronized void reify(String classDumpDir) {
代码示例来源:origin: org.jruby/jruby-complete
/**
* Reify this class, first reifying all its ancestors. This causes the
* reified class and all ancestors' reified classes to come into existence,
* so any future changes will not be reflected.
*
* This form also accepts a string argument indicating a path in which to dump
* the intermediate reified class bytes.
*
* @param classDumpDir the path in which to dump reified class bytes
* @param useChildLoader whether to load the class into its own child classloader
*/
public void reifyWithAncestors(String classDumpDir, boolean useChildLoader) {
if (isReifiable()) {
RubyClass realSuper = getSuperClass().getRealClass();
if (realSuper.reifiedClass == null) realSuper.reifyWithAncestors(classDumpDir, useChildLoader);
reify(classDumpDir, useChildLoader);
}
}
代码示例来源:origin: org.jruby/jruby-complete
public final void reify() {
reify(null, true);
}
public final void reify(String classDumpDir) {
代码示例来源:origin: org.jruby/jruby-core
/**
* Reify this class, first reifying all its ancestors. This causes the
* reified class and all ancestors' reified classes to come into existence,
* so any future changes will not be reflected.
*
* This form also accepts a string argument indicating a path in which to dump
* the intermediate reified class bytes.
*
* @param classDumpDir the path in which to dump reified class bytes
* @param useChildLoader whether to load the class into its own child classloader
*/
public void reifyWithAncestors(String classDumpDir, boolean useChildLoader) {
if (isReifiable()) {
RubyClass realSuper = getSuperClass().getRealClass();
if (realSuper.reifiedClass == null) realSuper.reifyWithAncestors(classDumpDir, useChildLoader);
reify(classDumpDir, useChildLoader);
}
}
代码示例来源:origin: org.jruby/jruby-complete
public final void reify(String classDumpDir) {
reify(classDumpDir, true);
}
public final void reify(boolean useChildLoader) {
代码示例来源:origin: org.kill-bill.billing/killbill-osgi-bundles-jruby
/**
* Reify this class, first reifying all its ancestors. This causes the
* reified class and all ancestors' reified classes to come into existence,
* so any future changes will not be reflected.
*
* This form also accepts a string argument indicating a path in which to dump
* the intermediate reified class bytes.
*
* @param classDumpDir the path in which to dump reified class bytes
* @param useChildLoader whether to load the class into its own child classloader
*/
public void reifyWithAncestors(String classDumpDir, boolean useChildLoader) {
if (isReifiable()) {
RubyClass realSuper = getSuperClass().getRealClass();
if (realSuper.reifiedClass == null) realSuper.reifyWithAncestors(classDumpDir, useChildLoader);
reify(classDumpDir, useChildLoader);
}
}
代码示例来源:origin: org.jruby/jruby-core
public final void reify(boolean useChildLoader) {
reify(null, useChildLoader);
}
代码示例来源:origin: org.kill-bill.billing/killbill-osgi-bundles-jruby
public synchronized void reify(String classDumpDir) {
reify(classDumpDir, true);
}
public synchronized void reify(boolean useChildLoader) {
代码示例来源:origin: org.jruby/jruby-core
public final void reify() {
reify(null, true);
}
public final void reify(String classDumpDir) {
代码示例来源:origin: org.jruby/jruby-core
public final void reify(String classDumpDir) {
reify(classDumpDir, true);
}
public final void reify(boolean useChildLoader) {
代码示例来源:origin: com.ning.billing/killbill-osgi-bundles-jruby
public synchronized void reify(String classDumpDir) {
reify(classDumpDir, true);
}
public synchronized void reify(boolean useChildLoader) {
代码示例来源:origin: org.jruby/jruby-complete
public final void reify(boolean useChildLoader) {
reify(null, useChildLoader);
}
代码示例来源:origin: com.ning.billing/killbill-osgi-bundles-jruby
public synchronized void reify(boolean useChildLoader) {
reify(null, useChildLoader);
}
代码示例来源:origin: org.kill-bill.billing/killbill-osgi-bundles-jruby
public synchronized void reify(boolean useChildLoader) {
reify(null, useChildLoader);
}
代码示例来源:origin: com.ning.billing/killbill-osgi-bundles-jruby
private static void reifyWithAncestors(RubyClass klazz) {
RubyClass realSuper = klazz.getSuperClass().getRealClass();
if (realSuper.getReifiedClass() == null) reifyWithAncestors(realSuper);
synchronized (klazz) {
klazz.reify();
klazz.setAllocator(new ReifyingAllocator(klazz.getReifiedClass()));
}
}
}
代码示例来源:origin: org.kill-bill.billing/killbill-osgi-bundles-jruby
private static void reifyWithAncestors(RubyClass klazz) {
RubyClass realSuper = klazz.getSuperClass().getRealClass();
if (realSuper.getReifiedClass() == null) reifyWithAncestors(realSuper);
synchronized (klazz) {
klazz.reify();
klazz.setAllocator(new ReifyingAllocator(klazz.getReifiedClass()));
}
}
}
代码示例来源:origin: org.jruby/jruby-complete
private static void reifyWithAncestors(RubyClass klazz) {
RubyClass realSuper = klazz.getSuperClass().getRealClass();
if (realSuper.getReifiedClass() == null) reifyWithAncestors(realSuper);
synchronized (klazz) {
klazz.reify();
klazz.setAllocator(new ReifyingAllocator(klazz.getReifiedClass()));
}
}
}
代码示例来源:origin: org.jruby/jruby-core
private static void reifyWithAncestors(RubyClass klazz) {
RubyClass realSuper = klazz.getSuperClass().getRealClass();
if (realSuper.getReifiedClass() == null) reifyWithAncestors(realSuper);
synchronized (klazz) {
klazz.reify();
klazz.setAllocator(new ReifyingAllocator(klazz.getReifiedClass()));
}
}
}
内容来源于网络,如有侵权,请联系作者删除!