org.hornetq.jms.persistence.config
Class PersistedJNDI

java.lang.Object
  extended by 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

Constructor Summary
PersistedJNDI()
           
PersistedJNDI(PersistedType type, String name)
           
 
Method Summary
 void addJNDI(String address)
           
 void decode(HornetQBuffer buffer)
           
 void deleteJNDI(String address)
           
 void encode(HornetQBuffer buffer)
           
 int getEncodeSize()
           
 long getId()
           
 List<String> getJndi()
           
 String getName()
           
 PersistedType getType()
           
 void setId(long id)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PersistedJNDI

public PersistedJNDI()

PersistedJNDI

public PersistedJNDI(PersistedType type,
                     String name)
Parameters:
type -
name -
Method Detail

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.