- 使用 Spring Initializr 创建 Spring Boot 应用程序
- 在Spring Boot中配置Cassandra
- 在 Spring Boot 上配置 Tomcat 连接池
- 将Camel消息路由到嵌入WildFly的Artemis上
本文整理了Java中org.osgi.framework.hooks.weaving.WovenClassListener.modified()
方法的一些代码示例,展示了WovenClassListener.modified()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。WovenClassListener.modified()
方法的具体详情如下:
包路径:org.osgi.framework.hooks.weaving.WovenClassListener
类名称:WovenClassListener
方法名:modified
[英]Receives notification that a WovenClass has completed a state transition.
The listener will be notified when a woven class has entered the WovenClass#TRANSFORMED, WovenClass#DEFINED, WovenClass#TRANSFORMING_FAILED and WovenClass#DEFINE_FAILED states.
If this method throws any exception, the Framework must log the exception but otherwise ignore it.
[中]接收Woven类已完成状态转换的通知。
当woven类进入woven类#转换、woven类#定义、woven类#转换#失败和woven类#定义#失败状态时,将通知侦听器。
如果此方法引发任何异常,框架必须记录该异常,否则将忽略它。
代码示例来源:origin: apache/felix
public void invokeWovenClassListener(
org.osgi.framework.hooks.weaving.WovenClassListener wcl,
org.osgi.framework.hooks.weaving.WovenClass wc)
throws Exception
{
if (System.getSecurityManager() != null)
{
Actions actions = (Actions) m_actions.get();
actions.set(Actions.INVOKE_WOVEN_CLASS_LISTENER, wcl, wc);
try
{
AccessController.doPrivileged(actions, m_acc);
}
catch (PrivilegedActionException e)
{
throw e.getException();
}
}
else
{
wcl.modified(wc);
}
}
代码示例来源:origin: org.eclipse/osgi
@Override
public void call(Object hook, ServiceRegistration<?> hookRegistration) throws Exception {
if (!(hook instanceof WovenClassListener))
return;
try {
((WovenClassListener) hook).modified(WovenClassImpl.this);
} catch (Exception e) {
WovenClassImpl.this.container.getEventPublisher().publishFrameworkEvent(FrameworkEvent.ERROR, hookRegistration.getReference().getBundle(), e);
}
}
代码示例来源:origin: at.bestsolution.efxclipse.eclipse/org.eclipse.osgi
@Override
public void call(Object hook, ServiceRegistration<?> hookRegistration) throws Exception {
if (!(hook instanceof WovenClassListener))
return;
try {
((WovenClassListener) hook).modified(WovenClassImpl.this);
} catch (Exception e) {
WovenClassImpl.this.container.getEventPublisher().publishFrameworkEvent(FrameworkEvent.ERROR, hookRegistration.getReference().getBundle(), e);
}
}
代码示例来源:origin: org.eclipse.platform/org.eclipse.osgi
@Override
public void call(Object hook, ServiceRegistration<?> hookRegistration) throws Exception {
if (!(hook instanceof WovenClassListener))
return;
try {
((WovenClassListener) hook).modified(WovenClassImpl.this);
} catch (Exception e) {
WovenClassImpl.this.container.getEventPublisher().publishFrameworkEvent(FrameworkEvent.ERROR, hookRegistration.getReference().getBundle(), e);
}
}
代码示例来源:origin: com.github.veithen.cosmos/cosmos-equinox
@Override
public void call(Object hook, ServiceRegistration<?> hookRegistration) throws Exception {
if (!(hook instanceof WovenClassListener))
return;
try {
((WovenClassListener) hook).modified(WovenClassImpl.this);
} catch (Exception e) {
WovenClassImpl.this.container.getEventPublisher().publishFrameworkEvent(FrameworkEvent.ERROR, hookRegistration.getReference().getBundle(), e);
}
}
代码示例来源:origin: org.eclipse.tycho/org.eclipse.osgi
@Override
public void call(Object hook, ServiceRegistration<?> hookRegistration) throws Exception {
if (!(hook instanceof WovenClassListener))
return;
try {
((WovenClassListener) hook).modified(WovenClassImpl.this);
} catch (Exception e) {
WovenClassImpl.this.container.getEventPublisher().publishFrameworkEvent(FrameworkEvent.ERROR, hookRegistration.getReference().getBundle(), e);
}
}
代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.osgi
@Override
public void call(Object hook, ServiceRegistration<?> hookRegistration) throws Exception {
if (!(hook instanceof WovenClassListener))
return;
try {
((WovenClassListener) hook).modified(WovenClassImpl.this);
} catch (Exception e) {
WovenClassImpl.this.container.getEventPublisher().publishFrameworkEvent(FrameworkEvent.ERROR, hookRegistration.getReference().getBundle(), e);
}
}
代码示例来源:origin: apache/felix
return null;
case INVOKE_WOVEN_CLASS_LISTENER:
((org.osgi.framework.hooks.weaving.WovenClassListener) arg1).modified(
(org.osgi.framework.hooks.weaving.WovenClass) arg2);
return null;
本文整理了Java中org.osgi.framework.hooks.weaving.WovenClassListener.modified()方法的一些代码示例,展示了WovenClassListe
本文整理了Java中org.osgi.framework.hooks.weaving.WovenClassListener.modified()方法的一些代码示例,展示了WovenClassListe
本文整理了Java中org.osgi.framework.hooks.weaving.WovenClassListener.modified()方法的一些代码示例,展示了WovenClassListe
本文整理了Java中org.osgi.framework.hooks.weaving.WovenClassListener.modified()方法的一些代码示例,展示了WovenClassListe
本文整理了Java中org.osgi.framework.hooks.weaving.WovenClassListener.modified()方法的一些代码示例,展示了WovenClassListe
本文整理了Java中org.osgi.framework.hooks.weaving.WovenClassListener.modified()方法的一些代码示例,展示了WovenClassListe
我是一名优秀的程序员,十分优秀!