Posted By:
praveen_jain
Posted On:
Thursday, January 3, 2008 06:30 AM
hi i have followinf code public void getQueues() throws Exception { BrokerViewMBean broker = brokerService.getAdminView(); Vector vtr=new Vector(); ObjectName[] queues =new ObjectName[10]; //if i comment the following line then this class is detected by Findclass // queues=broker.getQueues(); } when i write following code in C cls = (*env)->FindClass(env,"QueueExtension"); printf("cls is ===== %d",cls); i Got the some values in cls but if i activate queues=broker.getQueues(); in java code then i got 0 in cls
More>>
hi
i have followinf code
public void getQueues() throws Exception {
BrokerViewMBean broker = brokerService.getAdminView();
Vector vtr=new Vector();
ObjectName[] queues =new ObjectName[10];
//if i comment the following line then this class is detected by Findclass
// queues=broker.getQueues();
}
when i write following code in C
cls = (*env)->FindClass(env,"QueueExtension");
printf("cls is ===== %d",cls);
i Got the some values in cls
but if i activate
queues=broker.getQueues();
in java code then i got
0 in cls
why so ?
pls help
Praveen
<<Less