Enviar pesquisa
Carregar
Interceptor
•
Transferir como KEY, PDF
•
0 gostou
•
472 visualizações
Kyungryul KIM
Seguir
INTERCEPTOR PATTERN[POSA2]
Leia menos
Leia mais
Tecnologia
Negócios
Denunciar
Compartilhar
Denunciar
Compartilhar
1 de 23
Baixar agora
Recomendados
Dependency injection
Dependency injection
Mindfire Solutions
Dependency Injection in Spring in 10min
Dependency Injection in Spring in 10min
Corneil du Plessis
Introduction to Spring's Dependency Injection
Introduction to Spring's Dependency Injection
Richard Paul
Struts2
Struts2
Scott Stanlick
Different Types of Containers in Spring
Different Types of Containers in Spring
Sunil kumar Mohanty
Types of containers
Types of containers
ihab tarek
Dependency injection
Dependency injection
housecor
J2EE Online Training
J2EE Online Training
Srihitha Technologies
Recomendados
Dependency injection
Dependency injection
Mindfire Solutions
Dependency Injection in Spring in 10min
Dependency Injection in Spring in 10min
Corneil du Plessis
Introduction to Spring's Dependency Injection
Introduction to Spring's Dependency Injection
Richard Paul
Struts2
Struts2
Scott Stanlick
Different Types of Containers in Spring
Different Types of Containers in Spring
Sunil kumar Mohanty
Types of containers
Types of containers
ihab tarek
Dependency injection
Dependency injection
housecor
J2EE Online Training
J2EE Online Training
Srihitha Technologies
Spring framework
Spring framework
Aircon Chen
Reactive Programmin
Reactive Programmin
Chieh Kai Yang
prdc10-tdd-patterns
prdc10-tdd-patterns
Amir Barylko
Using triz to make systems more reliable
Using triz to make systems more reliable
ASQ Reliability Division
Enforcing Behavioral Constraints in Evolving Aspect-Oriented Programs
Enforcing Behavioral Constraints in Evolving Aspect-Oriented Programs
Raffi Khatchadourian
C Languagel Classroom Training
C Languagel Classroom Training
Srihitha Technologies
QUESTNET2010 Talk on iLabs
QUESTNET2010 Talk on iLabs
The University of Queensland
Implement Checkpointing for Android
Implement Checkpointing for Android
National Cheng Kung University
Istio presentation jhug
Istio presentation jhug
Georgios Andrianakis
Xebia Knowledge Exchange (feb 2011) - Large Scale Web Development
Xebia Knowledge Exchange (feb 2011) - Large Scale Web Development
Michaël Figuière
6장 Thread Synchronization
6장 Thread Synchronization
김 한도
Design patterns - Singleton&Command
Design patterns - Singleton&Command
Kai Aras
HyperStudy 10 Training Manual
HyperStudy 10 Training Manual
AltairKorea
Hyper study 10.0
Hyper study 10.0
AltairKorea
Global Positioning System ++_Improved GPS using sensor data fusion
Global Positioning System ++_Improved GPS using sensor data fusion
anusheel nahar
Global Positioning System ++ : Improved GPS using sensor data fusion
Global Positioning System ++ : Improved GPS using sensor data fusion
controltrix
Android IPC Mechanism
Android IPC Mechanism
National Cheng Kung University
Build Java Web Application Using Apache Struts
Build Java Web Application Using Apache Struts
weili_at_slideshare
Java 8 selected updates
Java 8 selected updates
Vinay H G
Real world Scala hAkking NLJUG JFall 2011
Real world Scala hAkking NLJUG JFall 2011
Raymond Roestenburg
Ch4 pugixml
Ch4 pugixml
Kyungryul KIM
Node ch12
Node ch12
Kyungryul KIM
Mais conteúdo relacionado
Semelhante a Interceptor
Spring framework
Spring framework
Aircon Chen
Reactive Programmin
Reactive Programmin
Chieh Kai Yang
prdc10-tdd-patterns
prdc10-tdd-patterns
Amir Barylko
Using triz to make systems more reliable
Using triz to make systems more reliable
ASQ Reliability Division
Enforcing Behavioral Constraints in Evolving Aspect-Oriented Programs
Enforcing Behavioral Constraints in Evolving Aspect-Oriented Programs
Raffi Khatchadourian
C Languagel Classroom Training
C Languagel Classroom Training
Srihitha Technologies
QUESTNET2010 Talk on iLabs
QUESTNET2010 Talk on iLabs
The University of Queensland
Implement Checkpointing for Android
Implement Checkpointing for Android
National Cheng Kung University
Istio presentation jhug
Istio presentation jhug
Georgios Andrianakis
Xebia Knowledge Exchange (feb 2011) - Large Scale Web Development
Xebia Knowledge Exchange (feb 2011) - Large Scale Web Development
Michaël Figuière
6장 Thread Synchronization
6장 Thread Synchronization
김 한도
Design patterns - Singleton&Command
Design patterns - Singleton&Command
Kai Aras
HyperStudy 10 Training Manual
HyperStudy 10 Training Manual
AltairKorea
Hyper study 10.0
Hyper study 10.0
AltairKorea
Global Positioning System ++_Improved GPS using sensor data fusion
Global Positioning System ++_Improved GPS using sensor data fusion
anusheel nahar
Global Positioning System ++ : Improved GPS using sensor data fusion
Global Positioning System ++ : Improved GPS using sensor data fusion
controltrix
Android IPC Mechanism
Android IPC Mechanism
National Cheng Kung University
Build Java Web Application Using Apache Struts
Build Java Web Application Using Apache Struts
weili_at_slideshare
Java 8 selected updates
Java 8 selected updates
Vinay H G
Real world Scala hAkking NLJUG JFall 2011
Real world Scala hAkking NLJUG JFall 2011
Raymond Roestenburg
Semelhante a Interceptor
(20)
Spring framework
Spring framework
Reactive Programmin
Reactive Programmin
prdc10-tdd-patterns
prdc10-tdd-patterns
Using triz to make systems more reliable
Using triz to make systems more reliable
Enforcing Behavioral Constraints in Evolving Aspect-Oriented Programs
Enforcing Behavioral Constraints in Evolving Aspect-Oriented Programs
C Languagel Classroom Training
C Languagel Classroom Training
QUESTNET2010 Talk on iLabs
QUESTNET2010 Talk on iLabs
Implement Checkpointing for Android
Implement Checkpointing for Android
Istio presentation jhug
Istio presentation jhug
Xebia Knowledge Exchange (feb 2011) - Large Scale Web Development
Xebia Knowledge Exchange (feb 2011) - Large Scale Web Development
6장 Thread Synchronization
6장 Thread Synchronization
Design patterns - Singleton&Command
Design patterns - Singleton&Command
HyperStudy 10 Training Manual
HyperStudy 10 Training Manual
Hyper study 10.0
Hyper study 10.0
Global Positioning System ++_Improved GPS using sensor data fusion
Global Positioning System ++_Improved GPS using sensor data fusion
Global Positioning System ++ : Improved GPS using sensor data fusion
Global Positioning System ++ : Improved GPS using sensor data fusion
Android IPC Mechanism
Android IPC Mechanism
Build Java Web Application Using Apache Struts
Build Java Web Application Using Apache Struts
Java 8 selected updates
Java 8 selected updates
Real world Scala hAkking NLJUG JFall 2011
Real world Scala hAkking NLJUG JFall 2011
Mais de Kyungryul KIM
Ch4 pugixml
Ch4 pugixml
Kyungryul KIM
Node ch12
Node ch12
Kyungryul KIM
11.scripting
11.scripting
Kyungryul KIM
32 osx app_release
32 osx app_release
Kyungryul KIM
Meteor ddp
Meteor ddp
Kyungryul KIM
Cocos2dx 7.1-7.2
Cocos2dx 7.1-7.2
Kyungryul KIM
Cocos2 d x-7.3_4
Cocos2 d x-7.3_4
Kyungryul KIM
Cocos2d x-ch5-1
Cocos2d x-ch5-1
Kyungryul KIM
Coco2d x
Coco2d x
Kyungryul KIM
23 drag drop
23 drag drop
Kyungryul KIM
Hadoop ch5
Hadoop ch5
Kyungryul KIM
전문검색기술도전
전문검색기술도전
Kyungryul KIM
Nib_NSWindowController
Nib_NSWindowController
Kyungryul KIM
Dsas
Dsas
Kyungryul KIM
서버인프라를지탱하는기술5 1 2
서버인프라를지탱하는기술5 1 2
Kyungryul KIM
Chaper24 languages high_and_low
Chaper24 languages high_and_low
Kyungryul KIM
Ch22 운영체제
Ch22 운영체제
Kyungryul KIM
Mibis ch20
Mibis ch20
Kyungryul KIM
Mibis ch15
Mibis ch15
Kyungryul KIM
Mibis ch8
Mibis ch8
Kyungryul KIM
Mais de Kyungryul KIM
(20)
Ch4 pugixml
Ch4 pugixml
Node ch12
Node ch12
11.scripting
11.scripting
32 osx app_release
32 osx app_release
Meteor ddp
Meteor ddp
Cocos2dx 7.1-7.2
Cocos2dx 7.1-7.2
Cocos2 d x-7.3_4
Cocos2 d x-7.3_4
Cocos2d x-ch5-1
Cocos2d x-ch5-1
Coco2d x
Coco2d x
23 drag drop
23 drag drop
Hadoop ch5
Hadoop ch5
전문검색기술도전
전문검색기술도전
Nib_NSWindowController
Nib_NSWindowController
Dsas
Dsas
서버인프라를지탱하는기술5 1 2
서버인프라를지탱하는기술5 1 2
Chaper24 languages high_and_low
Chaper24 languages high_and_low
Ch22 운영체제
Ch22 운영체제
Mibis ch20
Mibis ch20
Mibis ch15
Mibis ch15
Mibis ch8
Mibis ch8
Último
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
Antenna Manufacturer Coco
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
Rafal Los
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
apidays
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
Puma Security, LLC
Slack Application Development 101 Slides
Slack Application Development 101 Slides
praypatel2
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Igalia
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
Pixlogix Infotech
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
Malak Abu Hammad
How to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
naman860154
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
HampshireHUG
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Miguel Araújo
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
wesley chun
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
Gabriella Davis
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
debabhi2
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
The Digital Insurer
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
Delhi Call girls
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
Khem
🐬 The future of MySQL is Postgres 🐘
🐬 The future of MySQL is Postgres 🐘
RTylerCroy
Último
(20)
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
Slack Application Development 101 Slides
Slack Application Development 101 Slides
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
How to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
🐬 The future of MySQL is Postgres 🐘
🐬 The future of MySQL is Postgres 🐘
Interceptor
1.
Interceptor
2.
Interceptor •
. • .
3.
MiddleORB
4.
. •
.
5.
Context •
(transparently)
6.
Problem • Intergration. • No
affect. • Monitor and Control.
7.
Solution
8.
Structure - Concrete framework
9.
Interceptor • Concrete Framework
. • Hook method • Concrete Interceptor
10.
Interceptor
register remove Interceptor Dispatcher callback Concrete Framework
11.
Interceptor
Context Object Concrete Interceptor accessor Framework mutator
12.
Dispatcher • Concrete Interceptor
, . • (Dispatch)
13.
Context Object • Concrete
Framework . • Concrete Framework .
14.
Solution
15.
16.
Implementation
17.
Interceptor points •
.(logging, changing parameters)
18.
19.
Example - Load balancing
20.
Variants - Interceptor Proxy
21.
Known Uses - Component-based
application servers
22.
Benefits •
. • Separation of concerns. • . • (Layer symmetry) • .
23.
Liabilities •
. • Malicious or erroneous interceptors. • Potential interception cascades.
Notas do Editor
\n
\n
브로커패턴으로 object request broker(ORB)를 구현. \n분산 어플리케이션을 구현하는데 편의를 제공하는 서비스 개발.\n통신 서비스(연결 관리, 프로토콜)를 제공.\n이외 트랜젝션, 로깅, 비표준 통신(공유 메모리), 모니터링, 디버깅.\n
\n
\n
프레임워크는 코어 아키텍쳐의 수정 없이 서비스를 추가할 수 있어야 한다.\n프레임워크에 어플리케이션 레벨 서비스의 통합할 경우 기존 프레임워크 컴포넌트에 영향을 끼쳐서는 안된다.\n어플리케이션이 자신의 동작을 제어하고 모니터링할 수 있어야 한다.\n
\n
이벤트 처리.\n
concreate interceptor 는 interceptor 인터페이스를 구현한다(specialize)\n프레임워크에서 발생하는 이벤트를 처리하기 위한 hook method를 구현한다.\n
\n
context object : framework 접근과 제어에 사용. 이벤트관련 정보 포함.\naccessor methods : framework로 부터 정보 획득.\nmutator methods : framework의 행위 제어.\n
\n
\n
interceptor 상속 받은 concrete interceptor 구현.\ninterceptor를 dispatcher에 등록. iterator pattern.\nconcrete framework는 컨텍스트 생성/dispatcher에게 알림.\n
\n
상태 머신은 필요한 interceptor의 식별하게 하고, concrete framework 의 행위를 정위하는데 도움이 된다.\n
\n
\n
\n
Proxy에서 부가적인 작업을 수행한다.\n
특별한 concrete 프레임워크(컨테이너)를 통해 기반 서비스(트랜잭션, 시큐리티, persistence)를 구현하지 않는다.\n
확장성과 유연성-concrete framework를 수정없이 추가,수정,제거할 수 있다.\nSeparation of concerns - interceptor를 기존 어플에 영향을 주지않고 투명하게 추가할 수 있다. 개발자는 로직에만 전념할 수 있다.\n모니터링/제어 - 관리자툴, 디버거, 로드 밸런싱, fault tolerance.\n대치 레이어-클라이언트/서버 각각의 interceptor 구현.\nresuablility-interceptor를 재 사용할 수 있다.\n\n\n
erroneous interceptors-timeout\ninterception cascades-concrete framework의 새로운 이벤트를 발생시키는 행위 변경하는것은 시스템 퍼포먼스 낮추고 데드락을 가능성을 만든다.\n
Baixar agora