From: <php...@li...> - 2012-12-26 15:58:26
|
Never mind. Just use a PHP array. Evidently it is translated by the PJB into the corresponding Java type. From: Peterson, Stephen Sent: Wednesday, December 19, 2012 1:45 PM To: php...@li... Subject: creating java array of objects or strings in php file Tried using this list before. Got nothing back. Trying again on a new problem. I am trying to create this Java code in a PHP file with the bridge: new Object[] { "weblogic.management.security.authentication.UserEditorMBean" } I tried as new java("java.util.Arrays","com.bea:Name=MBeanTypeService,Type=weblogic.management.security.authentication.UserEditorMBean") And new java("javax.management.ObjectName[]","com.bea:Name=MBeanTypeService,Type=weblogic.management.security.authentication.UserEditorMBean") The java compiler doesn't like anything I have tried. Can't find a example to learn from. Nothing in API. Anyone out there to help? |