com.mallory.application
Class MalloryApp

java.lang.Object
  extended by com.mallory.application.MalloryApp

@Service
public class MalloryApp
extends Object

This naughty service will attempt to do many things it is not allowed to do

Author:
jwells

Constructor Summary
MalloryApp()
           
 
Method Summary
 void doAnApprovedOperation()
          Mallory is allowed to call the AliceApp
 void tryToAdvertiseAService()
          Mallory cannot advertise the EvilService
 void tryToGetTheAuditServiceMyself()
          Mallory cannot however lookup the AuditService himself!
 void tryToInstantiateAServiceWithABadInjectionPoint()
          Tries to instantiate a service with an illegal injection point
 void tryToUnAdvertiseAService()
          Mallory cannot un-advertise ServiceLocator!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MalloryApp

public MalloryApp()
Method Detail

doAnApprovedOperation

public void doAnApprovedOperation()
Mallory is allowed to call the AliceApp


tryToGetTheAuditServiceMyself

public void tryToGetTheAuditServiceMyself()
Mallory cannot however lookup the AuditService himself!


tryToAdvertiseAService

public void tryToAdvertiseAService()
Mallory cannot advertise the EvilService


tryToUnAdvertiseAService

public void tryToUnAdvertiseAService()
Mallory cannot un-advertise ServiceLocator!


tryToInstantiateAServiceWithABadInjectionPoint

public void tryToInstantiateAServiceWithABadInjectionPoint()
Tries to instantiate a service with an illegal injection point



Copyright © 2013 Oracle Corporation. All Rights Reserved.