tle.framework.component.impl.aamanager
Interface ServiceManager

All Known Implementing Classes:
ServiceManagerImpl

public interface ServiceManager

¼­ºñ½º¸¦ Á¤º¸¸¦ °ü¸®ÇÏ´Â ¸Å´ÏÀú Ŭ·¡½º°¡ ±¸ÇöÇØÁÖ¾î¾ß ÇÒ ÀÎÅÍÆäÀ̽º.

Since:
2.0
Author:
ÃÖ¹ü±Õ

Method Summary
 Service getService(RequestInfo ri)
          ¿äû Á¤º¸¿¡ ÇØ´çÇÏ´Â Service °´Ã¼¸¦ ¸®ÅÏÇÑ´Ù.
 boolean hasGrant(Role role, Service service)
          Æ¯Á¤ ¿ªÇÒÀÌ ÁöÁ¤ÇÑ ¼­ºñ½º¸¦ »ç¿ëÇÒ ¼ö ÀÖ´Â ÁöÀÇ ¿©ºÎ¸¦ ¸®ÅÏÇÑ´Ù.
 void init(ComponentConfig config)
          ServiceManager¸¦ ÃʱâÈ­ÇÑ´Ù.
 void reloadConfiguration(ComponentConfig config)
          ¼­ºñ½º ¼³Á¤ Á¤º¸¸¦ ´Ù½Ã Àоî¿Â´Ù.
 

Method Detail

init

public void init(ComponentConfig config)
          throws AAManagerException
ServiceManager¸¦ ÃʱâÈ­ÇÑ´Ù.

Parameters:
config - ÄÄÆ÷³ÍÆ® ÃʱâÈ­ Á¤º¸
Throws:
AAManagerException

getService

public Service getService(RequestInfo ri)
                   throws AAManagerException
¿äû Á¤º¸¿¡ ÇØ´çÇÏ´Â Service °´Ã¼¸¦ ¸®ÅÏÇÑ´Ù.

Á¸ÀçÇÏÁö ¾ÊÀ» °æ¿ì nullÀ» ¸®ÅÏÇÑ´Ù.

Parameters:
ri - ¿äû Á¤º¸
Returns:
Service
Throws:
AAManagerException

hasGrant

public boolean hasGrant(Role role,
                        Service service)
                 throws AAManagerException
ƯÁ¤ ¿ªÇÒÀÌ ÁöÁ¤ÇÑ ¼­ºñ½º¸¦ »ç¿ëÇÒ ¼ö ÀÖ´Â ÁöÀÇ ¿©ºÎ¸¦ ¸®ÅÏÇÑ´Ù.

Parameters:
role - ¿ªÇÒ
service - ¼­ºñ½º
Returns:
¼­ºñ½º »ç¿ë °¡´ÉÇÑ °æ¿ì true
Throws:
AAManagerException

reloadConfiguration

public void reloadConfiguration(ComponentConfig config)
                         throws AAManagerException
¼­ºñ½º ¼³Á¤ Á¤º¸¸¦ ´Ù½Ã Àоî¿Â´Ù.

Parameters:
config - ÄÄÆ÷³ÍÆ® ÃʱâÈ­ Á¤º¸
Throws:
AAManagerException