1 22 package org.jboss.metadata; 23 24 25 import org.jboss.deployment.DeploymentException; 26 import org.w3c.dom.Element ; 27 28 33 public class InvokerProxyBindingMetaData extends MetaData 34 { 35 37 39 private String name; 40 41 private String mbean; 42 45 private String proxyFactory; 46 48 private Element proxyFactoryConfig; 49 50 52 public InvokerProxyBindingMetaData() 54 { 55 } 56 public InvokerProxyBindingMetaData(String name) 57 { 58 this.name = name; 59 } 60 61 63 64 public String getName() 65 { 66 return name; 67 } 68 public void setName(String name) 69 { 70 this.name = name; 71 } 72 73 74 public String getInvokerMBean() 75 { 76 return mbean; 77 } 78 public void setInvokerMBean(String mbean) 79 { 80 this.mbean = mbean; 81 } 82 83 86 public String getProxyFactory() 87 { 88 return proxyFactory; 89 } 90 public void setProxyFactory(String factory) 91 { 92 this.proxyFactory = factory; 93 } 94 95 97 public Element getProxyFactoryConfig() 98 { 99 return proxyFactoryConfig; 100 } 101 102 public void setProxyFactoryConfig(Element child) 103 { 104 this.proxyFactoryConfig = child; 105 } 106 107 112 public void importJbossXml(Element element) throws DeploymentException 113 { 114 mbean = getUniqueChildContent(element, "invoker-mbean"); 115 proxyFactory = getUniqueChildContent(element, "proxy-factory"); 116 proxyFactoryConfig = getUniqueChild(element, "proxy-factory-config"); 117 } 118 } 119 | Popular Tags |