org.glassfish.kernel.embedded
Class EmbeddedAdminCtrImpl

java.lang.Object
  extended by org.glassfish.kernel.embedded.EmbeddedAdminCtrImpl
All Implemented Interfaces:
EmbeddedAdminContainer, EmbeddedContainer

@Service
public class EmbeddedAdminCtrImpl
extends Object
implements EmbeddedAdminContainer

Implementation of the embedded command execution

Author:
Jerome Dochez

Constructor Summary
EmbeddedAdminCtrImpl()
           
 
Method Summary
 void bind(Port port)
           
 void bind(Port port, String protocol)
           
 CommandExecution execute(String commandName, CommandParameters params)
           
 List<Sniffer> getSniffers()
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmbeddedAdminCtrImpl

public EmbeddedAdminCtrImpl()
Method Detail

getSniffers

public List<Sniffer> getSniffers()
Specified by:
getSniffers in interface EmbeddedContainer

bind

public void bind(Port port,
                 String protocol)
Specified by:
bind in interface EmbeddedContainer

start

public void start()
           throws LifecycleException
Specified by:
start in interface EmbeddedContainer
Throws:
LifecycleException

stop

public void stop()
          throws LifecycleException
Specified by:
stop in interface EmbeddedContainer
Throws:
LifecycleException

execute

public CommandExecution execute(String commandName,
                                CommandParameters params)
Specified by:
execute in interface EmbeddedAdminContainer

bind

public void bind(Port port)
Specified by:
bind in interface EmbeddedAdminContainer


Copyright © 2012. All Rights Reserved.