org.apache.geronimo.network.protocol.control.commands
Class SetReferenceMenuItem

java.lang.Object
  extended byorg.apache.geronimo.network.protocol.PacketField
      extended byorg.apache.geronimo.network.protocol.control.commands.MenuItemPacketField
          extended byorg.apache.geronimo.network.protocol.control.commands.SetReferenceMenuItem
All Implemented Interfaces:
MenuItem, PacketFieldFactory

public class SetReferenceMenuItem
extends MenuItemPacketField
implements MenuItem, PacketFieldFactory

Version:
$Revision: 1.2 $ $Date: 2004/03/10 09:59:14 $

Field Summary
 
Fields inherited from interface org.apache.geronimo.network.protocol.control.commands.MenuItem
ATTRIBUTE, CREATE, REFERENCE, RESERVED
 
Constructor Summary
SetReferenceMenuItem()
           
 
Method Summary
 PacketField create(ByteBuffer buffer)
           
 Object execute(ControlContext context)
           
protected  Collection getChildBuffers()
           
 Long getInstanceId()
           
 Long getReferenceId()
           
 String getReferenceName()
           
 void setInstanceId(Long instanceId)
           
 void setReferenceId(Long referenceId)
           
 void setReferenceName(String referenceName)
           
 
Methods inherited from class org.apache.geronimo.network.protocol.PacketField
getBuffers
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.geronimo.network.protocol.control.commands.MenuItem
getBuffers
 

Constructor Detail

SetReferenceMenuItem

public SetReferenceMenuItem()
Method Detail

getInstanceId

public Long getInstanceId()

setInstanceId

public void setInstanceId(Long instanceId)

getReferenceName

public String getReferenceName()

setReferenceName

public void setReferenceName(String referenceName)

getReferenceId

public Long getReferenceId()

setReferenceId

public void setReferenceId(Long referenceId)

getChildBuffers

protected Collection getChildBuffers()
Specified by:
getChildBuffers in class PacketField

create

public PacketField create(ByteBuffer buffer)
                   throws ProtocolException
Specified by:
create in interface PacketFieldFactory
Throws:
ProtocolException

execute

public Object execute(ControlContext context)
               throws ControlException
Specified by:
execute in interface MenuItem
Throws:
ControlException


Copyright © 2003-2005 Apache Software Foundation. All Rights Reserved.