|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object | +--javax.management.NotificationBroadcasterSupport | +--org.apache.catalina.startup.EmbeddedManager
Implementation of the Catalina JMX MBean as a wrapper of the Catalina class.
インタフェース org.apache.catalina.startup.EmbeddedManagerMBean から継承したフィールド |
NAME, OBJECT_NAME, STARTED, STARTING, states, STOPPED, STOPPING |
コンストラクタの概要 | |
EmbeddedManager()
|
メソッドの概要 | |
void |
addConnector(Connector connector)
Add a new Connector to the set of defined Connectors. |
void |
addEngine(Engine engine)
Add a new Engine to the set of defined Engines. |
Connector |
createConnector(java.net.InetAddress address,
int port,
boolean secure)
Create, configure, and return a new TCP/IP socket connector based on the specified properties. |
Context |
createContext(java.lang.String path,
java.lang.String docBase)
Create, configure, and return a Context that will process all HTTP requests received from one of the associated Connectors, and directed to the specified context path on the virtual host to which this Context is connected. |
Engine |
createEngine()
Create, configure, and return an Engine that will process all HTTP requests received from one of the associated Connectors, based on the specified properties. |
Host |
createHost(java.lang.String name,
java.lang.String appBase)
Create, configure, and return a Host that will process all HTTP requests received from one of the associated Connectors, and directed to the specified virtual host. |
void |
destroy()
Destroy servlet container (if any is running). |
int |
getDebug()
Return the debugging detail level for this component. |
java.lang.String |
getInfo()
Return descriptive information about this Server implementation and the corresponding version number, in the format <description>/<version> . |
Logger |
getLogger()
Return the Logger for this component. |
java.lang.String |
getName()
Retruns the Catalina component name. |
Realm |
getRealm()
Return the default Realm for our Containers. |
java.lang.String |
getSocketFactory()
Return the secure socket factory class name. |
int |
getState()
Returns the state. |
java.lang.String |
getStateString()
Returns a String representation of the state. |
boolean |
isUseNaming()
Return true if naming is enabled. |
void |
postDeregister()
|
void |
postRegister(java.lang.Boolean registrationDone)
|
void |
preDeregister()
|
javax.management.ObjectName |
preRegister(javax.management.MBeanServer server,
javax.management.ObjectName name)
|
void |
removeConnector(Connector connector)
Remove the specified Connector from the set of defined Connectors. |
void |
removeContext(Context context)
Remove the specified Context from the set of defined Contexts for its associated Host. |
void |
removeEngine(Engine engine)
Remove the specified Engine from the set of defined Engines, along with all of its related Hosts and Contexts. |
void |
removeHost(Host host)
Remove the specified Host, along with all of its related Contexts, from the set of defined Hosts for its associated Engine. |
void |
setDebug(int debug)
Set the debugging detail level for this component. |
void |
setLogger(Logger logger)
Set the Logger for this component. |
void |
setRealm(Realm realm)
Set the default Realm for our Containers. |
void |
setSocketFactory(java.lang.String socketFactory)
Set the secure socket factory class name. |
void |
setUseNaming(boolean useNaming)
Enables or disables naming support. |
void |
start()
Start the servlet container. |
void |
stop()
Stop the servlet container. |
クラス javax.management.NotificationBroadcasterSupport から継承したメソッド |
addNotificationListener, getNotificationInfo, removeNotificationListener, sendNotification |
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
public EmbeddedManager()
メソッドの詳細 |
public javax.management.ObjectName preRegister(javax.management.MBeanServer server, javax.management.ObjectName name) throws java.lang.Exception
javax.management.MBeanRegistration
内の preRegister
public void postRegister(java.lang.Boolean registrationDone)
javax.management.MBeanRegistration
内の postRegister
public void preDeregister() throws java.lang.Exception
javax.management.MBeanRegistration
内の preDeregister
public void postDeregister()
javax.management.MBeanRegistration
内の postDeregister
public java.lang.String getName()
EmbeddedManagerMBean
内の getName
public int getState()
EmbeddedManagerMBean
内の getState
public java.lang.String getStateString()
EmbeddedManagerMBean
内の getStateString
public void start()
EmbeddedManagerMBean
内の start
org.apache.catalina.startup.EmbeddedManagerMBean
からコピーされたタグ:java.lang.IllegalStateException
- if this component has already been
startedpublic void stop()
EmbeddedManagerMBean
内の stop
org.apache.catalina.startup.EmbeddedManagerMBean
からコピーされたタグ:java.lang.IllegalStateException
- if this component has not been startedpublic void destroy()
EmbeddedManagerMBean
内の destroy
public int getDebug()
EmbeddedManagerMBean
内の getDebug
public void setDebug(int debug)
EmbeddedManagerMBean
内の setDebug
debug
- The new debugging detail levelpublic boolean isUseNaming()
EmbeddedManagerMBean
内の isUseNaming
public void setUseNaming(boolean useNaming)
EmbeddedManagerMBean
内の setUseNaming
useNaming
- The new use naming valuepublic Logger getLogger()
EmbeddedManagerMBean
内の getLogger
public void setLogger(Logger logger)
EmbeddedManagerMBean
内の setLogger
logger
- The new loggerpublic Realm getRealm()
EmbeddedManagerMBean
内の getRealm
public void setRealm(Realm realm)
EmbeddedManagerMBean
内の setRealm
realm
- The new default realmpublic java.lang.String getSocketFactory()
EmbeddedManagerMBean
内の getSocketFactory
public void setSocketFactory(java.lang.String socketFactory)
EmbeddedManagerMBean
内の setSocketFactory
socketFactory
- The new secure socket factory class namepublic void addConnector(Connector connector)
EmbeddedManagerMBean
内の addConnector
connector
- The connector to be addedjava.lang.IllegalStateException
- if no engines have been added yetpublic void addEngine(Engine engine)
EmbeddedManagerMBean
内の addEngine
engine
- The engine to be addedpublic Connector createConnector(java.net.InetAddress address, int port, boolean secure)
EmbeddedManagerMBean
内の createConnector
address
- InetAddress to listen to, or null
to listen on all address on this serverport
- Port number to listen tosecure
- Should this port be SSL-enabled?public Context createContext(java.lang.String path, java.lang.String docBase)
After you have customized the properties, listeners, and Valves for this Context, you must attach it to the corresponding Host by calling:
host.addChild(context);which will also cause the Context to be started if the Host has already been started.
EmbeddedManagerMBean
内の createContext
path
- Context path of this application ("" for the default
application for this host, must start with a slash otherwise)docBase
- Absolute pathname to the document base directory
for this web applicationjava.lang.IllegalArgumentException
- if an invalid parameter
is specifiedpublic Engine createEngine()
EmbeddedManagerMBean
内の createEngine
public Host createHost(java.lang.String name, java.lang.String appBase)
After you have customized the properties, listeners, and Valves for this Host, you must attach it to the corresponding Engine by calling:
engine.addChild(host);which will also cause the Host to be started if the Engine has already been started. If this is the default (or only) Host you will be defining, you may also tell the Engine to pass all requests not assigned to another virtual host to this one:
engine.setDefaultHost(host.getName());
EmbeddedManagerMBean
内の createHost
name
- Canonical name of this virtual hostappBase
- Absolute pathname to the application base directory
for this virtual hostjava.lang.IllegalArgumentException
- if an invalid parameter
is specifiedpublic java.lang.String getInfo()
<description>/<version>
.EmbeddedManagerMBean
内の getInfo
public void removeConnector(Connector connector)
EmbeddedManagerMBean
内の removeConnector
connector
- The Connector to be removedpublic void removeContext(Context context)
EmbeddedManagerMBean
内の removeContext
context
- The Context to be removedpublic void removeEngine(Engine engine)
EmbeddedManagerMBean
内の removeEngine
engine
- The Engine to be removedpublic void removeHost(Host host)
EmbeddedManagerMBean
内の removeHost
host
- The Host to be removed
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |