|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttle.framework.component.impl.ComponentBase
tle.framework.component.impl.rp.DefaultRequestProcessor
RequestProcessorÀÇ ±âº» ±¸Çöü.
TLEFrameworkÀÇ Ãʱ⠼³Á¤ ÆÄÀÏÀÇ "configFile" ÃʱâÈ ÆÄ¶ó¹ÌÅÍ·Î ¸í½ÃÇÑ ÆÄÀϷκÎÅÍ Ãʱ⠼³Á¤ Á¤º¸¸¦ Àоî¿Â´Ù. ¸¸¾à "configFile" ÃʱâÈ ÇÁ·ÎÆÛƼ¸¦ ¸í½ÃÇÏÁö ¾Ê¾ÒÀ» °æ¿ì¿¡´Â »ç¿ëÀÚ È¨ µð·ºÅ丮ÀÇ "DefaultRequestProcessor.xml" ÆÄÀÏÀ» »ç¿ëÇÑ´Ù.
Field Summary |
Fields inherited from class tle.framework.component.impl.ComponentBase |
componentState, config |
Constructor Summary | |
DefaultRequestProcessor()
|
Method Summary | |
java.lang.String |
getConfigFilePath()
¼³Á¤ ÆÄÀÏÀÇ °æ·Î¸¦ ¸®ÅÏÇÑ´Ù. |
java.lang.String[] |
getHandlerIndependentClassPath()
µ¶¸³ÀûÀΠŬ·¡½º ÆÐ½º¸¦ »ç¿ëÇØ¼ Çڵ鷯 Ŭ·¡½º¸¦ Àоî¿Ã °æ¿ì »ç¿ëÇϴ Ŭ·¡½º ÆÐ½º¸¦ ¸®ÅÏÇÑ´Ù. |
protected void |
initing(ComponentConfig config)
¼³Á¤ ÆÄÀϷκÎÅÍ Á¤º¸¸¦ Àоî¿Í CommandHandlerFactory¸¦ »ý¼ºÇÑ´Ù. |
boolean |
isUsingHandlerIndependentClassPath()
Ŭ¶óÀ̾ðÆ®ÀÇ ¿äûÀ» ó¸®ÇÏ´Â Çڵ鷯 Ŭ·¡½º°¡ µ¶¸³ÀûÀΠŬ·¡½º ÆÐ½º¿¡ Á¸ÀçÇÒ °æ¿ì true¸¦ ¸®ÅÏÇÑ´Ù. |
Result |
process(RequestInfo ri)
¸í·É¾î¸¦ ó¸®ÇÏ´Â CommandHandler¸¦ »ç¿ëÇÏ¿© Ŭ¶óÀ̾ðÆ®ÀÇ ¿äûÀ» ó¸®ÇÑ µÚ ±× °á°úÀÎ DefaultResult¸¦ ¸®ÅÏÇÑ´Ù. |
void |
reloadConfiguration()
¼³Á¤ ÆÄÀÏÀ» ¸®·ÎµùÇÑ´Ù. |
void |
reloadHandlerClasses()
Çڵ鷯 Ŭ·¡½º¸¦ À§ÇÑ µ¶¸³ÀûÀΠŬ·¡½º ÆÐ½º¸¦ »ç¿ëÇÏ´Â °æ¿ì, CommandHandlerFactory.reloadHandlerClasses() ¸Þ¼Òµå¸¦ È£ÃâÇÑ´Ù. |
Methods inherited from class tle.framework.component.impl.ComponentBase |
close, closing, getDescription, getID, getState, init, isClosed, isClosing, isCreated, isErrorOccured, isInited, isIniting, isResuming, isRunning, isStarting, isStopped, isStopping, isSuspended, isSuspending, resume, resuming, start, starting, stop, stopping, suspend, suspending |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface tle.framework.component.Component |
close, getID, init, isClosed, isClosing, isCreated, isErrorOccured, isInited, isIniting, isResuming, isRunning, isStarting, isStopped, isStopping, isSuspended, isSuspending, resume, start, stop, suspend |
Methods inherited from interface tle.framework.component.ComponentMBean |
getDescription, getID, getState |
Constructor Detail |
public DefaultRequestProcessor()
Method Detail |
public java.lang.String getConfigFilePath()
DefaultRequestProcessorMBean
getConfigFilePath
in interface DefaultRequestProcessorMBean
DefaultRequestProcessorMBean.getConfigFilePath()
public boolean isUsingHandlerIndependentClassPath()
DefaultRequestProcessorMBean
isUsingHandlerIndependentClassPath
in interface DefaultRequestProcessorMBean
DefaultRequestProcessorMBean.isUsingHandlerIndependentClassPath()
public java.lang.String[] getHandlerIndependentClassPath()
DefaultRequestProcessorMBean
getHandlerIndependentClassPath
in interface DefaultRequestProcessorMBean
DefaultRequestProcessorMBean.getHandlerIndependentClassPath()
public void reloadHandlerClasses()
reloadHandlerClasses
in interface DefaultRequestProcessorMBean
java.lang.UnsupportedOperationException
- µ¶¸³ÀûÀΠŬ·¡½º ÆÐ½º¸¦ »ç¿ëÇÏÁö ¾Ê´Â °É·Î ¼³Á¤µÇ¾î ÀÖ´Â °æ¿ì ¹ß»ýÇÑ´Ù.DefaultRequestProcessorMBean.reloadHandlerClasses()
public void reloadConfiguration() throws ComponentException
Çڵ鷯 Ŭ·¡½º ¸ñ·ÏÀ» ´Ù½Ã »ý¼ºÇÏ°í ¸í·É¾î¿Í Çڵ鷯 »çÀÌÀÇ ¸ÅÇÎ Á¤º¸µµ ´Ù½Ã »ý¼ºÇÑ´Ù.
reloadConfiguration
in interface DefaultRequestProcessorMBean
ComponentException
DefaultRequestProcessorMBean.reloadConfiguration()
protected void initing(ComponentConfig config) throws ComponentException
¼³Á¤ ÆÄÀÏÀÇ °æ·Î´Â configFile ÃʱâÈ ÆÄ¶ó¹ÌÅͷκÎÅÍ °¡Á®¿Â´Ù.
initing
in class ComponentBase
config
- ÄÄÆ÷³ÍÆ® ÃʱâÈ ¼³Á¤ Á¤º¸¸¦ ´ã°í ÀÖ´Â °´Ã¼
ComponentException
ComponentBase.initing(tle.framework.component.ComponentConfig)
public Result process(RequestInfo ri) throws ComponentException
CommandHandler´Â °¡±ÞÀûÀ̸é process() ¸Þ¼Òµå¿¡¼ Ŭ¶óÀ̾ðÆ®ÀÇ ¿äûÀ» ó¸®ÇÏ´Â °úÁ¤¿¡¼ ¹ß»ýÇÑ ¿¹¿ÜÀÇ °æ¿ì ¸®ÅÏÇÏ´Â Result¿¡ ¸í½ÃÇØÁÖ¾î¾ß ÇÏ¸ç ¿¹¿Ü¸¦ ¹ß»ý½ÃŰ¸é ¾È µÈ´Ù.
process
in interface RequestProcessor
ri
- ¿äû ºÐ¼® Á¤º¸
ComponentException
- ¸í·É¾î ID¿¡ ÇØ´çÇÏ´Â CommandHandler°¡ NoHandlerCommandHandlerÀÎ °æ¿ì¿¡ ¹ß»ýÇÑ´Ù.RequestProcessor.process(tle.framework.component.spi.ra.RequestInfo)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |