List Info

Thread: svn commit: r585908 - /ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/Javah.java




svn commit: r585908 - /ant/core/trunk/src/main/org/apache/tool s/ant/taskdefs/optional/Javah.java
country flaguser name
United States
2007-10-18 04:13:43
Author: peterreilly
Date: Thu Oct 18 02:13:41 2007
New Revision: 585908

URL: 
http://svn.apache.org/viewvc?rev=585908&view=rev
Log:
checkstyle

Modified:
   
ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/option
al/Javah.java

Modified:
ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/option
al/Javah.java
URL: http://svn.apache
.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/tas
kdefs/optional/Javah.java?rev=585908&r1=585907&r2=58
5908&view=diff
============================================================
==================
---
ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/option
al/Javah.java (original)
+++
ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/option
al/Javah.java Thu Oct 18 02:13:41 2007
 -167,7
+167,7 
                 for (int i = 0; i <
includedClasses.length; i++) {
                     String className =
                         includedClasses[i].replace('\',
'.').replace('/', '.')
-                       
.substring(0,includedClasses[i].length() - 6);
+                        .substring(0,
includedClasses[i].length() - 6);
                     al.add(className);
                 }
             }



------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribeant.apache.org
For additional commands, e-mail: dev-helpant.apache.org


- Re: Multithreading in Jboss 4.0.1
country flaguser name
United States
2007-10-18 01:39:27
Hi!

The most correct way to do this is to write your own
MBean/Service. AFAIK threads are not allowed inside an EJB
(some application servers will allow threads in the EJB). So
writing your own MBean that will take care of multithreading
might solve your problem.

Creating MBeans is about adding a new service entry in you
jboss-app.xml that will point out a your-service.xml file.

You MBean javacode must implement an interface s.a.
YourServiceMBean (Notice the pattern interface name ends
with MBean, the implementation does not);
mbean interface: YourServiceMBean
mbean impleementation: YourService

You are looking up MBeans in the same way as you do with an
EJB with the 
iniCtx.lookup(...)

The MBean has some life cycle methods that you might want to
use:
start(), stop(), ... Start is called when the service is
deployed. Check the JBoss application server documentation
for more details.


Hope this can help you.
Cheers
/Oskar


View the original post : http://www.jboss.com/index.html?
module=bb&op=viewtopic&p=4096383#4096383

Reply to the post : http://www.jboss.com/index.
html?module=bb&op=posting&mode=reply&p=4096383
_______________________________________________
jboss-user mailing list
jboss-userlists.jboss.org
h
ttps://lists.jboss.org/mailman/listinfo/jboss-user

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )