org.apache.openejb.assembler.util
Class UserEjb

java.lang.Object
  extended by org.apache.openejb.assembler.util.UserEjb
All Implemented Interfaces:
User

public class UserEjb
extends Object
implements User


Constructor Summary
UserEjb()
           
 
Method Summary
 void adminOnly()
           
 String getUserName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserEjb

public UserEjb()
Method Detail

adminOnly

@RolesAllowed(value="tomee-admin")
public void adminOnly()
Specified by:
adminOnly in interface User

getUserName

public String getUserName()
Specified by:
getUserName in interface User


Copyright © 1999-2012 The Apache Software Foundation. All Rights Reserved.