|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.shrinkwrap.descriptor.impl.jboss51.ProducerTypeImpl<T>
public class ProducerTypeImpl<T>
This class implements the producerType
xsd type
Original Documentation:
The producer element holds all of the information specific about a
producer interface for a consumer bean Used in: consumer
Constructor Summary | |
---|---|
ProducerTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node)
|
|
ProducerTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node,
org.jboss.shrinkwrap.descriptor.spi.Node childNode)
|
Method Summary | |
---|---|
java.lang.String |
getClazz()
Returns the class element |
java.lang.String |
getConnectionFactory()
Returns the connection-factory element |
ProducerType<T> |
removeClazz()
Removes the class element |
ProducerType<T> |
removeConnectionFactory()
Removes the connection-factory element |
ProducerType<T> |
setClazz(java.lang.String clazz)
If not already created, a new class element with the given value will be created. |
ProducerType<T> |
setConnectionFactory(java.lang.String connectionFactory)
If not already created, a new connection-factory element with the given value will be created. |
T |
up()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProducerTypeImpl(T t, java.lang.String nodeName, org.jboss.shrinkwrap.descriptor.spi.Node node)
public ProducerTypeImpl(T t, java.lang.String nodeName, org.jboss.shrinkwrap.descriptor.spi.Node node, org.jboss.shrinkwrap.descriptor.spi.Node childNode)
Method Detail |
---|
public T up()
up
in interface org.jboss.shrinkwrap.descriptor.api.Child<T>
public ProducerType<T> setClazz(java.lang.String clazz)
class
element with the given value will be created.
Otherwise, the existing class
element will be updated with the given value.
setClazz
in interface ProducerType<T>
ProducerType
public ProducerType<T> removeClazz()
class
element
removeClazz
in interface ProducerType<T>
ProducerType
public java.lang.String getClazz()
class
element
getClazz
in interface ProducerType<T>
class
public ProducerType<T> setConnectionFactory(java.lang.String connectionFactory)
connection-factory
element with the given value will be created.
Otherwise, the existing connection-factory
element will be updated with the given value.
setConnectionFactory
in interface ProducerType<T>
ProducerType
public ProducerType<T> removeConnectionFactory()
connection-factory
element
removeConnectionFactory
in interface ProducerType<T>
ProducerType
public java.lang.String getConnectionFactory()
connection-factory
element
getConnectionFactory
in interface ProducerType<T>
connection-factory
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |