|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecttle.framework.component.impl.ComponentBase
Component ÀÎÅÍÆäÀ̽º¸¦ ±¸ÇöÇÒ Å¬·¡½º°¡ º£À̽º Ŭ·¡½º·Î »ç¿ëÇÒ ¼ö ÀÖ´Â Ãß»ó Ŭ·¡½º. ¶óÀÌÇÁ »çÀÌŬ°ú °ü·ÃµÈ ¸Þ¼Òµå È£Ãâ½Ã ÄÄÆ÷³ÍÆ®ÀÇ »óÅ ÀüÀ̸¦ ó¸®ÇØÁØ´Ù.
| Field Summary | |
protected ComponentState |
componentState
|
protected ComponentConfig |
config
|
| Constructor Summary | |
ComponentBase()
ÄÄÆ÷³ÍÆ®ÀÇ »óŸ¦ "NOT_CREATED" »óÅ¿¡¼ "CREATED"·Î º¯°æÇÑ´Ù. |
|
| Method Summary | |
void |
close()
resuming() ¸Þ¼Òµå¸¦ È£ÃâÇÏ¿© ÀϽÃÁ¤ÁöµÈ ÄÄÆ÷³ÍÆ®¸¦ À籸µ¿ÇÑ´Ù. |
protected void |
closing()
±¸µ¿ÁßÀÎ ÄÄÆ÷³ÍÆ®¸¦ Á¾·áÇÑ´Ù. |
java.lang.String |
getDescription()
init()¿¡¼ Àü´Þ¹ÞÀº ComponentConfigÀÇ getDescription() ¸Þ¼ÒµåÀÇ °á°ú °ªÀ» ¸®ÅÏÇÑ´Ù. |
java.lang.String |
getID()
initing() ¸Þ¼Òµå·Î Àü´Þ¹ÞÀº ComponentConfig.getID() ¸Þ¼ÒµåÀÇ °ªÀ» ¸®ÅÏÇÑ´Ù. |
java.lang.String |
getState()
|
void |
init(ComponentConfig config)
initing() ¸Þ¼Òµå¸¦ È£ÃâÇÏ¿© ÄÄÆ÷³ÍÆ®¸¦ ÃʱâÈÇÑ´Ù. |
protected void |
initing(ComponentConfig config)
ÄÄÆ÷³ÍÆ®¸¦ ÃʱâÈÇÑ´Ù. |
boolean |
isClosed()
ÄÄÆ÷³ÍÆ®°¡ Á¾·áµÊ »óÅÂÀÎ °æ¿ì true¸¦ ¸®ÅÏÇÑ´Ù. |
boolean |
isClosing()
ÄÄÆ÷³ÍÆ®°¡ Á¾·áÁß »óÅÂÀÎ °æ¿ì true¸¦ ¸®ÅÏÇÑ´Ù. |
boolean |
isCreated()
ÄÄÆ÷³ÍÆ®°¡ »ý¼ºµÈ »óÅÂÀÎ °æ¿ì true¸¦ ¸®ÅÏÇÑ´Ù. |
boolean |
isErrorOccured()
ÄÄÆ÷³ÍÆ®°¡ ¿¡·¯Ã³¸®Áß »óÅÂÀÎ °æ¿ì true¸¦ ¸®ÅÏÇÑ´Ù. |
boolean |
isInited()
ÄÄÆ÷³ÍÆ®°¡ ÃʱâÈµÊ »óÅÂÀÎ °æ¿ì true¸¦ ¸®ÅÏÇÑ´Ù. |
boolean |
isIniting()
ÄÄÆ÷³ÍÆ®°¡ ÃʱâÈÁß »óÅÂÀÎ °æ¿ì true¸¦ ¸®ÅÏÇÑ´Ù. |
boolean |
isResuming()
ÄÄÆ÷³ÍÆ®°¡ Àç°èÁßÀÎ »óÅÂÀÎ °æ¿ì true¸¦ ¸®ÅÏÇÑ´Ù. |
boolean |
isRunning()
ÄÄÆ÷³ÍÆ®°¡ ½ÇÇàÁßÀÎ »óÅÂÀÎ °æ¿ì true¸¦ ¸®ÅÏÇÑ´Ù. |
boolean |
isStarting()
ÄÄÆ÷³ÍÆ®°¡ ½ÃÀÛÁßÀÎ »óÅÂÀÎ °æ¿ì true¸¦ ¸®ÅÏÇÑ´Ù. |
boolean |
isStopped()
ÄÄÆ÷³ÍÆ®°¡ Á¤ÁöµÊ »óÅÂÀÎ °æ¿ì true¸¦ ¸®ÅÏÇÑ´Ù. |
boolean |
isStopping()
ÄÄÆ÷³ÍÆ®°¡ Á¤ÁöÁß »óÅÂÀÎ °æ¿ì true¸¦ ¸®ÅÏÇÑ´Ù. |
boolean |
isSuspended()
ÄÄÆ÷³ÍÆ®°¡ Áö¿¬µÈ »óÅÂÀÎ °æ¿ì true¸¦ ¸®ÅÏÇÑ´Ù. |
boolean |
isSuspending()
ÄÄÆ÷³ÍÆ®°¡ Áö¿¬ÁßÀÎ »óÅÂÀÎ °æ¿ì true¸¦ ¸®ÅÏÇÑ´Ù. |
void |
resume()
resuming() ¸Þ¼Òµå¸¦ È£ÃâÇÏ¿© ÀϽÃÁ¤ÁöµÈ ÄÄÆ÷³ÍÆ®¸¦ À籸µ¿ÇÑ´Ù. |
protected void |
resuming()
ÀϽà Á¤ÁöµÈ ÄÄÆ÷³ÍÆ®¸¦ ´Ù½Ã ±¸µ¿ÇÑ´Ù. |
void |
start()
starting() ¸Þ¼Òµå¸¦ È£ÃâÇÏ¿© ÄÄÆ÷³ÍÆ®¸¦ ±¸µ¿ÇÑ´Ù. |
protected void |
starting()
ÄÄÆ÷³ÍÆ®¸¦ ±¸µ¿ÇÑ´Ù. |
void |
stop()
resuming() ¸Þ¼Òµå¸¦ È£ÃâÇÏ¿© ÀϽÃÁ¤ÁöµÈ ÄÄÆ÷³ÍÆ®¸¦ À籸µ¿ÇÑ´Ù. |
protected void |
stopping()
±¸µ¿ÁßÀÎ ÄÄÆ÷³ÍÆ®¸¦ Á¤ÁöÇÑ´Ù. |
void |
suspend()
suspending() ¸Þ¼Òµå¸¦ È£ÃâÇÏ¿© ÄÄÆ÷³ÍÆ®¸¦ ÀϽà Á¤ÁöÇÑ´Ù. |
protected void |
suspending()
ÄÄÆ÷³ÍÆ®¸¦ ÀϽà Á¤ÁöÇÑ´Ù. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected ComponentState componentState
protected ComponentConfig config
| Constructor Detail |
public ComponentBase()
| Method Detail |
public java.lang.String getID()
getID in interface ComponentComponent.getID()
protected void initing(ComponentConfig config)
throws ComponentException
ÇÏÀ§ Ŭ·¡½º¸¦ ÀÌ ¸Þ¼Òµå¸¦ ¿À¹ö¶óÀ̵ùÇÏ¿© ÄÄÆ÷³ÍÆ® Ãʱâȸ¦ ¼öÇàÇÑ´Ù.
config - ÄÄÆ÷³ÍÆ® ÃʱâÈ ¼³Á¤ Á¤º¸¸¦ ´ã°í ÀÖ´Â °´Ã¼
ComponentException
public final void init(ComponentConfig config)
throws ComponentException
ó¸® ¼ø¼´Â ["INITING" »óÅ ÀüÀÌ -> initing() È£Ãâ -> "INITED" »óÅ ÀüÀÌ] ÀÌ´Ù. protected ÇʵåÀÎ config¿¡ ÀÎÀÚ·Î Àü´Þ¹ÞÀº config¸¦ ÇÒ´çÇÑ´Ù.
init in interface Componentconfig - ÄÄÆ÷³ÍÆ®ÀÇ ¼³Á¤ Á¤º¸¸¦ ´ã°í ÀÖ´Ù.
ComponentExceptiontle.framework.component.Component#init()
protected void starting()
throws ComponentException
ÇÏÀ§ Ŭ·¡½º¸¦ ÀÌ ¸Þ¼Òµå¸¦ ¿À¹ö¶óÀ̵ùÇÏ¿© ÄÄÆ÷³ÍÆ® ±¸µ¿ ÀÛ¾÷À» ¼öÇàÇÑ´Ù. ÀÌ ¸Þ¼Òµå¸¦ ±¸ÇöÇÒ ¶§ ÁÖÀÇÇÒ Á¡Àº starting() ¸Þ¼Òµå°¡ ºü¸¥ ½Ã°£¾È¿¡ ¸®ÅÏÇØ¾ß ÇÑ´Ù´Â Á¡ÀÌ´Ù. ¸¸¾à ÄÄÆ÷³ÍÆ®°¡ ¼¹ö¼ÒÄÏ ¸®½º³Ê¿Í °°ÀÌ ·çÇÁ¸¦ ÇÊ¿ä·Î ÇÒ °æ¿ì starting() ¸Þ¼Òµå°¡ ¾Æ´Ñ º°µµÀÇ ¾²·¹µå¿¡¼ ·çÇÁÀÛ¾÷À» ¼öÇàÇØ¾ß ÇÑ´Ù.
ComponentException
public final void start()
throws ComponentException
ó¸® ¼ø¼´Â ["STARTING" »óÅ ÀüÀÌ -> initing() È£Ãâ -> "RUNNING" »óÅ ÀüÀÌ] ÀÌ´Ù.
start in interface ComponentComponentExceptionComponent.start()
protected void suspending()
throws ComponentException
ÇÏÀ§ Ŭ·¡½º¸¦ ÀÌ ¸Þ¼Òµå¸¦ ¿À¹ö¶óÀ̵ùÇÏ¿© ÄÄÆ÷³ÍÆ®ÀÇ ÀϽà ÀÛ¾÷À» ó¸®ÇÑ´Ù.
ComponentException
public final void suspend()
throws ComponentException
ó¸® ¼ø¼´Â ["SUSPENDING" »óÅ ÀüÀÌ -> suspending() È£Ãâ -> "SUSPENDED" »óÅ ÀüÀÌ] ÀÌ´Ù.
suspend in interface ComponentComponentExceptionComponent.suspend()
protected void resuming()
throws ComponentException
ÇÏÀ§ Ŭ·¡½º¸¦ ÀÌ ¸Þ¼Òµå¸¦ ¿À¹ö¶óÀ̵ùÇÏ¿© ÄÄÆ÷³ÍÆ®ÀÇ À籸µ¿ ÀÛ¾÷À» ¼öÇàÇÑ´Ù.
ComponentException
public final void resume()
throws ComponentException
ó¸® ¼ø¼´Â ["SUSPENDING" »óÅ ÀüÀÌ -> suspending() È£Ãâ -> "SUSPENDED" »óÅ ÀüÀÌ] ÀÌ´Ù.
resume in interface ComponentComponentExceptionComponent.resume()
protected void stopping()
throws ComponentException
ÇÏÀ§ Ŭ·¡½º´Â ÀÌ ¸Þ¼Òµå¸¦ ¿À¹ö¶óÀ̵ùÇÏ¿© ÄÄÆ÷³ÍÆ®ÀÇ Á¤Áö ÀÛ¾÷À» ¼öÇàÇÑ´Ù.
ComponentException
public final void stop()
throws ComponentException
ó¸® ¼ø¼´Â ["STOPPING" »óÅ ÀüÀÌ -> stop() È£Ãâ -> "STOPPED" »óÅ ÀüÀÌ] ÀÌ´Ù.
stop in interface ComponentComponentExceptionComponent.stop()
protected void closing()
throws ComponentException
ÇÏÀ§ Ŭ·¡½º´Â ÀÌ ¸Þ¼Òµå¸¦ ¿À¹ö¶óÀ̵ùÇÏ¿© ÄÄÆ÷³ÍÆ®ÀÇ Á¾·á ÀÛ¾÷À» ¼öÇàÇÑ´Ù.
ComponentException
public final void close()
throws ComponentException
ó¸® ¼ø¼´Â ["CLOSING" »óÅ ÀüÀÌ -> stop() È£Ãâ -> "CLOSED" »óÅ ÀüÀÌ] ÀÌ´Ù.
close in interface ComponentComponentExceptionComponent.close()public java.lang.String getDescription()
ComponentMBean.getDescription()public final java.lang.String getState()
public boolean isCreated()
Component
isCreated in interface Componentpublic boolean isClosed()
Component
isClosed in interface Componentpublic boolean isClosing()
Component
isClosing in interface Componentpublic boolean isErrorOccured()
Component
isErrorOccured in interface Componentpublic boolean isInited()
Component
isInited in interface Componentpublic boolean isIniting()
Component
isIniting in interface Componentpublic boolean isResuming()
Component
isResuming in interface Componentpublic boolean isRunning()
Component
isRunning in interface Componentpublic boolean isStarting()
Component
isStarting in interface Componentpublic boolean isStopped()
Component
isStopped in interface Componentpublic boolean isStopping()
Component
isStopping in interface Componentpublic boolean isSuspended()
Component
isSuspended in interface Componentpublic boolean isSuspending()
Component
isSuspending in interface Component
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||