本文整理了Java中org.apache.tomcat.util.modeler.Registry.invoke
方法的一些代码示例,展示了Registry.invoke
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Registry.invoke
方法的具体详情如下:
包路径:org.apache.tomcat.util.modeler.Registry
类名称:Registry
方法名:invoke
[英]Invoke a operation on a list of mbeans. Can be used to implement lifecycle operations.
[中]在MBean列表上调用操作。可用于实施生命周期操作。
代码示例来源:origin: jboss.web/jbossweb
public void stop() throws Exception {
registry.invoke(mbeans, "stop", false);
}
代码示例来源:origin: jboss.web/jbossweb
public void destroy() throws Exception {
registry.invoke(mbeans, "destroy", false);
}
代码示例来源:origin: org.apache.geronimo.ext.tomcat/util
public void start() throws Exception {
registry.invoke(mbeans, "start", false);
}
代码示例来源:origin: org.apache.geronimo.ext.tomcat/util
public void destroy() throws Exception {
registry.invoke(mbeans, "destroy", false);
}
代码示例来源:origin: org.jboss.web/jbossweb
public void start() throws Exception {
registry.invoke(mbeans, "start", false);
}
代码示例来源:origin: com.ovea.tajin.server/tajin-server-tomcat7
public void stop() throws Exception {
registry.invoke(mbeans, "stop", false);
}
代码示例来源:origin: com.ovea.tajin.server/tajin-server-tomcat7
public void destroy() throws Exception {
registry.invoke(mbeans, "destroy", false);
}
代码示例来源:origin: org.apache.coyote.springsource/com.springsource.org.apache.coyote.springsource
public void destroy() throws Exception {
registry.invoke(mbeans, "destroy", false);
}
代码示例来源:origin: org.jboss.web/jbossweb
public void stop() throws Exception {
registry.invoke(mbeans, "stop", false);
}
代码示例来源:origin: org.jboss.web/jbossweb
public void destroy() throws Exception {
registry.invoke(mbeans, "destroy", false);
}
代码示例来源:origin: jboss.web/jbossweb
public void start() throws Exception {
registry.invoke(mbeans, "start", false);
}
代码示例来源:origin: stackoverflow.com
Invocation invocation = new Invocation("file:///SDCard/BlackBerry/music/song.mp3");
Registry reg = Registry.getRegistry("net.rim.device.api.content.BlackBerryContentHandler");
reg.invoke(invocation);
代码示例来源:origin: jboss.web/jbossweb
public void stop() throws LifecycleException {
super.stop();
if( mbeans != null ) {
try {
Registry.getRegistry(null, null).invoke(mbeans, "stop", false);
} catch (Exception e) {
log.error("Error in stop() for " + mbeansFile, e);
}
}
}
代码示例来源:origin: org.apache.coyote.springsource/com.springsource.org.apache.coyote.springsource
public void init() throws Exception {
if( mbeans==null) execute();
if( registry==null ) registry=Registry.getRegistry();
registry.invoke(mbeans, "init", false);
}
代码示例来源:origin: com.ovea.tajin.server/tajin-server-tomcat7
public void init() throws Exception {
if( mbeans==null) execute();
if( registry==null ) registry=Registry.getRegistry(null, null);
registry.invoke(mbeans, "init", false);
}
代码示例来源:origin: org.jboss.web/jbossweb
public void init() throws Exception {
if( mbeans==null) execute();
if( registry==null ) registry=Registry.getRegistry();
registry.invoke(mbeans, "init", false);
}
代码示例来源:origin: jboss.web/jbossweb
public void init() throws Exception {
if( mbeans==null) execute();
if( registry==null ) registry=Registry.getRegistry();
registry.invoke(mbeans, "init", false);
}
代码示例来源:origin: org.apache.geronimo.ext.tomcat/util
@Override
public void init() throws Exception {
if( mbeans==null) execute();
if( registry==null ) registry=Registry.getRegistry(null, null);
registry.invoke(mbeans, "init", false);
}
代码示例来源:origin: org.apache.coyote/com.springsource.org.apache.coyote
@Override
public void init() throws Exception {
if( mbeans==null) execute();
if( registry==null ) registry=Registry.getRegistry(null, null);
registry.invoke(mbeans, "init", false);
}
代码示例来源:origin: stackoverflow.com
Invocation certInvocation = new Invocation( "path to .p12 on SD Card");
certInvocation.setResponseRequired( false );
certInvocation.setID( BlackBerryContentHandler.ID_MEDIA_CONTENT_HANDLER );
certInvocation.setAction( ContentHandler.ACTION_OPEN );
certInvocation.setType( "application/x-pkcs12" );
Registry registry = Registry.getRegistry( Application.class.getName() );
try {
registry.invoke( certInvocation );
}
catch (Throwable t) {}
内容来源于网络,如有侵权,请联系作者删除!