public class HTTPAcceptor extends com.streamscape.sef.network.mf.admin.AbstractAcceptor implements Acceptor
Title: Service Event Fabric Core
Description: Implements the Acceptor
interface defining HTTP acceptor.
Copyright: Copyright (c) 2010
Company: StreamScape Technologies
DEFAULT_SERIAL_VERSION_ID
Constructor and Description |
---|
HTTPAcceptor() |
HTTPAcceptor(java.lang.String acceptorName) |
HTTPAcceptor(java.lang.String acceptorName,
boolean isAdmin) |
Modifier and Type | Method and Description |
---|---|
boolean |
abortOnFailure()
Checks if the current node should be aborted in case of a failure during initialization or start-up of the acceptor.
|
boolean |
anonymousRegistration()
Checks if the acceptor enables an anonymous registration of new users.
|
boolean |
autoStart()
Checks if the acceptor should be automatically started by
AcceptorManager . |
void |
destroy()
Destroys the object.
|
boolean |
enableSSL()
Checks if the SSL is enabled for the acceptor.
|
HTTPAcceptorConfiguration |
getConfiguration() |
java.lang.String |
getDescription()
Returns a description of the acceptor.
|
java.lang.String |
getHtmlDir() |
HTTPAcceptorFactory |
getHTTPAcceptorFactory() |
java.lang.String |
getHttpDir() |
java.lang.String |
getName()
Returns a name of the acceptor.
|
LinkProtocol |
getProtocol()
Returns a protocol of the acceptor.
|
java.lang.String |
getURL()
Returns a URL of the acceptor.
|
java.lang.String |
getWebApplicationDir() |
java.lang.String |
getWebArchiveDir() |
java.lang.String |
getWorkingDir() |
void |
init(RuntimeContext context)
Initializes the object.
|
boolean |
isAdmin() |
boolean |
isNewlyCreated() |
void |
setAbortOnFailure(boolean abortOnFailure)
Sets a parameter specifying if the current node should be aborted in case of a failure during initialization or start-up of the acceptor.
|
void |
setAnonymousRegistration(boolean anonymousRegistration)
Sets a parameter specifying if the acceptor enables an anonymous registration of new users.
|
void |
setAutoStart(boolean autoStart)
Sets a parameter specifying if the acceptor should be automatically started by
AcceptorManager . |
void |
setDescription(java.lang.String description)
Sets the specified description of the acceptor.
|
getAddress, getError, isStarted, isValid, reset, setEnableSSL, setURL, start, stop
clone, getSerialVersionUID
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAddress, getError, isStarted, isValid, reset, setEnableSSL, setURL, start, stop
getSerialVersionUID
clone
public HTTPAcceptor()
public HTTPAcceptor(java.lang.String acceptorName)
public HTTPAcceptor(java.lang.String acceptorName, boolean isAdmin)
public void init(RuntimeContext context) throws java.lang.Exception
ConfigurationObject
init
in interface ConfigurationObject
init
in class com.streamscape.sef.network.mf.admin.AbstractAcceptor
FabricException
- if some error occurs.java.lang.Exception
public LinkProtocol getProtocol()
Acceptor
getProtocol
in interface Acceptor
public java.lang.String getName()
Acceptor
getName
in interface NamedObject
getName
in interface Acceptor
getName
in class com.streamscape.sef.dispatcher.AcceptorHelper
public java.lang.String getDescription()
Acceptor
getDescription
in interface Acceptor
public void setDescription(java.lang.String description)
Acceptor
setDescription
in interface Acceptor
description
- the description to be set.public java.lang.String getURL()
Acceptor
public boolean autoStart()
Acceptor
AcceptorManager
.public void setAutoStart(boolean autoStart)
Acceptor
AcceptorManager
.setAutoStart
in interface Acceptor
autoStart
- the parameter to be set.public boolean abortOnFailure()
Acceptor
abortOnFailure
in interface Acceptor
abortOnFailure
in interface ConfigurationObject
true if the current node should be aborted on the acceptor's failure, false
otherwise.
public void setAbortOnFailure(boolean abortOnFailure)
Acceptor
setAbortOnFailure
in interface Acceptor
abortOnFailure
- the parameter to be set.public boolean anonymousRegistration()
Acceptor
anonymousRegistration
in interface Acceptor
true if the acceptor enables an anonymous registration, false
otherwise.
public void setAnonymousRegistration(boolean anonymousRegistration)
Acceptor
setAnonymousRegistration
in interface Acceptor
anonymousRegistration
- true
if the acceptor enables an anonymous registration, false
otherwise.public boolean enableSSL()
Acceptor
public HTTPAcceptorFactory getHTTPAcceptorFactory()
public HTTPAcceptorConfiguration getConfiguration()
public void destroy()
ConfigurationObject
destroy
in interface ConfigurationObject
destroy
in class com.streamscape.sef.network.mf.admin.AbstractAcceptor
public boolean isNewlyCreated()
public boolean isAdmin()
public java.lang.String getHttpDir()
public java.lang.String getWorkingDir()
public java.lang.String getWebArchiveDir()
public java.lang.String getWebApplicationDir()
public java.lang.String getHtmlDir()
Copyright © 2015-2024 StreamScape Technologies. All rights reserved.