/* */ private boolean hasJBossInternalLifecycle;
/* */
/* */ public static Service getServiceProxy(ObjectName objectName, MBeanServer server)
/* */ throws Exception
/* */ {
/* 92 */ Service service = null;
/* 93 */ MBeanInfo info = server.getMBeanInfo(objectName);
/* 94 */ MBeanOperationInfo[] opInfo = info.getOperations();
/* 95 */ Class[] interfaces = { Service.class };
/* 96 */ InvocationHandler handler = new ServiceProxy(objectName, server, opInfo);
/* 97 */ service = (Service)Proxy.newProxyInstance(Service.class.getClassLoader(), interfaces, handler);