本文整理了Java中org.apache.tomcat.util.modeler.Registry.addManagedBean
方法的一些代码示例,展示了Registry.addManagedBean
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Registry.addManagedBean
方法的具体详情如下:
包路径:org.apache.tomcat.util.modeler.Registry
类名称:Registry
方法名:addManagedBean
[英]Add a new bean metadata to the set of beans known to this registry. This is used by internal components.
[中]将新的bean元数据添加到此注册表已知的bean集。这是由内部组件使用的。
代码示例来源:origin: jboss.web/jbossweb
/** Experimental. Will become private, some code may still use it
*
* @param sourceType
* @param source
* @param param
* @throws Exception
* @deprecated
*/
public void loadDescriptors( String sourceType, Object source, String param)
throws Exception
{
List mbeans=load( sourceType, source, param );
if( mbeans == null) return;
Iterator itr=mbeans.iterator();
while( itr.hasNext() ) {
Object mb=itr.next();
if( mb instanceof ManagedBean) {
addManagedBean((ManagedBean)mb);
}
}
}
代码示例来源:origin: org.jboss.web/jbossweb
/** Experimental. Will become private, some code may still use it
*
* @param sourceType
* @param source
* @param param
* @throws Exception
* @deprecated
*/
public void loadDescriptors( String sourceType, Object source, String param)
throws Exception
{
List mbeans=load( sourceType, source, param );
if( mbeans == null) return;
Iterator itr=mbeans.iterator();
while( itr.hasNext() ) {
Object mb=itr.next();
if( mb instanceof ManagedBean) {
addManagedBean((ManagedBean)mb);
}
}
}
代码示例来源:origin: org.apache.coyote.springsource/com.springsource.org.apache.coyote.springsource
/** Experimental. Will become private, some code may still use it
*
* @param sourceType
* @param source
* @param param
* @throws Exception
* @deprecated
*/
public void loadDescriptors( String sourceType, Object source, String param)
throws Exception
{
List mbeans=load( sourceType, source, param );
if( mbeans == null) return;
Iterator itr=mbeans.iterator();
while( itr.hasNext() ) {
Object mb=itr.next();
if( mb instanceof ManagedBean) {
addManagedBean((ManagedBean)mb);
}
}
}
代码示例来源:origin: org.apache.geronimo.ext.tomcat/util
registry.addManagedBean(beans[i]);
代码示例来源:origin: com.ovea.tajin.server/tajin-server-tomcat7
registry.addManagedBean(beans[i]);
代码示例来源:origin: org.apache.coyote/com.springsource.org.apache.coyote
registry.addManagedBean(beans[i]);
代码示例来源:origin: org.apache.geronimo.ext.tomcat/util
public void execute() throws Exception {
if( registry==null ) registry=Registry.getRegistry(null, null);
try {
ManagedBean managed = createManagedBean(registry, null,
(Class<?>)source, type);
if( managed==null ) return;
managed.setName( type );
registry.addManagedBean(managed);
} catch( Exception ex ) {
log.error( "Error reading descriptors ", ex);
}
}
代码示例来源:origin: com.ovea.tajin.server/tajin-server-tomcat7
public void execute() throws Exception {
if( registry==null ) registry=Registry.getRegistry(null, null);
try {
ManagedBean managed = createManagedBean(registry, null,
(Class<?>)source, type);
if( managed==null ) return;
managed.setName( type );
registry.addManagedBean(managed);
} catch( Exception ex ) {
log.error( "Error reading descriptors ", ex);
}
}
代码示例来源:origin: org.apache.coyote/com.springsource.org.apache.coyote
public void execute() throws Exception {
if( registry==null ) registry=Registry.getRegistry(null, null);
try {
ManagedBean managed = createManagedBean(registry, null,
(Class<?>)source, type);
if( managed==null ) return;
managed.setName( type );
registry.addManagedBean(managed);
} catch( Exception ex ) {
log.error( "Error reading descriptors ", ex);
}
}
代码示例来源:origin: org.ops4j.pax.tipi/org.ops4j.pax.tipi.tomcat-embed-core
public void execute() throws Exception {
if( registry==null ) registry=Registry.getRegistry(null, null);
try {
ManagedBean managed = createManagedBean(registry, null,
(Class<?>)source, type);
if( managed==null ) return;
managed.setName( type );
registry.addManagedBean(managed);
} catch( Exception ex ) {
log.error( "Error reading descriptors ", ex);
}
}
代码示例来源:origin: com.ovea.tajin.server/tajin-server-tomcat7
registry.addManagedBean(iter.next());
代码示例来源:origin: codefollower/Tomcat-Research
public void execute() throws Exception {
if( registry==null ) registry=Registry.getRegistry(null, null);
try {
ManagedBean managed = createManagedBean(registry, null,
(Class<?>)source, type);
if( managed==null ) return;
managed.setName( type );
registry.addManagedBean(managed);
} catch( Exception ex ) {
log.error( "Error reading descriptors ", ex);
}
}
代码示例来源:origin: codefollower/Tomcat-Research
registry.addManagedBean(iter.next());
代码示例来源:origin: org.apache.geronimo.ext.tomcat/util
registry.addManagedBean(iter.next());
代码示例来源:origin: org.apache.coyote/com.springsource.org.apache.coyote
registry.addManagedBean(iter.next());
代码示例来源:origin: org.ops4j.pax.tipi/org.ops4j.pax.tipi.tomcat-embed-core
registry.addManagedBean(loadedMbean);
代码示例来源:origin: codefollower/Tomcat-Research
addManagedBean(managed);
代码示例来源:origin: org.apache.geronimo.ext.tomcat/util
addManagedBean(managed);
代码示例来源:origin: org.apache.coyote/com.springsource.org.apache.coyote
addManagedBean(managed);
代码示例来源:origin: com.ovea.tajin.server/tajin-server-tomcat7
addManagedBean(managed);
内容来源于网络,如有侵权,请联系作者删除!