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

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.CreateInstanceMenuItem
All Implemented Interfaces:
MenuItem, PacketFieldFactory

public class CreateInstanceMenuItem
extends MenuItemPacketField
implements 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
CreateInstanceMenuItem()
           
 
Method Summary
 PacketField create(ByteBuffer buffer)
           
 Object execute(ControlContext context)
           
protected  Collection getChildBuffers()
           
 String getClassName()
           
 Long getInstanceId()
           
 void setClassName(String className)
           
 void setInstanceId(Long instanceId)
           
 
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

CreateInstanceMenuItem

public CreateInstanceMenuItem()
Method Detail

getClassName

public String getClassName()

setClassName

public void setClassName(String className)

getInstanceId

public Long getInstanceId()

setInstanceId

public void setInstanceId(Long instanceId)

getChildBuffers

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

create

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

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.