1 package Moose::Meta::Role::Application;
8 our $AUTHORITY = 'cpan:STEVAN';
10 # no need to get fancy here ...
11 sub new { bless {} => (shift) }
16 $self->check_role_exclusions(@_);
17 $self->check_required_methods(@_);
19 $self->apply_attributes(@_);
20 $self->apply_methods(@_);
22 $self->apply_override_method_modifiers(@_);
24 $self->apply_before_method_modifiers(@_);
25 $self->apply_around_method_modifiers(@_);
26 $self->apply_after_method_modifiers(@_);
29 sub check_role_exclusions { die "Abstract Method" }
30 sub check_required_methods { die "Abstract Method" }
31 sub apply_attributes { die "Abstract Method" }
32 sub apply_methods { die "Abstract Method" }
33 sub apply_override_method_modifiers { die "Abstract Method" }
34 sub apply_method_modifiers { die "Abstract Method" }
35 sub apply_before_method_modifiers { die "Abstract Method" }
36 sub apply_around_method_modifiers { die "Abstract Method" }
37 sub apply_after_method_modifiers { die "Abstract Method" }
47 Moose::Meta::Role::Application
51 This is the abstract base class for role applications.
63 =item B<check_required_methods>
65 =item B<check_role_exclusions>
67 =item B<apply_attributes>
69 =item B<apply_methods>
71 =item B<apply_method_modifiers>
73 =item B<apply_before_method_modifiers>
75 =item B<apply_after_method_modifiers>
77 =item B<apply_around_method_modifiers>
79 =item B<apply_override_method_modifiers>
85 All complex software has bugs lurking in it, and this module is no
86 exception. If you find a bug please either email me, or add the bug
91 Stevan Little E<lt>stevan@iinteractive.comE<gt>
93 =head1 COPYRIGHT AND LICENSE
95 Copyright 2006, 2007 by Infinity Interactive, Inc.
97 L<http://www.iinteractive.com>
99 This library is free software; you can redistribute it and/or modify
100 it under the same terms as Perl itself.