public class HessianService extends java.lang.Object implements ServerService, SelfManaging
Constructor and Description |
---|
HessianService() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
appName(AppInfo app,
BeanContext beanContext) |
void |
deploy(AssemblerAfterApplicationCreated event) |
java.lang.String |
getAuthMethod() |
java.lang.String |
getIP() |
java.lang.String |
getName() |
int |
getPort() |
java.lang.String |
getRealmName() |
HessianRegistry |
getRegistry() |
java.lang.String |
getTransportGuarantee() |
java.lang.String |
getVirtualHost() |
void |
init(java.util.Properties props) |
boolean |
isDebug() |
boolean |
isDisabled() |
boolean |
isSendCollectionType() |
void |
newEjbToDeploy(NewEjbAvailableAfterApplicationCreated event) |
void |
service(java.io.InputStream in,
java.io.OutputStream out) |
void |
service(java.net.Socket socket) |
void |
setAuthMethod(java.lang.String authMethod) |
void |
setDebug(boolean debug) |
void |
setDisabled(boolean disabled) |
void |
setRealmName(java.lang.String realmName) |
void |
setSendCollectionType(boolean sendCollectionType) |
void |
setTransportGuarantee(java.lang.String transportGuarantee) |
void |
setVirtualHost(java.lang.String virtualHost) |
void |
start() |
void |
stop() |
void |
undeploy(AssemblerBeforeApplicationDestroyed event) |
public void start() throws ServiceException
start
in interface ServerService
ServiceException
public HessianRegistry getRegistry()
public void stop() throws ServiceException
stop
in interface ServerService
ServiceException
public void service(java.io.InputStream in, java.io.OutputStream out) throws ServiceException, java.io.IOException
service
in interface ServerService
ServiceException
java.io.IOException
public void service(java.net.Socket socket) throws ServiceException, java.io.IOException
service
in interface ServerService
ServiceException
java.io.IOException
public void newEjbToDeploy(@Observes NewEjbAvailableAfterApplicationCreated event)
public void deploy(@Observes AssemblerAfterApplicationCreated event)
public void undeploy(@Observes AssemblerBeforeApplicationDestroyed event)
public static java.lang.String appName(AppInfo app, BeanContext beanContext)
public java.lang.String getName()
getName
in interface ServerService
public java.lang.String getIP()
getIP
in interface ServerService
public int getPort()
getPort
in interface ServerService
public boolean isDisabled()
public void setDisabled(boolean disabled)
public boolean isDebug()
public void setDebug(boolean debug)
public boolean isSendCollectionType()
public void setSendCollectionType(boolean sendCollectionType)
public java.lang.String getRealmName()
public void setRealmName(java.lang.String realmName)
public java.lang.String getVirtualHost()
public void setVirtualHost(java.lang.String virtualHost)
public java.lang.String getTransportGuarantee()
public void setTransportGuarantee(java.lang.String transportGuarantee)
public java.lang.String getAuthMethod()
public void setAuthMethod(java.lang.String authMethod)