org.hornetq.jms.persistence.config
Class PersistedJNDI
java.lang.Object
org.hornetq.jms.persistence.config.PersistedJNDI
- All Implemented Interfaces:
- org.hornetq.core.journal.EncodingSupport
public class PersistedJNDI
- extends Object
- implements org.hornetq.core.journal.EncodingSupport
A PersistedJNDI
- Author:
- Clebert Suconic
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PersistedJNDI
public PersistedJNDI()
PersistedJNDI
public PersistedJNDI(PersistedType type,
String name)
- Parameters:
type
- name
-
decode
public void decode(HornetQBuffer buffer)
- Specified by:
decode
in interface org.hornetq.core.journal.EncodingSupport
encode
public void encode(HornetQBuffer buffer)
- Specified by:
encode
in interface org.hornetq.core.journal.EncodingSupport
getEncodeSize
public int getEncodeSize()
- Specified by:
getEncodeSize
in interface org.hornetq.core.journal.EncodingSupport
getId
public long getId()
- Returns:
- the id
setId
public void setId(long id)
- Parameters:
id
- the id to set
getType
public PersistedType getType()
- Returns:
- the type
getName
public String getName()
- Returns:
- the name
getJndi
public List<String> getJndi()
- Returns:
- the jndi
addJNDI
public void addJNDI(String address)
deleteJNDI
public void deleteJNDI(String address)
Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.