owner = findOrCreatePerson( r'Joe Soap' )
implementation = findOrCreateImplementation( r'Security Service' )
implementation.setClassName( r'com.xyz.security.SecurityServiceImpl' )
interface = findOrCreateInterface( r'Security Service' )
interface.setClassName( r'com.xyz.security.SecurityService' )
interface.setImplementations( [ implementation ] )
service = findOrCreateService( r'Security' )
service.setInterfaces( [ interface ] )
service.setOwner( owner )
Example 3: A script for updating the Security Service in the SOA.
Back to Article